]> git.pld-linux.org Git - packages/libxfce4ui.git/commitdiff
- added link patch to fix build when older libxfce4ui is installed in system
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 26 Dec 2022 14:54:47 +0000 (15:54 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 26 Dec 2022 14:54:47 +0000 (15:54 +0100)
libxfce4ui-link.patch [new file with mode: 0644]
libxfce4ui.spec

diff --git a/libxfce4ui-link.patch b/libxfce4ui-link.patch
new file mode 100644 (file)
index 0000000..7e440de
--- /dev/null
@@ -0,0 +1,13 @@
+Drop -L%{_libdir} from linking so that just built libxfce4ui is before
+older system version in linker search path.
+
+--- libxfce4ui-4.18.0/libxfce4kbd-private/Makefile.am.orig     2022-10-30 12:33:05.000000000 +0100
++++ libxfce4ui-4.18.0/libxfce4kbd-private/Makefile.am  2022-12-26 15:50:55.466362077 +0100
+@@ -61,7 +61,6 @@ libxfce4kbd_private_3_la_LDFLAGS = \
+       -version-info $(LIBXFCE4KBD_PRIVATE_VERINFO) \
+       -export-symbols-regex "^[^_].*" \
+       -no-undefined \
+-      $(LIBX11_LDFLAGS) \
+       $(PLATFORM_LDFLAGS)
+ libxfce4kbd_private_3_la_LIBADD = \
index ea0b6306355f639b1abc5a8d89d2810c53220f94..710d18cff195181f12cc7fc38cf7655277b094e5 100644 (file)
@@ -13,6 +13,7 @@ License:      LGPL v2
 Group:         X11/Libraries
 Source0:       https://archive.xfce.org/src/xfce/libxfce4ui/4.18/%{name}-%{version}.tar.bz2
 # Source0-md5: e7b94990266683a0998bd25f78b208cb
+Patch0:                %{name}-link.patch
 URL:           https://www.xfce.org/
 BuildRequires: autoconf >= 2.60
 BuildRequires: automake >= 1:1.11
@@ -138,6 +139,7 @@ Wsparcie dla libxfce4ui w Glade.
 
 %prep
 %setup -q
+%patch0 -p1
 
 mkdir -p m4
 
This page took 0.643076 seconds and 4 git commands to generate.