rpms/curl/F-10 curl-7.19.4-debug.patch, NONE, 1.1 curl.spec, 1.87, 1.88

Kamil Dudka kdudka at fedoraproject.org
Mon Apr 27 07:30:05 UTC 2009


Author: kdudka

Update of /cvs/extras/rpms/curl/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1471

Modified Files:
	curl.spec 
Added Files:
	curl-7.19.4-debug.patch 
Log Message:
fix configure.ac to not discard -g in CFLAGS (#496778)

curl-7.19.4-debug.patch:

--- NEW FILE curl-7.19.4-debug.patch ---
diff -ruNp curl-7.19.4.orig/configure.ac curl-7.19.4/configure.ac
--- curl-7.19.4.orig/configure.ac	2009-02-13 15:25:15.000000000 +0100
+++ curl-7.19.4/configure.ac	2009-04-22 11:56:32.171305420 +0200
@@ -241,7 +241,10 @@ dnl ************************************
 
 CURL_CHECK_COMPILER
 CURL_SET_COMPILER_BASIC_OPTS
-CURL_SET_COMPILER_DEBUG_OPTS
+
+dnl do not perturb CFLAGS given by the build system
+dnl CURL_SET_COMPILER_DEBUG_OPTS
+
 CURL_SET_COMPILER_OPTIMIZE_OPTS
 CURL_SET_COMPILER_WARNING_OPTS
 


Index: curl.spec
===================================================================
RCS file: /cvs/extras/rpms/curl/F-10/curl.spec,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- curl.spec	16 Mar 2009 08:12:34 -0000	1.87
+++ curl.spec	27 Apr 2009 07:29:34 -0000	1.88
@@ -1,16 +1,18 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 7.19.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
 Patch1: curl-7.15.3-multilib.patch
 Patch2: curl-7.16.0-privlibs.patch
 Patch3: curl-7.17.1-badsocket.patch
+Patch4: curl-7.19.4-debug.patch
 Provides: webclient
 URL: http://curl.haxx.se/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: autoconf
 BuildRequires: pkgconfig, libidn-devel, zlib-devel, libssh2-devel
 BuildRequires: nss-devel >= 3.11.7-7, openldap-devel, krb5-devel
 
@@ -49,6 +51,7 @@
 %patch1 -p1 -b .multilib
 %patch2 -p1 -b .privlibs
 %patch3 -p1 -b .badsocket
+%patch4 -p1 -b .debug
 
 # Convert docs to UTF-8
 for f in CHANGES README; do
@@ -57,6 +60,7 @@
 done
 
 %build
+autoconf
 export CPPFLAGS="$(pkg-config --cflags nss) -DHAVE_PK11_CREATEGENERICOBJECT"
 %configure --without-ssl --with-nss=%{_prefix} --enable-ipv6 \
 	--with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
@@ -140,6 +144,9 @@
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Mon Apr 27 2009 Kamil Dudka <kdudka at redhat.com> 7.19.4-4
+- fix configure.ac to not discard -g in CFLAGS, thanks to Debarshi Ray (#496778)
+
 * Mon Mar 16 2009 Kamil Dudka <kdudka at redhat.com> 7.19.4-3
 - make libcurl-devel multilib-ready (bug #488922)
 




More information about the scm-commits mailing list