public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: Fixed configure to respect the environment's CFLAGS and CPPFLAGS settings.
@ 2026-11-03 12:33 Kamil Dudka
  0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-03 12:33 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.23.0-3
Commit : 3a66d91e5feb1745b2e4081cb045cddf3268bbd1
Author : Kamil Dudka <kdudka@fedoraproject.org>
Date   : 2009-04-21T16:12:16+00:00
Stats  : +29/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/3a66d91e5feb1745b2e4081cb045cddf3268bbd1?branch=curl-v8.23.0-3

Log:
Fixed configure to respect the environment's CFLAGS and CPPFLAGS settings.

---
diff --git a/curl-7.19.4-flags.patch b/curl-7.19.4-flags.patch
new file mode 100644
index 0000000..708db3b
--- /dev/null
+++ b/curl-7.19.4-flags.patch
@@ -0,0 +1,22 @@
+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

diff --git a/curl.spec b/curl.spec
index dcf3723..6939d42 100644
--- a/curl.spec
+++ b/curl.spec
@@ -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 @@ Patch3: curl-7.17.1-badsocket.patch
 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 @@ use cURL's capabilities internally.
 %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 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Tue Apr 21 2009 Debarshi Ray <rishi@fedoraproject.org> 7.19.4-7
+- Fixed configure to respect the environment's CFLAGS and CPPFLAGS settings.
+
 * Tue Apr 14 2009 Kamil Dudka <kdudka@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 @@ rm -rf $RPM_BUILD_ROOT
 
 * Thu Mar 12 2009 Kamil Dudka <kdudka@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@redhat.com> 7.19.4-3
 - make libcurl-devel multilib-ready (bug #488922)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:33 [rpms/curl] curl-v8.23.0-3: Fixed configure to respect the environment's CFLAGS and CPPFLAGS settings Kamil Dudka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox