mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
patch to allow Haiku to run gperf's make check tests
This commit is contained in:
12
dev-util/gperf/gperf-3.0.4-haiku.diff
Normal file
12
dev-util/gperf/gperf-3.0.4-haiku.diff
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -urN gperf-3.0.4/tests/test2.c gperf-3.0.4-haiku/tests/test2.c
|
||||
--- gperf-3.0.4/tests/test2.c 2009-06-25 12:10:46.000000000 +0000
|
||||
+++ gperf-3.0.4-haiku/tests/test2.c 2009-06-25 12:08:34.000000000 +0000
|
||||
@@ -11,7 +11,7 @@
|
||||
#if !defined O_BINARY && defined _O_BINARY
|
||||
# define O_BINARY _O_BINARY
|
||||
#endif
|
||||
-#ifdef __BEOS__
|
||||
+#if defined __BEOS__ || defined __HAIKU__
|
||||
# undef O_BINARY
|
||||
#endif
|
||||
#if O_BINARY
|
||||
Reference in New Issue
Block a user