Add patch-2.6.1, make-3.81, and diffutils-2.9

This commit is contained in:
Chris Roberts
2010-04-18 19:48:29 +00:00
parent 84499aa769
commit 4df89186c3
8 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
DESCRIPTION="Tools to make diffs and compare files."
HOMEPAGE="http://www.gnu.org/software/diffutils/"
SRC_URI="http://ftp.gnu.org/pub/gnu/diffutils/diffutils-2.9.tar.gz"
CHECKSUM_MD5="d6bc1bdc874ddb14cfed4d1655a0dbbe"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd diffutils-2.9
./configure --prefix=/boot/common
make
}
INSTALL {
cd diffutils-2.9
make install
}

View File

@@ -0,0 +1,5 @@
Package: diffutils
Version: 2.9
Copyright: 1992-2010 Free Software Foundation, Inc.
License: GNU GPL v3
URL: http://www.gnu.org/software/diffutils/

View 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