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: 11-Sep-2007 08:39:05
Branch: HEAD Handle: 2007091107390500
Modified files:
rpm CHANGES configure.ac system.h
Log:
include <netinet/in.h> and/or <arpa/inet.h> for htonl(3)
Summary:
Revision Changes Path
1.1633 +1 -0 rpm/CHANGES
2.238 +1 -1 rpm/configure.ac
2.87 +7 -0 rpm/system.h
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/CHANGES
============================================================================
$ cvs diff -u -r1.1632 -r1.1633 CHANGES
--- rpm/CHANGES 9 Sep 2007 20:32:42 -0000 1.1632
+++ rpm/CHANGES 11 Sep 2007 06:39:05 -0000 1.1633
@@ -1,4 +1,5 @@
4.5 -> 5.0:
+ - rse: include <netinet/in.h> and/or <arpa/inet.h> for htonl(3)
- jbj: uncouple signature verification from transaction sets.
- jbj: add (*findPubkey) (_ts, _dig) callback in pgpDig.
- jbj: fix: headerUnload() size implies HEADER_MAGIC_NO, no hackery needed.
@@ .
patch -p0 <<'@@ .'
Index: rpm/configure.ac
============================================================================
$ cvs diff -u -r2.237 -r2.238 configure.ac
--- rpm/configure.ac 28 Aug 2007 00:36:52 -0000 2.237
+++ rpm/configure.ac 11 Sep 2007 06:39:05 -0000 2.238
@@ -475,7 +475,7 @@
machine/types.h mntent.h sys/mnttab.h sys/systemcfg.h dnl
sys/param.h sys/mount.h sys/mntctl.h sys/vmount.h dnl
libio.h err.h mcheck.h limits.h libgen.h float.h dnl
- glob.h poll.h dnl
+ glob.h poll.h netinet/in.h arpa/inet.h dnl
])
dnl # GNU gettext support
@@ .
patch -p0 <<'@@ .'
Index: rpm/system.h
============================================================================
$ cvs diff -u -r2.86 -r2.87 system.h
--- rpm/system.h 21 Aug 2007 03:41:51 -0000 2.86
+++ rpm/system.h 11 Sep 2007 06:39:05 -0000 2.87
@@ -458,6 +458,13 @@
#include <netdb.h>
#endif
+#if defined(HAVE_NETINET_IN_H)
+#include <netinet/in.h>
+#endif
+#if defined(HAVE_ARPA_INET_H)
+#include <arpa/inet.h>
+#endif
+
#if defined(HAVE_PWD_H)
#include <pwd.h>
#endif
@@ .
Received on Tue Sep 11 08:39:05 2007