mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Add patch-2.6.1, make-3.81, and diffutils-2.9
This commit is contained in:
17
sys-apps/diffutils/diffutils-2.9.bep
Normal file
17
sys-apps/diffutils/diffutils-2.9.bep
Normal 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
|
||||
}
|
||||
5
sys-apps/diffutils/diffutils.OptionalPackageDescription
Normal file
5
sys-apps/diffutils/diffutils.OptionalPackageDescription
Normal 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/
|
||||
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