aboutsummaryrefslogtreecommitdiffstats
path: root/devel/liboil/files/patch-liboil_liboilcpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/liboil/files/patch-liboil_liboilcpu.c')
-rw-r--r--devel/liboil/files/patch-liboil_liboilcpu.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/liboil/files/patch-liboil_liboilcpu.c b/devel/liboil/files/patch-liboil_liboilcpu.c
new file mode 100644
index 000000000000..a7f287bc0fc9
--- /dev/null
+++ b/devel/liboil/files/patch-liboil_liboilcpu.c
@@ -0,0 +1,10 @@
+--- liboil/liboilcpu.c.orig Sun Nov 28 13:15:12 2004
++++ liboil/liboilcpu.c Sun Nov 28 13:15:41 2004
+@@ -64,6 +64,7 @@
+ char **f;
+
+ cpuinfo = get_cpuinfo();
++ if (cpuinfo == NULL) return;
+
+ cpuinfo_flags = get_cpuinfo_flags_string(cpuinfo);
+ if (cpuinfo_flags == NULL) return;