[packages/gle] - patch to ensure linking example with just built libgle

qboosh qboosh at pld-linux.org
Sat Feb 7 11:48:38 CET 2026


commit 088a7d5b62eb7697918995d1958d631f925d7d05
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Feb 7 11:48:58 2026 +0100

    - patch to ensure linking example with just built libgle

 gle-link.patch | 11 +++++++++++
 gle.spec       |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/gle.spec b/gle.spec
index 2cf259d..3fac4ed 100644
--- a/gle.spec
+++ b/gle.spec
@@ -8,6 +8,7 @@ Group:		X11/Libraries
 #Source0Download: https://github.com/linas/glextrusion/tags
 Source0:	https://github.com/linas/glextrusion/archive/%{name}-%{version}.tar.gz
 # Source0-md5:	740f29a839f79c0bcce7b63511949ed8
+Patch0:		%{name}-link.patch
 URL:		http://www.linas.org/gle/
 BuildRequires:	OpenGL-GLU-devel
 BuildRequires:	OpenGL-devel
@@ -77,6 +78,7 @@ Biblioteka statyczna libgle.
 
 %prep
 %setup -q -n glextrusion-%{name}-%{version}
+%patch -P0 -p1
 
 %build
 %{__libtoolize}
diff --git a/gle-link.patch b/gle-link.patch
new file mode 100644
index 0000000..b0d064a
--- /dev/null
+++ b/gle-link.patch
@@ -0,0 +1,11 @@
+--- glextrusion-gle-3.1.2/examples/Makefile.am.orig	2023-08-19 01:09:32.000000000 +0200
++++ glextrusion-gle-3.1.2/examples/Makefile.am	2026-02-07 11:31:12.894068412 +0100
+@@ -56,7 +56,7 @@ AM_CPPFLAGS = \
+   -I${top_srcdir} \
+   -I${top_srcdir}/src 
+ 
+-LDADD = -lgle @X_LIBS@  -L../src/
++LDADD = -L../src/ -lgle @X_LIBS@
+ 
+ docdir = $(datadir)/doc/gle/examples
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gle.git/commitdiff/088a7d5b62eb7697918995d1958d631f925d7d05



More information about the pld-cvs-commit mailing list