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: - drop .easy-leak patch, causes problems in pycurl (#488791)
Date: Mon, 02 Nov 2026 14:26:08 GMT	[thread overview]
Message-ID: <179362956873.1.716083944320684324.rpms-curl-a8446216421c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : curl-v8.21.0-9
            Commit : a8446216421ce84d726d5ee0f03d5f588d113b8d
            Author : Jindrich Novy <jnovy@fedoraproject.org>
            Date   : 2009-03-06T13:45:02+00:00
            Stats  : +6/-39 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/a8446216421ce84d726d5ee0f03d5f588d113b8d?branch=curl-v8.21.0-9

            Log:
            - drop .easy-leak patch, causes problems in pycurl (#488791)
- fix libcurl-devel dependencies (#488895)

---
diff --git a/curl-7.19.4-easy-leak.patch b/curl-7.19.4-easy-leak.patch
deleted file mode 100644
index bb02547..0000000
--- a/curl-7.19.4-easy-leak.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -up curl-7.19.4/lib/easy.c.easy-leak curl-7.19.4/lib/easy.c
---- curl-7.19.4/lib/easy.c.easy-leak	2009-01-29 21:41:51.000000000 +0100
-+++ curl-7.19.4/lib/easy.c	2009-03-03 07:54:58.000000000 +0100
-@@ -352,13 +352,11 @@ CURL *curl_easy_init(void)
-   struct SessionHandle *data;
- 
-   /* Make sure we inited the global SSL stuff */
--  if(!initialized) {
--    res = curl_global_init(CURL_GLOBAL_DEFAULT);
--    if(res) {
--      /* something in the global init failed, return nothing */
--      DEBUGF(fprintf(stderr, "Error: curl_global_init failed\n"));
--      return NULL;
--    }
-+  res = curl_global_init(CURL_GLOBAL_DEFAULT);
-+  if(res) {
-+    /* something in the global init failed, return nothing */
-+    DEBUGF(fprintf(stderr, "Error: curl_global_init failed\n"));
-+    return NULL;
-   }
- 
-   /* We use curl_open() with undefined URL so far */
-@@ -549,10 +547,10 @@ void curl_easy_cleanup(CURL *curl)
- {
-   struct SessionHandle *data = (struct SessionHandle *)curl;
- 
--  if(!data)
--    return;
-+  if(data)
-+    Curl_close(data);
- 
--  Curl_close(data);
-+  curl_global_cleanup();
- }
- 
- /*

diff --git a/curl.spec b/curl.spec
index 9aa6e95..63a242e 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,14 +1,13 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 7.19.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
 Patch1: curl-7.15.3-multilib.patch
 Patch2: curl-7.16.0-privlibs.patch
 Patch3: curl-7.17.1-badsocket.patch
-Patch4: curl-7.19.4-easy-leak.patch
 Provides: webclient
 URL: http://curl.haxx.se/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -35,6 +34,7 @@ Summary: Files needed for building applications with libcurl
 Group: Development/Libraries
 Requires: libcurl = %{version}-%{release}
 Requires: libidn-devel, pkgconfig, automake
+Requires: libssh2-devel
 Provides: curl-devel = %{version}-%{release}
 Obsoletes: curl-devel < %{version}-%{release}
 
@@ -49,7 +49,6 @@ use cURL's capabilities internally.
 %patch1 -p1 -b .multilib
 %patch2 -p1 -b .privlibs
 %patch3 -p1 -b .badsocket
-%patch4 -p1 -b .easy-leak
 
 # Convert docs to UTF-8
 for f in CHANGES README; do
@@ -118,6 +117,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Fri Mar 06 2009 Jindrich Novy <jnovy@redhat.com> 7.19.4-2
+- drop .easy-leak patch, causes problems in pycurl (#488791)
+- fix libcurl-devel dependencies (#488895)
+
 * Tue Mar 03 2009 Jindrich Novy <jnovy@redhat.com> 7.19.4-1
 - update to 7.19.4 (fixes CVE-2009-0037)
 - fix leak in curl_easy* functions, thanks to Kamil Dudka

                 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=179362956873.1.716083944320684324.rpms-curl-a8446216421c@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