From 51324b4394430e798ba637c7241d44ad21a2beec Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 19 Jul 2010 06:06:50 +0000 Subject: [PATCH] Update global to 5.9.1 --- dev-util/global/global-5.9.1.bep | 21 ++++++++++++++++++ dev-util/global/patches/global-5.9.1.patch | 25 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-util/global/global-5.9.1.bep create mode 100644 dev-util/global/patches/global-5.9.1.patch diff --git a/dev-util/global/global-5.9.1.bep b/dev-util/global/global-5.9.1.bep new file mode 100644 index 000000000..4a89f4f80 --- /dev/null +++ b/dev-util/global/global-5.9.1.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.1.tar.gz" +CHECKSUM_MD5="eaeba27e23f9a0518c4ce66f4797accf" +REVISION="1" +STATUS_HAIKU="stable" +DEPEND="" +BUILD { + cd global-5.9.1 + autoreconf -fi + ./configure --prefix=/boot/common --with-exuberant-ctags=/bin/ctags --with-posix-sort=/bin/sort + make +} + +INSTALL { + cd global-5.9.1 + make install +} +LICENSE="GNU GPL v3" +COPYRIGHT="2000-2010 Tama Communications Corporation + 2007-2010 Free Software Foundation, Inc." diff --git a/dev-util/global/patches/global-5.9.1.patch b/dev-util/global/patches/global-5.9.1.patch new file mode 100644 index 000000000..4e107028b --- /dev/null +++ b/dev-util/global/patches/global-5.9.1.patch @@ -0,0 +1,25 @@ +diff -up global-5.9.1/configure.ac.orig global-5.9.1/configure.ac +--- global-5.9.1/configure.ac.orig 2010-07-18 23:28:56.009175040 -0600 ++++ global-5.9.1/configure.ac 2010-07-18 23:59:03.300941312 -0600 +@@ -57,7 +57,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.1/libdb/db.h.orig global-5.9.1/libdb/db.h +--- global-5.9.1/libdb/db.h.orig 2010-07-18 23:28:56.033292288 -0600 ++++ global-5.9.1/libdb/db.h 2010-07-18 23:59:03.303824896 -0600 +@@ -40,6 +40,9 @@ + #ifdef HAVE_UNISTD_H + #include + #endif ++#ifdef HAVE_STDINT_H ++#include ++#endif + + #include "compat.h" +