diff --git a/sys-apps/diffutils/diffutils-2.9.bep b/sys-apps/diffutils/diffutils-2.9.bep new file mode 100644 index 000000000..4c2338dae --- /dev/null +++ b/sys-apps/diffutils/diffutils-2.9.bep @@ -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 +} diff --git a/sys-apps/diffutils/diffutils.OptionalPackageDescription b/sys-apps/diffutils/diffutils.OptionalPackageDescription new file mode 100644 index 000000000..9ac982228 --- /dev/null +++ b/sys-apps/diffutils/diffutils.OptionalPackageDescription @@ -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/ diff --git a/sys-apps/diffutils/patches/diffutils-2.9.patch b/sys-apps/diffutils/patches/diffutils-2.9.patch new file mode 100644 index 000000000..9b2d130fd --- /dev/null +++ b/sys-apps/diffutils/patches/diffutils-2.9.patch @@ -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 + /* 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 diff --git a/sys-devel/make/make-3.81.bep b/sys-devel/make/make-3.81.bep new file mode 100644 index 000000000..41c6e31fe --- /dev/null +++ b/sys-devel/make/make-3.81.bep @@ -0,0 +1,18 @@ +DESCRIPTION="Standard tool to compile source trees." +HOMEPAGE="http://www.gnu.org/software/make/" +SRC_URI="http://ftp.gnu.org/pub/gnu/make/make-3.81.tar.bz2" +CHECKSUM_MD5="354853e0b2da90c527e35aabb8d6f1e6" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +BUILD { + cd make-3.81 + libtoolize -fci + ./configure --prefix=/boot/common + make +} + +INSTALL { + cd make-3.81 + make install +} diff --git a/sys-devel/make/make.OptionalPackageDescription b/sys-devel/make/make.OptionalPackageDescription new file mode 100644 index 000000000..f6312d970 --- /dev/null +++ b/sys-devel/make/make.OptionalPackageDescription @@ -0,0 +1,5 @@ +Package: make +Version: 3.81 +Copyright: 1988-2006 Free Software Foundation, Inc. +License: GNU GPL v2 +URL: http://www.gnu.org/software/make/ diff --git a/sys-devel/make/patches/make-3.81.patch b/sys-devel/make/patches/make-3.81.patch new file mode 100644 index 000000000..e8ce9e72a --- /dev/null +++ b/sys-devel/make/patches/make-3.81.patch @@ -0,0 +1,12 @@ +diff -up make-3.81/arscan.c.orig make-3.81/arscan.c +--- make-3.81/arscan.c.orig 2010-04-18 13:33:16.283901952 -0600 ++++ make-3.81/arscan.c 2010-04-18 13:34:10.106168320 -0600 +@@ -231,7 +231,7 @@ ar_scan (char *archive, long int (*funct + #endif + + #ifndef WINDOWS32 +-# ifndef __BEOS__ ++# if !defined(__BEOS__) && !defined(__HAIKU__) + # include + # else + /* BeOS 5 doesn't have but has archives in the same format diff --git a/sys-devel/patch/patch-2.6.1.bep b/sys-devel/patch/patch-2.6.1.bep new file mode 100644 index 000000000..df83e43c7 --- /dev/null +++ b/sys-devel/patch/patch-2.6.1.bep @@ -0,0 +1,17 @@ +DESCRIPTION="Utility to apply diffs to files." +HOMEPAGE="http://www.gnu.org/software/patch/" +SRC_URI="http://ftp.gnu.org/pub/gnu/patch/patch-2.6.1.tar.bz2" +CHECKSUM_MD5="0818d1763ae0c4281bcdc63cdac0b2c0" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +BUILD { + cd patch-2.6.1 + ./configure --prefix=/boot/common + make +} + +INSTALL { + cd patch-2.6.1 + make install +} diff --git a/sys-devel/patch/patch.OptionalPackageDescription b/sys-devel/patch/patch.OptionalPackageDescription new file mode 100644 index 000000000..b0670c929 --- /dev/null +++ b/sys-devel/patch/patch.OptionalPackageDescription @@ -0,0 +1,5 @@ +Package: patch +Version: 2.6.1 +Copyright: 1989-2009 Free Software Foundation, Inc. +License: GNU GPL v3 +URL: http://www.gnu.org/software/patch/