]> git.pld-linux.org Git - packages/libplist.git/commitdiff
- added link patch (link python modules with new libplist instead of old by moving... auto/th/libplist-2.3.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 26 Nov 2023 08:21:35 +0000 (09:21 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 26 Nov 2023 08:21:35 +0000 (09:21 +0100)
libplist-link.patch [new file with mode: 0644]
libplist.spec

diff --git a/libplist-link.patch b/libplist-link.patch
new file mode 100644 (file)
index 0000000..fd8d1b0
--- /dev/null
@@ -0,0 +1,13 @@
+--- libplist-2.3.0/cython/Makefile.am.orig     2022-02-07 12:20:41.000000000 +0100
++++ libplist-2.3.0/cython/Makefile.am  2023-11-26 09:11:13.719041230 +0100
+@@ -39,8 +39,8 @@ plist_la_CFLAGS = \
+       -Wno-implicit-function-declaration \
+       -fvisibility=default
+-plist_la_LDFLAGS = -module -avoid-version $(PYTHON_LIBS) $(AM_LDFLAGS) -shared -export-dynamic
+-plist_la_LIBADD = $(top_builddir)/src/libplist-2.0.la
++plist_la_LDFLAGS = -module -avoid-version $(AM_LDFLAGS) -shared -export-dynamic
++plist_la_LIBADD = $(top_builddir)/src/libplist-2.0.la $(PYTHON_LIBS)
+ if WIN32
+ plist_la_LDFLAGS += -no-undefined
index c1ed960037e1ebc781f0e73524bc95ad3a484689..e56ae1cc64266b1e33fa229a66aa9f744d8fe7e0 100644 (file)
@@ -18,6 +18,7 @@ Group:                Libraries
 Source0:       https://github.com/libimobiledevice/libplist/releases/download/%{version}/%{name}-%{version}.tar.bz2
 # Source0-md5: d6e2b9f713f18ae0a0f3353c03315bfd
 Patch0:                %{name}-sh.patch
+Patch1:                %{name}-link.patch
 URL:           https://libimobiledevice.org/
 BuildRequires: autoconf >= 2.68
 BuildRequires: automake
@@ -148,6 +149,7 @@ Plik nagłówkowy Cythona dla wiązania Pythona do biblioteki libplist.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 touch cython/*.py[xh]
 
This page took 0.193788 seconds and 4 git commands to generate.