[packages/libepoxy] - updated to 1.5.4 - added link patch (fixes tests linking using autotools)

qboosh qboosh at pld-linux.org
Tue Nov 26 21:07:57 CET 2019


commit 5c4ade7db8ade65c7079c20029086b96548cf0f6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Nov 26 21:08:20 2019 +0100

    - updated to 1.5.4
    - added link patch (fixes tests linking using autotools)

 libepoxy-link.patch | 11 +++++++++++
 libepoxy.spec       | 10 ++++++----
 2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/libepoxy.spec b/libepoxy.spec
index 2b6bb18..00b46b2 100644
--- a/libepoxy.spec
+++ b/libepoxy.spec
@@ -6,14 +6,15 @@
 Summary:	Epoxy - GL dispatch library
 Summary(pl.UTF-8):	Epoxy - biblioteka do przekazywania funkcji GL
 Name:		libepoxy
-Version:	1.5.3
+Version:	1.5.4
 Release:	1
 License:	MIT
 Group:		Libraries
 ##Source0Download: https://github.com/anholt/libepoxy/releases
 #Source0:	https://github.com/anholt/libepoxy/releases/download/v1.4/%{name}-%{version}.tar.xz
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/libepoxy/1.5/%{name}-%{version}.tar.xz
-# Source0-md5:	e2845de8d2782b2d31c01ae8d7cd4cbb
+# Source0-md5:	00f47ad447321f9dc59f85bc1c9d0467
+Patch0:		%{name}-link.patch
 URL:		https://github.com/anholt/libepoxy
 %{?with_tests:BuildRequires:	Mesa-khrplatform-devel}
 BuildRequires:	Mesa-libEGL-devel
@@ -22,7 +23,7 @@ BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
-BuildRequires:	python3
+BuildRequires:	python3 >= 1:3
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xorg-util-util-macros >= 1.8
@@ -65,10 +66,11 @@ Statyczna biblioteka libepoxy.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
diff --git a/libepoxy-link.patch b/libepoxy-link.patch
new file mode 100644
index 0000000..3a86354
--- /dev/null
+++ b/libepoxy-link.patch
@@ -0,0 +1,11 @@
+--- libepoxy-1.5.4/test/Makefile.am.orig	2019-11-25 23:44:11.000000000 +0100
++++ libepoxy-1.5.4/test/Makefile.am	2019-11-26 20:49:16.828341166 +0100
+@@ -176,6 +176,8 @@
+ glx_shared_znow_LDADD = $(DLOPEN_LIBS) $(EPOXY) libglx_common.la $(X11_LIBS)
+ glx_shared_znow_LDFLAGS = -Wl,-z,now
+ 
++gl_version_LDADD = $(EPOXY)
++
+ khronos_typedefs_SOURCES = \
+ 	khronos_typedefs.c \
+ 	khronos_typedefs.h \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libepoxy.git/commitdiff/5c4ade7db8ade65c7079c20029086b96548cf0f6



More information about the pld-cvs-commit mailing list