[packages/aegisub] - fix building with glibc 2.22
baggins
baggins at pld-linux.org
Sat Nov 21 15:57:03 CET 2015
commit 699890b59f759e1f3a0c426c26a0fd3e46aee04d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Nov 21 15:56:48 2015 +0100
- fix building with glibc 2.22
aegisub.spec | 2 ++
pthread.patch | 11 +++++++++++
2 files changed, 13 insertions(+)
---
diff --git a/aegisub.spec b/aegisub.spec
index 899dcef..9316fc4 100644
--- a/aegisub.spec
+++ b/aegisub.spec
@@ -16,6 +16,7 @@ License: BSD
Group: X11/Applications
Source0: http://ftp.aegisub.org/pub/releases/%{name}-%{version}.tar.xz
# Source0-md5: d80e852c34811add358c06d77f5cd40d
+Patch0: pthread.patch
URL: http://www.aegisub.net/
# AC_AGI_COMPILE tries to run test program which tries to open device and most likely fails
#BuildRequires: OpenAL-devel >= 0.0.8
@@ -80,6 +81,7 @@ obsługa tych zaawansowanych funkcji.
%prep
%setup -q
+%patch0 -p1
%{__mv} vendor{,.keep}
mkdir vendor
diff --git a/pthread.patch b/pthread.patch
new file mode 100644
index 0000000..c7bb22a
--- /dev/null
+++ b/pthread.patch
@@ -0,0 +1,11 @@
+--- aegisub-3.2.2/tools/Makefile~ 2014-12-08 01:07:09.000000000 +0100
++++ aegisub-3.2.2/tools/Makefile 2015-11-21 15:55:34.835987973 +0100
+@@ -6,7 +6,7 @@
+ PROGRAM += $(d)osx-bundle-restart-helper
+ endif
+
+-repack-thes-dict_OBJ := $(d)repack-thes-dict.o $(TOP)lib/libaegisub.a
++repack-thes-dict_OBJ := $(d)repack-thes-dict.o $(TOP)lib/libaegisub.a -lpthread
+ repack-thes-dict_LIBS := $(LIBS_BOOST) $(LIBS_ICU)
+ repack-thes-dict_CPPFLAGS := -I$(TOP) -I$(TOP)libaegisub/include $(CFLAGS_ICU)
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/aegisub.git/commitdiff/699890b59f759e1f3a0c426c26a0fd3e46aee04d
More information about the pld-cvs-commit
mailing list