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
%prep
%setup -q
+%patch0 -p1
%{__mv} vendor{,.keep}
mkdir vendor
--- /dev/null
+--- 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)
+