mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Add patch-2.6.1, make-3.81, and diffutils-2.9
This commit is contained in:
14
sys-apps/diffutils/patches/diffutils-2.9.patch
Normal file
14
sys-apps/diffutils/patches/diffutils-2.9.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff -up diffutils-2.9/lib/verify.h.orig diffutils-2.9/lib/verify.h
|
||||
--- diffutils-2.9/lib/verify.h.orig 2010-04-18 13:06:04.590872576 -0600
|
||||
+++ diffutils-2.9/lib/verify.h 2010-04-18 13:08:52.910163968 -0600
|
||||
@@ -135,6 +135,10 @@ template <int w>
|
||||
/* Verify requirement R at compile-time, as a declaration without a
|
||||
trailing ';'. */
|
||||
|
||||
+# if __GNUC__ == 2
|
||||
+# define verify(R)
|
||||
+# else
|
||||
# define verify(R) extern int (* verify_function__ (void)) [verify_true (R)]
|
||||
+# endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user