summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2003-10-16 15:54:19 +0000
committerDaniel Robbins <drobbins@gentoo.org>2003-10-16 15:54:19 +0000
commitff36ec50458a134c1460a9a3485f9f9c14671cfd (patch)
treee6465934faaabd3ac8f9e3412a023feca0b665f9 /net-fs/am-utils/files
parentnew version that compiles on amd64 (gdbm compile fix patch) (diff)
downloadgentoo-2-ff36ec50458a134c1460a9a3485f9f9c14671cfd.tar.gz
gentoo-2-ff36ec50458a134c1460a9a3485f9f9c14671cfd.tar.bz2
gentoo-2-ff36ec50458a134c1460a9a3485f9f9c14671cfd.zip
new version that compiles on amd64 (gdbm compile fix patch)
Diffstat (limited to 'net-fs/am-utils/files')
-rw-r--r--net-fs/am-utils/files/am-utils-gdbm.patch48
-rw-r--r--net-fs/am-utils/files/digest-am-utils-6.0.9-r11
2 files changed, 49 insertions, 0 deletions
diff --git a/net-fs/am-utils/files/am-utils-gdbm.patch b/net-fs/am-utils/files/am-utils-gdbm.patch
new file mode 100644
index 000000000000..e3f9f2431ad8
--- /dev/null
+++ b/net-fs/am-utils/files/am-utils-gdbm.patch
@@ -0,0 +1,48 @@
+--- am-utils-6.0.8/include/am_defs.h.sopwith 2002-12-11 16:18:36.000000000 -0500
++++ am-utils-6.0.8/include/am_defs.h 2002-12-11 16:20:14.000000000 -0500
+@@ -327,19 +327,20 @@
+ */
+ #ifdef HAVE_NDBM_H
+ # include <ndbm.h>
+-# ifndef DATUM
++# define HAVE_NDBM
++#elif defined(HAVE_GDBM_NDBM_H)
++# include <gdbm/ndbm.h>
++# define HAVE_NDBM
++#elif defined(HAVE_DB1_NDBM_H)
++# include <db1/ndbm.h>
++# define HAVE_NDBM
++
++#endif
++
++#if !defined(DATUM) && defined(HAVE_NDBM)
+ /* ensure that struct datum is not included again from <rpcsvc/yp_prot.h> */
+ # define DATUM
+ # endif /* not DATUM */
+-#else /* not HAVE_NDBM_H */
+-# ifdef HAVE_DB1_NDBM_H
+-# include <db1/ndbm.h>
+-# ifndef DATUM
+-/* ensure that struct datum is not included again from <rpcsvc/yp_prot.h> */
+-# define DATUM
+-# endif /* not DATUM */
+-# endif /* HAVE_DB1_NDBM_H */
+-#endif /* HAVE_NDBM_H */
+
+ /*
+ * Actions to take if <net/errno.h> exists.
+--- am-utils-6.0.8/configure.in.sopwith 2002-12-11 16:15:35.000000000 -0500
++++ am-utils-6.0.8/configure.in 2002-12-11 16:18:09.000000000 -0500
+@@ -231,10 +231,8 @@
+ dnl some systems replaced old ndbm.h include with GNU ndbm.h, which requires
+ dnl libgdbm for dbm_pagfno, so check for this.
+ AC_MSG_CHECKING(for GNU ndbm.h)
+-AC_TRY_LINK([#include <ndbm.h>], [
+-DBM *db;
+-dbm_pagfno(db);
+-], AC_MSG_RESULT(no), AC_CHECK_LIB(gdbm, dbm_pagfno))
++AC_CHECK_HEADERS(ndbm.h gdbm/ndbm.h)
++AC_CHECK_LIB(gdbm, dbm_pagfno)
+ dnl ======================================================================
+
+ dnl ######################################################################
diff --git a/net-fs/am-utils/files/digest-am-utils-6.0.9-r1 b/net-fs/am-utils/files/digest-am-utils-6.0.9-r1
new file mode 100644
index 000000000000..1c7c1b77e2ce
--- /dev/null
+++ b/net-fs/am-utils/files/digest-am-utils-6.0.9-r1
@@ -0,0 +1 @@
+MD5 1e288b8485c09a126e2bea4029602265 am-utils-6.0.9.tar.gz 1471542