public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: define _GNU_SOURCE so that NI_MAXHOST gets defined from glibc
@ 2026-11-02 14:25 Jindrich Novy
  0 siblings, 0 replies; only message in thread
From: Jindrich Novy @ 2026-11-02 14:25 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.21.0-9
Commit : 6684d1ac14665ea9a00232fc7b9858969c74cfe5
Author : Jindrich Novy <jnovy@fedoraproject.org>
Date   : 2008-02-15T12:11:30+00:00
Stats  : +5/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/6684d1ac14665ea9a00232fc7b9858969c74cfe5?branch=curl-v8.21.0-9

Log:
define _GNU_SOURCE so that NI_MAXHOST gets defined from glibc

---
diff --git a/curl.spec b/curl.spec
index bb962e4..2fa12f8 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.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 @@ use cURL's capabilities internally.
 %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 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Fri Feb 15 2008 Jindrich Novy <jnovy@redhat.com> 7.18.0-2
+- define _GNU_SOURCE so that NI_MAXHOST gets defined from glibc
+
 * Mon Jan 28 2008 Jindrich Novy <jnovy@redhat.com> 7.18.0-1
 - update to curl-7.18.0
 - drop sslgen patch -> applied upstream

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

only message in thread, other threads:[~2026-11-02 14:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 14:25 [rpms/curl] curl-v8.21.0-9: define _GNU_SOURCE so that NI_MAXHOST gets defined from glibc Jindrich Novy

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