]> git.pld-linux.org Git - packages/liboil.git/commitdiff
-removed liboil-fixes.patch as not needed
authorPaweł Cyranek <pawel.cyranek@gmail.com>
Thu, 13 Jan 2005 14:29:42 +0000 (14:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    liboil-fixes.patch -> 1.3

liboil-fixes.patch [deleted file]

diff --git a/liboil-fixes.patch b/liboil-fixes.patch
deleted file mode 100644 (file)
index 1ec162f..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
---- liboil-0.2.1/liboil/liboilcpu.c.orig       2004-09-03 23:39:10.000000000 +0200
-+++ liboil-0.2.1/liboil/liboilcpu.c    2004-11-21 15:48:43.000000000 +0100
-@@ -44,6 +44,7 @@
-   int fd;
-   int n;
-+  if (cpuinfo == NULL) return NULL;
-   fd = open("/proc/cpuinfo", O_RDONLY);
-   if (fd < 0) return NULL;
-@@ -64,9 +65,13 @@
-   char **f;
-   cpuinfo = get_cpuinfo();
-+  if (cpuinfo == NULL) return;
-   cpuinfo_flags = get_cpuinfo_flags_string(cpuinfo);
--  if (cpuinfo_flags == NULL) return;
-+  if (cpuinfo_flags == NULL) {
-+    free(cpuinfo);
-+    return;
-+  }
-   flags = strsplit(cpuinfo_flags);
-   for (f = flags; *f; f++) {
This page took 0.135572 seconds and 4 git commands to generate.