[packages/vte] quick fix for missing -lpthread after dropping *.la files in cairo; rel 2

atler atler at pld-linux.org
Fri Apr 12 18:45:19 CEST 2019


commit dcbefd68b21ba18e4c078c12701fb33ef0c79346
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Apr 12 18:43:26 2019 +0200

    quick fix for missing -lpthread after dropping *.la files in cairo; rel 2

 vte-pthread.patch | 12 ++++++++++++
 vte.spec          |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/vte.spec b/vte.spec
index fa9301f..6c94ffd 100644
--- a/vte.spec
+++ b/vte.spec
@@ -7,12 +7,13 @@ Summary:	VTE terminal widget library
 Summary(pl.UTF-8):	Biblioteka z kontrolką terminala VTE
 Name:		vte
 Version:	0.56.1
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		X11/Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/vte/0.56/%{name}-%{version}.tar.xz
 # Source0-md5:	a8984cd5a101dbff0b0c875d1de3f692
 Patch0:		%{name}-wordsep.patch
+Patch1:		%{name}-pthread.patch
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.9
 BuildRequires:	docbook-dtd412-xml
@@ -151,6 +152,7 @@ Dokumentacja API VTE (wersja dla GTK+ 3).
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__gtkdocize}
diff --git a/vte-pthread.patch b/vte-pthread.patch
new file mode 100644
index 0000000..394ca9d
--- /dev/null
+++ b/vte-pthread.patch
@@ -0,0 +1,12 @@
+diff -urN vte-0.56.1.orig/configure.ac vte-0.56.1/configure.ac
+--- vte-0.56.1.orig/configure.ac	2019-04-12 18:39:06.398656910 +0200
++++ vte-0.56.1/configure.ac	2019-04-12 18:39:36.561754726 +0200
+@@ -442,6 +442,8 @@
+ AC_SUBST([AM_CXXFLAGS])
+ AC_SUBST([AM_LDFLAGS])
+ 
++VTE_LIBS="$VTE_LIBS -lpthread"
++
+ ################################################################################
+ 
+ AC_CONFIG_FILES([
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vte.git/commitdiff/dcbefd68b21ba18e4c078c12701fb33ef0c79346



More information about the pld-cvs-commit mailing list