rpms/curl/devel curl-7.19.4-flags.patch, NONE, 1.1 curl.spec, 1.93, 1.94

Kamil Dudka kdudka at fedoraproject.org
Tue Apr 21 16:12:47 UTC 2009


Author: kdudka

Update of /cvs/extras/rpms/curl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15719

Modified Files:
	curl.spec 
Added Files:
	curl-7.19.4-flags.patch 
Log Message:
Fixed configure to respect the environment's CFLAGS and CPPFLAGS settings.

curl-7.19.4-flags.patch:

--- NEW FILE curl-7.19.4-flags.patch ---
diff -urNp curl-7.19.4.orig/configure curl-7.19.4/configure
--- curl-7.19.4.orig/configure	2009-04-21 10:59:47.000000000 +0530
+++ curl-7.19.4/configure	2009-04-21 11:19:13.000000000 +0530
@@ -16,6 +16,9 @@
 ## M4sh Initialization.  ##
 ## --------------------- ##
 
+fedora_CPPFLAGS="$CPPFLAGS"
+fedora_CFLAGS="$CFLAGS"
+
 # Be more Bourne compatible
 DUALCASE=1; export DUALCASE # for MKS sh
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
@@ -46881,6 +46884,8 @@ fi
 
 
 
+CFLAGS="$CFLAGS $fedora_CFLAGS"
+CPPFLAGS="$CPPFLAGS $fedora_CPPFLAGS"
 
 squeeze CFLAGS
 squeeze CPPFLAGS


Index: curl.spec
===================================================================
RCS file: /cvs/extras/rpms/curl/devel/curl.spec,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- curl.spec	14 Apr 2009 10:26:46 -0000	1.93
+++ curl.spec	21 Apr 2009 16:12:16 -0000	1.94
@@ -1,7 +1,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 7.19.4
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
@@ -11,6 +11,7 @@
 Patch4: curl-7.19.4-tool-leak.patch
 Patch5: curl-7.19.4-enable-aes.patch
 Patch6: curl-7.19.4-nss-leak.patch
+Patch7: curl-7.19.4-flags.patch
 Provides: webclient
 URL: http://curl.haxx.se/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,6 +56,7 @@
 %patch4 -p1 -b .toolleak
 %patch5 -p1 -b .enableaes
 %patch6 -p1 -b .nssleak
+%patch7 -p1 -b .flags
 
 # Convert docs to UTF-8
 for f in CHANGES README; do
@@ -146,6 +148,9 @@
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Tue Apr 21 2009 Debarshi Ray <rishi at fedoraproject.org> 7.19.4-7
+- Fixed configure to respect the environment's CFLAGS and CPPFLAGS settings.
+
 * Tue Apr 14 2009 Kamil Dudka <kdudka at redhat.com> 7.19.4-6
 - upstream patch fixing memory leak in lib/nss.c (#453612)
 - remove redundant dependency of libcurl-devel on libssh2-devel
@@ -156,7 +161,7 @@
 
 * Thu Mar 12 2009 Kamil Dudka <kdudka at redhat.com> 7.19.4-4
 - fix memory leak in src/main.c (accepted by upstream)
-- avoid using %ifarch
+- avoid using %%ifarch
 
 * Wed Mar 11 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