RPM Package Manager, CVS Repository
http://rpm5.org/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall
Root: /v/rpm/cvs Email: rse@rpm5.org
Module: rpm Date: 25-Jul-2007 18:46:16
Branch: HEAD Handle: 2007072517461500
Modified files:
rpm CHANGES configure.ac system.h
Log:
Add the necessary Autoconf glue for using the ancient (and nowadays
resurrected by POSIX) insque(3) as used by rpmio/rpmsq.[ch]. The
insque(3) was 4.2BSD invention and hence on some platforms stays in a
libcompat only. On modern systems it is already provided by libc and
<search.h> as it got resurrected recently by POSIX.1.
Summary:
Revision Changes Path
1.1519 +1 -0 rpm/CHANGES
2.221 +4 -0 rpm/configure.ac
2.75 +4 -0 rpm/system.h
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/CHANGES
============================================================================
$ cvs diff -u -r1.1518 -r1.1519 CHANGES
--- rpm/CHANGES 25 Jul 2007 06:20:16 -0000 1.1518
+++ rpm/CHANGES 25 Jul 2007 16:46:15 -0000 1.1519
@@ -1,4 +1,5 @@
4.5 -> 5.0:
+ - rse: add the necessary Autoconf glue for using the ancient (and nowadays resurrected by POSIX) insque(3)
- rse: ported to IBM AIX (5.3)
- rse: ported to Mac OS X (10.4), aka Darwin (8.10)
- rse: re-implement --force option (on installation) with a simple POPT alias instead of twisted and spreaded code
@@ .
patch -p0 <<'@@ .'
Index: rpm/configure.ac
============================================================================
$ cvs diff -u -r2.220 -r2.221 configure.ac
--- rpm/configure.ac 24 Jul 2007 19:46:25 -0000 2.220
+++ rpm/configure.ac 25 Jul 2007 16:46:15 -0000 2.221
@@ -506,6 +506,10 @@
AC_CHECK_HEADERS(error.h)
AC_CHECK_FUNCS(error)
+dnl # POSIX search(3) API
+AC_CHECK_HEADERS(search.h)
+AC_CHECK_LIB(compat, insque)
+
dnl # POSIX pthreads API
WITH_PTHREADS=no
AC_ARG_WITH([pthreads],
@@ .
patch -p0 <<'@@ .'
Index: rpm/system.h
============================================================================
$ cvs diff -u -r2.74 -r2.75 system.h
--- rpm/system.h 19 Jul 2007 18:41:46 -0000 2.74
+++ rpm/system.h 25 Jul 2007 16:46:15 -0000 2.75
@@ -714,4 +714,8 @@
#endif
#endif
+#if defined(HAVE_SEARCH_H)
+#include <search.h>
+#endif
+
#endif /* H_SYSTEM */
@@ .
Received on Wed Jul 25 18:46:16 2007