public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jitka Plesnikova <jplesnik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ldns] rawhide: Update the patch for SWIG 4.5.0
Date: Tue, 11 Aug 2026 08:01:18 GMT	[thread overview]
Message-ID: <178643527879.1.2765030031973185126.rpms-ldns-fe9480154723@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ldns
            Branch : rawhide
            Commit : fe94801547232fb5d08e7c9da28a8cd9c8bef312
            Author : Jitka Plesnikova <jplesnik@redhat.com>
            Date   : 2026-08-05T16:33:33+02:00
            Stats  : +0/-9 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ldns/c/fe94801547232fb5d08e7c9da28a8cd9c8bef312?branch=rawhide

            Log:
            Update the patch for SWIG 4.5.0

Remove part of the patch based on the changes in SWIG commit
https://github.com/swig/swig/commit/de573cda78890318e570611066cf4e94f4066a6e

---
diff --git a/ldns-swig45.patch b/ldns-swig45.patch
index 1e5e983..0a3a472 100644
--- a/ldns-swig45.patch
+++ b/ldns-swig45.patch
@@ -10,12 +10,3 @@ diff -up ldns-1.9.2/contrib/python/ldns.i.swig45 ldns-1.9.2/contrib/python/ldns.
  #endif
  }
  %}
-@@ -414,7 +414,7 @@ PyObject* ldns_pkt2wire_(const ldns_pkt
-   tuple = PyTuple_New(2);
-   PyTuple_SetItem(tuple, 0, SWIG_From_int(result));
-   if (result == LDNS_STATUS_OK)
--     PyTuple_SetItem(tuple, 1, SWIG_FromCharPtrAndSize((char *)arg1, arg3));
-+     PyTuple_SetItem(tuple, 1, PyUnicode_FromStringAndSize((char *)arg1, arg3));
-   else {
-      Py_INCREF(Py_None);
-      PyTuple_SetItem(tuple, 1, Py_None);

                 reply	other threads:[~2026-08-11  8:01 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=178643527879.1.2765030031973185126.rpms-ldns-fe9480154723@fedoraproject.org \
    --to=jplesnik@redhat.com \
    --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