summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-06-21 06:27:49 +0000
committerPeter Volkov <pva@gentoo.org>2008-06-21 06:27:49 +0000
commitb139dc46164855de12b15c503cfbba66bbcf766e (patch)
tree54fdc8fade846d134dbc385dd30650a230fdab15 /sys-devel/autoconf/files
parentcorrect email address of Ken (diff)
downloadgentoo-2-b139dc46164855de12b15c503cfbba66bbcf766e.tar.gz
gentoo-2-b139dc46164855de12b15c503cfbba66bbcf766e.tar.bz2
gentoo-2-b139dc46164855de12b15c503cfbba66bbcf766e.zip
Fixed getmntent issue in 2.61, bug #227603. Dropped stable mips.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-devel/autoconf/files')
-rw-r--r--sys-devel/autoconf/files/autoconf-2.61-GETMNTENT.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-devel/autoconf/files/autoconf-2.61-GETMNTENT.patch b/sys-devel/autoconf/files/autoconf-2.61-GETMNTENT.patch
new file mode 100644
index 000000000000..7cdc425e0396
--- /dev/null
+++ b/sys-devel/autoconf/files/autoconf-2.61-GETMNTENT.patch
@@ -0,0 +1,23 @@
+From: Paul Eggert <eggert@cs.ucla.edu>
+Date: Sat, 16 Dec 2006 05:38:41 +0000 (+0000)
+Subject: * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
+X-Git-Tag: v2.62~386
+X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff_plain;h=a152d401584cd901f7295647af0382948369de79
+
+* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
+Define HAVE_GETMNTENT to 1, not to the empty string.
+Problem originally reported by Jochen Friedrich in
+<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
+---
+
+--- a/lib/autoconf/functions.m4
++++ b/lib/autoconf/functions.m4
+@@ -798,7 +798,7 @@ AC_DEFUN([AC_FUNC_GETMNTENT],
+ # -lseq on Dynix/PTX, -lgen on Unixware.
+ AC_SEARCH_LIBS(getmntent, [sun seq gen],
+ [ac_cv_func_getmntent=yes
+- AC_DEFINE([HAVE_GETMNTENT], [],
++ AC_DEFINE([HAVE_GETMNTENT], 1,
+ [Define to 1 if you have the `getmntent' function.])],
+ [ac_cv_func_getmntent=no])
+ ])