summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2007-01-21 07:14:37 +0000
committerKeri Harris <keri@gentoo.org>2007-01-21 07:14:37 +0000
commit98d64210bb031f3d294df83e4a48f3356c572a4d (patch)
tree57ac1824a8c1dbcf8a456b86fe5bec1e47f18043 /dev-lang
parentRemove obsolete 0.8.x series, now 0.9.3 is stable. (diff)
downloadgentoo-2-98d64210bb031f3d294df83e4a48f3356c572a4d.tar.gz
gentoo-2-98d64210bb031f3d294df83e4a48f3356c572a4d.tar.bz2
gentoo-2-98d64210bb031f3d294df83e4a48f3356c572a4d.zip
Ensure AC_HEADER_STDC succeeds in single-threaded invocation.
(Portage version: 2.1.2-r1)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/yap/ChangeLog5
-rw-r--r--dev-lang/yap/files/yap-5.1.1-configure.patch27
2 files changed, 26 insertions, 6 deletions
diff --git a/dev-lang/yap/ChangeLog b/dev-lang/yap/ChangeLog
index b546f0d25567..97f72d1392ef 100644
--- a/dev-lang/yap/ChangeLog
+++ b/dev-lang/yap/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/yap
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.10 2007/01/20 23:29:51 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.11 2007/01/21 07:14:36 keri Exp $
+
+ 21 Jan 2007; keri <keri@gentoo.org> files/yap-5.1.1-configure.patch:
+ Ensure AC_HEADER_STDC succeeds in single-threaded invocation.
20 Jan 2007; keri <keri@gentoo.org> yap-5.1.1.ebuild:
Add ~amd64 to KEYWORDS
diff --git a/dev-lang/yap/files/yap-5.1.1-configure.patch b/dev-lang/yap/files/yap-5.1.1-configure.patch
index b55a7309484e..5673b5f7afa4 100644
--- a/dev-lang/yap/files/yap-5.1.1-configure.patch
+++ b/dev-lang/yap/files/yap-5.1.1-configure.patch
@@ -1,5 +1,5 @@
--- Yap-5.1.1.orig/configure.in 2006-03-21 07:51:42.000000000 +1200
-+++ Yap-5.1.1/configure.in 2006-04-23 11:03:02.000000000 +1200
++++ Yap-5.1.1/configure.in 2007-01-21 18:59:06.000000000 +1300
@@ -50,7 +50,7 @@
[ --enable-threads support system threads ],
threads="$enableval", threads=no)
@@ -58,7 +58,16 @@
dnl threads=yes
elif test "$withval" = no; then
yap_cv_jpl=no
-@@ -390,7 +401,7 @@
+@@ -338,6 +349,8 @@
+ AC_PATH_PROG(INSTALL_INFO,install-info,true,$PATH:/sbin:/usr/sbin:/usr/etc:/usr/local/sbin)
+ AC_PATH_PROG(SHELL,sh)
+
++AC_HEADER_STDC
++
+ dnl Check for libraries.
+ dnl mingw does not get along well with libm
+ dnl cygnus and mingw32 also need wsock32 to use sockets.
+@@ -390,7 +403,7 @@
AC_CHECK_LIB(gmp,main)
fi
@@ -67,7 +76,7 @@
then
dnl check for mysql
AC_MSG_CHECKING(for main in -lmysqlclient)
-@@ -409,7 +420,24 @@
+@@ -409,7 +422,24 @@
YAP_EXTRAS="$YAP_EXTRAS -DMYDDAS_MYSQL"
LIBS="$LIBS -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv "
fi
@@ -93,7 +102,7 @@
dnl check for odbc
AC_MSG_CHECKING(for main in -lodbc)
AC_CACHE_VAL(yap_odbc,[
-@@ -428,40 +456,21 @@
+@@ -428,40 +458,21 @@
YAP_EXTRAS="$YAP_EXTRAS -DMYDDAS_ODBC"
LIBS="$LIBS -lodbc "
fi
@@ -138,7 +147,15 @@
if test "$myddasstats" = "yes"
then
-@@ -850,7 +859,7 @@
+@@ -831,7 +842,6 @@
+ fi
+
+ dnl Checks for header files.
+-AC_HEADER_STDC
+ AC_HEADER_SYS_WAIT
+ AC_CHECK_HEADERS(arpa/inet.h ctype.h direct.h dirent.h dlfcn.h)
+ AC_CHECK_HEADERS(errno.h fcntl.h)
+@@ -850,7 +860,7 @@
then
AC_CHECK_HEADERS(gmp.h)
fi