From b836d52673338de62501aed8a0c53f7e466e9bd8 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Sat, 14 May 2011 19:28:18 +0000 Subject: [PATCH] Update gnu global to 5.9.4 --- dev-util/global/global-5.9.4.bep | 21 ++++++++++++++++++ dev-util/global/patches/global-5.9.4.patch | 25 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-util/global/global-5.9.4.bep create mode 100644 dev-util/global/patches/global-5.9.4.patch diff --git a/dev-util/global/global-5.9.4.bep b/dev-util/global/global-5.9.4.bep new file mode 100644 index 000000000..4bb76dd84 --- /dev/null +++ b/dev-util/global/global-5.9.4.bep @@ -0,0 +1,21 @@ +DESCRIPTION="GNU Global is a source code tagging system." +HOMEPAGE="http://www.gnu.org/software/global/" +SRC_URI="http://ftp.gnu.org/pub/gnu/global/global-5.9.4.tar.gz" +CHECKSUM_MD5="6f715170a124093a3ac8f45ee286d85a" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +BUILD { + cd global-5.9.4 + autoreconf -fi + ./configure --prefix=`finddir B_COMMON_DIRECTORY` --with-exuberant-ctags=/bin/ctags --with-posix-sort=/bin/sort + make +} + +INSTALL { + cd global-5.9.4 + make install +} +LICENSE="GNU GPL v3" +COPYRIGHT="2000-2011 Tama Communications Corporation + 2007-2011 Free Software Foundation, Inc." diff --git a/dev-util/global/patches/global-5.9.4.patch b/dev-util/global/patches/global-5.9.4.patch new file mode 100644 index 000000000..bbbcd7088 --- /dev/null +++ b/dev-util/global/patches/global-5.9.4.patch @@ -0,0 +1,25 @@ +diff -up global-5.9.4/configure.ac.orig global-5.9.4/configure.ac +--- global-5.9.4/configure.ac.orig 2011-03-08 01:44:16.013369344 -0700 ++++ global-5.9.4/configure.ac 2011-05-14 13:25:30.769392640 -0600 +@@ -58,7 +58,7 @@ LTDL_INIT([recursive]) + dnl Checks for libraries. + + dnl Checks for header files. +-AC_CHECK_HEADERS(limits.h string.h unistd.h stdarg.h sys/time.h fcntl.h) ++AC_CHECK_HEADERS(limits.h string.h unistd.h stdarg.h stdint.h sys/time.h fcntl.h) + AC_CHECK_HEADERS(sys/resource.h) + AC_HEADER_DIRENT + if test ${ac_header_dirent} = no; then +diff -up global-5.9.4/libdb/db.h.orig global-5.9.4/libdb/db.h +--- global-5.9.4/libdb/db.h.orig 2011-03-08 01:44:16.037486592 -0700 ++++ global-5.9.4/libdb/db.h 2011-05-14 13:25:30.770703360 -0600 +@@ -40,6 +40,9 @@ + #ifdef HAVE_UNISTD_H + #include + #endif ++#ifdef HAVE_STDINT_H ++#include ++#endif + + #include "compat.h" +