freebsd-ports/graphics/hpoj/files/patch-mlcd-ParPort.h
Volker Stolz 4d6d4458d9 - Solve ffs()-clash on -CURRENT [1]
- Fix build issue: 5.1 is OSVERSION 501000, not 510000
- Use OPTIONS
- Make SNMP optional (suggested by: Anatoly Zaytman)
- Make QT-dependency optional, off by default

PR:		ports/64945 [1]
Submitted by:	Marco Molteni
Approved by:	linimon (mentor)
2004-05-04 21:35:25 +00:00

13 lines
326 B
C

--- mlcd/ParPort.h.orig Tue Mar 30 18:42:02 2004
+++ mlcd/ParPort.h Tue Mar 30 18:51:23 2004
@@ -32,6 +32,10 @@
#include <unistd.h>
#include <fcntl.h>
extern "C" {
+ #undef fls
+ #define fls iamdirtybutloved
+ #undef ffs__ParPort
+ #define ffs__ParPort iamdirtybutfancied
#include <machine/cpufunc.h>
}
#else