public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ldns] rawhide: Update the patch for SWIG 4.5.0
@ 2026-08-11 8:01 Jitka Plesnikova
0 siblings, 0 replies; only message in thread
From: Jitka Plesnikova @ 2026-08-11 8:01 UTC (permalink / raw)
To: git-commits
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);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-11 8:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 8:01 [rpms/ldns] rawhide: Update the patch for SWIG 4.5.0 Jitka Plesnikova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox