public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: fix configure.ac to not discard -g in CFLAGS (#496778)
Date: Tue, 03 Nov 2026 12:33:11 GMT [thread overview]
Message-ID: <179370919107.1.12526152050266693676.rpms-curl-45fab4b7bcd1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : 45fab4b7bcd1a838ea1e5cfe693126d31b97555d
Author : Kamil Dudka <kdudka@fedoraproject.org>
Date : 2009-04-22T10:14:36+00:00
Stats : +22/-25 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/45fab4b7bcd1a838ea1e5cfe693126d31b97555d?branch=curl-v8.23.0-3
Log:
fix configure.ac to not discard -g in CFLAGS (#496778)
---
diff --git a/curl-7.19.4-debug.patch b/curl-7.19.4-debug.patch
new file mode 100644
index 0000000..d67f2ea
--- /dev/null
+++ b/curl-7.19.4-debug.patch
@@ -0,0 +1,15 @@
+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
+
diff --git a/curl-7.19.4-flags.patch b/curl-7.19.4-flags.patch
deleted file mode 100644
index 708db3b..0000000
--- a/curl-7.19.4-flags.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-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 6939d42..da1c98c 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: 7%{?dist}
+Release: 8%{?dist}
License: MIT
Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
@@ -11,7 +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
+Patch7: curl-7.19.4-debug.patch
Provides: webclient
URL: http://curl.haxx.se/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -56,7 +56,7 @@ use cURL's capabilities internally.
%patch4 -p1 -b .toolleak
%patch5 -p1 -b .enableaes
%patch6 -p1 -b .nssleak
-%patch7 -p1 -b .flags
+%patch7 -p1 -b .debug
# Convert docs to UTF-8
for f in CHANGES README; do
@@ -65,6 +65,7 @@ for f in CHANGES README; do
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 \
@@ -148,6 +149,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/aclocal/libcurl.m4
%changelog
+* Wed Apr 22 2009 Kamil Dudka <kdudka@redhat.com> 7.19.4-8
+- fix configure.ac to not discard -g in CFLAGS (#496778)
+
* Tue Apr 21 2009 Debarshi Ray <rishi@fedoraproject.org> 7.19.4-7
- Fixed configure to respect the environment's CFLAGS and CPPFLAGS settings.
reply other threads:[~2026-11-03 12:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179370919107.1.12526152050266693676.rpms-curl-45fab4b7bcd1@fedoraproject.org \
--to=kdudka@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox