freebsd-ports/devel/liboil/files/patch-liboil_liboilcpu.c
Koop Mast 2c6ac14ece Add liboil a library of simple functions that are optimized for various CPUs.
These functions are generally loops implementing simple algorithmes.

Grab maintainer-ship

PR:		74361
Submitted by:	ijliao
Approved by:	pav (mentor)
2004-11-28 18:46:47 +00:00

10 lines
288 B
C

--- 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;