rpms/curl/devel curl.spec,1.71,1.72

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Fri Feb 15 12:13:45 UTC 2008


Author: jnovy

Update of /cvs/extras/rpms/curl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19481

Modified Files:
	curl.spec 
Log Message:
define _GNU_SOURCE so that NI_MAXHOST gets defined from glibc



Index: curl.spec
===================================================================
RCS file: /cvs/extras/rpms/curl/devel/curl.spec,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- curl.spec	28 Jan 2008 21:00:10 -0000	1.71
+++ curl.spec	15 Feb 2008 12:11:30 -0000	1.72
@@ -1,7 +1,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl 
 Version: 7.18.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
@@ -52,7 +52,7 @@
 %patch4 -p1 -b .badsocket
 
 %build
-export CPPFLAGS="$(pkg-config --cflags nss) -DHAVE_PK11_CREATEGENERICOBJECT"
+export CPPFLAGS="$(pkg-config --cflags nss) -DHAVE_PK11_CREATEGENERICOBJECT -D_GNU_SOURCE=1"
 %configure --without-ssl --with-nss=%{_prefix} --enable-ipv6 \
 	--with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
 	--with-gssapi=%{_prefix}/kerberos --with-libidn \
@@ -106,6 +106,9 @@
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Fri Feb 15 2008 Jindrich Novy <jnovy at redhat.com> 7.18.0-2
+- define _GNU_SOURCE so that NI_MAXHOST gets defined from glibc
+
 * Mon Jan 28 2008 Jindrich Novy <jnovy at redhat.com> 7.18.0-1
 - update to curl-7.18.0
 - drop sslgen patch -> applied upstream




More information about the fedora-extras-commits mailing list