OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 08-Oct-2004 16:20:27
Branch: HEAD Handle: 2004100815202700
Modified files:
openpkg-src/geoip geoip.spec
Log:
gethostbyname_r has different number of arguments on different
platforms, so do not try to use it unless the configure is smart
enough to deal with different number of arguments
Summary:
Revision Changes Path
1.55 +3 -1 openpkg-src/geoip/geoip.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/geoip/geoip.spec
============================================================================
$ cvs diff -u -r1.54 -r1.55 geoip.spec
--- openpkg-src/geoip/geoip.spec 7 Oct 2004 17:37:42 -0000 1.54
+++ openpkg-src/geoip/geoip.spec 8 Oct 2004 14:20:27 -0000 1.55
@@ -38,7 +38,7 @@
Group: Network
License: GPL
Version: %{V_api_c}
-Release: 20041007
+Release: 20041008
# package options
%option with_perl no
@@ -86,12 +86,14 @@
Makefile.in */Makefile.in
%build
+ echo "ac_cv_func_gethostbyname_r=no" >config.cache
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
LIBS="-lz" \
./configure \
+ --cache-file=./config.cache \
--prefix=%{l_prefix} \
--sysconfdir=%{l_prefix}/etc/geoip \
--mandir=$RPM_BUILD_ROOT%{l_prefix}/man \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]