Browse Source

Patch for Red Hat 8.0

master
Peter Smej 23 years ago committed by Ralf S. Engelschall
parent
commit
ca0df1082a
  1. 49
      amd/amd.patch
  2. 2
      amd/amd.spec

49
amd/amd.patch

@ -68,3 +68,52 @@ diff -Naur am-utils-6.0.9.orig/include/am_defs.h am-utils-6.0.9/include/am_defs.
# include <malloc.h>
#endif /* HAVE_MALLOC_H */
--- am-utils-6.0.9/configure.orig Fri Jan 31 12:21:41 2003
+++ am-utils-6.0.9/configure Fri Jan 31 12:23:07 2003
@@ -13020,6 +13020,7 @@
cdfs/cdfsmount.h \
cdfs/cdfs_mount.h \
db1/ndbm.h \
+ gdbm/ndbm.h \
hsfs/hsfs.h \
isofs/cd9660/cd9660_mount.h \
linux/auto_fs.h \
--- am-utils-6.0.9/configure.in.orig Fri Jan 31 12:21:56 2003
+++ am-utils-6.0.9/configure.in Fri Jan 31 12:23:29 2003
@@ -409,6 +409,7 @@
cdfs/cdfsmount.h \
cdfs/cdfs_mount.h \
db1/ndbm.h \
+ gdbm/ndbm.h \
hsfs/hsfs.h \
isofs/cd9660/cd9660_mount.h \
linux/auto_fs.h \
--- am-utils-6.0.9/config.h.in.orig Fri Jan 31 12:22:12 2003
+++ am-utils-6.0.9/config.h.in Fri Jan 31 12:25:59 2003
@@ -164,6 +164,9 @@
/* Define to 1 if you have the <db1/ndbm.h> header file. */
#undef HAVE_DB1_NDBM_H
+/* Define to 1 if you have the <gdbm/ndbm.h> header file. */
+#undef HAVE_GDBM_NDBM_H
+
/* Define to 1 if you have the `dbm_open' function. */
#undef HAVE_DBM_OPEN
--- am-utils-6.0.9/include/am_defs.h.orig Fri Jan 31 12:22:29 2003
+++ am-utils-6.0.9/include/am_defs.h Fri Jan 31 12:24:45 2003
@@ -338,6 +338,14 @@
/* ensure that struct datum is not included again from <rpcsvc/yp_prot.h> */
# define DATUM
# endif /* not DATUM */
+# else /* not HAVE_DB1_NDBM_H */
+# ifdef HAVE_GDBM_NDBM_H
+# include <gdbm/ndbm.h>
+# ifndef DATUM
+/* ensure that struct datum is not included again from <rpcsvc/yp_prot.h> */
+# define DATUM
+# endif /* not DATUM */
+# endif /* HAVE_GDBM_NDBM_H */
# endif /* HAVE_DB1_NDBM_H */
#endif /* HAVE_NDBM_H */

2
amd/amd.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
Group: System
License: BSD
Version: 6.0.9
Release: 20030127
Release: 20030131
# list of sources
Source0: ftp://ftp.am-utils.org/pub/am-utils/am-utils-%{version}.tar.gz

Loading…
Cancel
Save