Update global to 5.8.2

This commit is contained in:
Chris Roberts
2010-05-23 07:58:33 +00:00
parent af2516811e
commit 61a459d6b6
2 changed files with 46 additions and 0 deletions

View File

@@ -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.8.2.tar.gz"
CHECKSUM_MD5="380a496cbe24263a80eb895f87b7c7f4"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd global-5.8.2
autoreconf -fi
./configure --prefix=/boot/common --with-exuberant-ctags=/bin/ctags
make
}
INSTALL {
cd global-5.8.2
make install
}
LICENSE="GNU GPL v3"
COPYRIGHT="2000-2007 Tama Communications Corporation
2007-2010 Free Software Foundation, Inc."

View File

@@ -0,0 +1,25 @@
diff -up global-5.8.2/configure.ac.orig global-5.8.2/configure.ac
--- global-5.8.2/configure.ac.orig 2010-05-23 01:40:56.774635520 -0600
+++ global-5.8.2/configure.ac 2010-05-23 01:41:23.901775360 -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.8.2/libdb/db.h.orig global-5.8.2/libdb/db.h
--- global-5.8.2/libdb/db.h.orig 2010-05-23 01:42:09.494665728 -0600
+++ global-5.8.2/libdb/db.h 2010-05-23 01:42:55.554434560 -0600
@@ -40,6 +40,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#include "compat.h"