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.21.0-9: - use different port numbers for 32bit and 64bit builds
Date: Mon, 02 Nov 2026 14:26:43 GMT	[thread overview]
Message-ID: <179362960352.1.7628153142851432852.rpms-curl-0d4bed8f48d1@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : curl-v8.21.0-9
            Commit : 0d4bed8f48d1dce963cba220ceadfa6e592a5fd6
            Author : Kamil Dudka <kdudka@fedoraproject.org>
            Date   : 2009-12-09T17:48:00+00:00
            Stats  : +24/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/0d4bed8f48d1dce963cba220ceadfa6e592a5fd6?branch=curl-v8.21.0-9

            Log:
            - use different port numbers for 32bit and 64bit builds
- temporary workaround for #545779

---
diff --git a/curl-7.19.7-nss-i686.patch b/curl-7.19.7-nss-i686.patch
new file mode 100644
index 0000000..3f6ddaf
--- /dev/null
+++ b/curl-7.19.7-nss-i686.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/nss.c b/lib/nss.c
+index 637663e..f439735 100644
+--- a/lib/nss.c
++++ b/lib/nss.c
+@@ -1047,7 +1047,7 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
+       }
+       else {
+         char *certpath = PR_smprintf("%s%s",
+-                         NSS_VersionCheck("3.12.0") ? "sql:" : "",
++                         /*NSS_VersionCheck("3.12.0") ? "sql:" :*/ "",
+                          certDir);
+         rv = NSS_Initialize(certpath, "", "", "", NSS_INIT_READONLY);
+         PR_smprintf_free(certpath);

diff --git a/curl.spec b/curl.spec
index 446da0d..d6afa77 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.7
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
@@ -10,6 +10,7 @@ Patch1: curl-7.19.7-nss-nonblock.patch
 Patch2: curl-7.19.7-ssl-retry.patch
 Patch3: curl-7.19.7-modelfree.patch
 Patch4: curl-7.19.7-nss-warning.patch
+Patch5: curl-7.19.7-nss-i686.patch
 Patch101: curl-7.15.3-multilib.patch
 Patch102: curl-7.16.0-privlibs.patch
 Patch103: curl-7.19.4-debug.patch
@@ -86,6 +87,7 @@ use cURL's capabilities internally.
 %patch4 -p1
 
 # Fedora patches
+%patch5 -p1
 %patch101 -p1
 %patch102 -p1
 %patch103 -p1
@@ -122,7 +124,10 @@ make %{?_smp_mflags}
 export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
 cd tests
 make %{?_smp_mflags}
-./runtests.pl -a -p -v
+
+# use different port range for 32bit and 64bit build, thus make it possible
+# to run both in parallel on the same machine
+./runtests.pl -a -b89%{?__isa_bits} -p -v
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -181,6 +186,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Wed Dec 09 2009 Kamil Dudka <kdudka@redhat.com> 7.19.7-7
+- use different port numbers for 32bit and 64bit builds
+- temporary workaround for #545779
+
 * Tue Dec 08 2009 Kamil Dudka <kdudka@redhat.com> 7.19.7-6
 - make it possible to run test241
 - re-enable SCP/SFTP tests (#539444)

                 reply	other threads:[~2026-11-02 14:26 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=179362960352.1.7628153142851432852.rpms-curl-0d4bed8f48d1@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