]> git.pld-linux.org Git - packages/aegisub.git/commitdiff
- fix building with glibc 2.22
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Nov 2015 14:56:48 +0000 (15:56 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Nov 2015 14:56:48 +0000 (15:56 +0100)
aegisub.spec
pthread.patch [new file with mode: 0644]

index 899dcef2b06c975183062335647eacfc903b951c..9316fc40e9125e3aada598ac740164e73b63b07f 100644 (file)
@@ -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 (file)
index 0000000..c7bb22a
--- /dev/null
@@ -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)
This page took 0.196387 seconds and 4 git commands to generate.