public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jindrich Novy <jnovy@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.21.0-9: define _GNU_SOURCE so that NI_MAXHOST gets defined from glibc
Date: Mon, 02 Nov 2026 14:25:56 GMT	[thread overview]
Message-ID: <179362955683.1.1636368199292434779.rpms-curl-6684d1ac1466@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-11-02 14:25 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=179362955683.1.1636368199292434779.rpms-curl-6684d1ac1466@fedoraproject.org \
    --to=jnovy@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