commit dc9f44cd5f75b1450d4b54f8f4fcca55cea210c7
Author: Jakub Bogusz <[email protected]>
Date:   Mon Dec 26 15:54:47 2022 +0100

    - added link patch to fix build when older libxfce4ui is installed in system

 libxfce4ui-link.patch | 13 +++++++++++++
 libxfce4ui.spec       |  2 ++
 2 files changed, 15 insertions(+)
---
diff --git a/libxfce4ui.spec b/libxfce4ui.spec
index ea0b630..710d18c 100644
--- a/libxfce4ui.spec
+++ b/libxfce4ui.spec
@@ -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
 
diff --git a/libxfce4ui-link.patch b/libxfce4ui-link.patch
new file mode 100644
index 0000000..7e440de
--- /dev/null
+++ b/libxfce4ui-link.patch
@@ -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 = \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libxfce4ui.git/commitdiff/dc9f44cd5f75b1450d4b54f8f4fcca55cea210c7

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to