summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-01-05 22:16:20 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-01-05 22:16:20 -0500
commit48aee6d0c3c982f2e9055184bf3187c0a37ed656 (patch)
treecbc0f3e7a79a2458bbe071c010e6f6228a4a2df8 /community
parenta10e55234695326b1d181c11da4cbb0d42b25c46 (diff)
Add subtitleeditor-0.40.0-glib.patch
Diffstat (limited to 'community')
-rw-r--r--community/subtitleeditor/PKGBUILD8
-rw-r--r--community/subtitleeditor/subtitleeditor-0.40.0-glib.patch11
2 files changed, 16 insertions, 3 deletions
diff --git a/community/subtitleeditor/PKGBUILD b/community/subtitleeditor/PKGBUILD
index e5abd0bc4..45a420910 100644
--- a/community/subtitleeditor/PKGBUILD
+++ b/community/subtitleeditor/PKGBUILD
@@ -17,12 +17,14 @@ optdepends=('gstreamer0.10-ffmpeg: to be able to view movies inside the subtitle
options=('!libtool')
install=$pkgname.install
changelog=$pkgname.changelog
-source=(http://download.gna.org/$pkgname/0.40/$pkgname-$pkgver.tar.gz)
-sha256sums=('b8d948f3e770524bf63fe632600aa94fcbd4edba772cad2aec4fdb3b3335b02d')
+source=(http://download.gna.org/$pkgname/0.40/$pkgname-$pkgver.tar.gz
+ subtitleeditor-0.40.0-glib.patch)
+sha256sums=('b8d948f3e770524bf63fe632600aa94fcbd4edba772cad2aec4fdb3b3335b02d'
+ '152883d00195c86ee04db2c8aa22b0c82255c328c31acfd55877ca403779d2e0')
build() {
cd ${srcdir}/$pkgname-$pkgver
-
+ patch -Np1 -i ${srcdir}/subtitleeditor-0.40.0-glib.patch
./configure --prefix=/usr
make
}
diff --git a/community/subtitleeditor/subtitleeditor-0.40.0-glib.patch b/community/subtitleeditor/subtitleeditor-0.40.0-glib.patch
new file mode 100644
index 000000000..1215a7112
--- /dev/null
+++ b/community/subtitleeditor/subtitleeditor-0.40.0-glib.patch
@@ -0,0 +1,11 @@
+--- subtitleeditor-0.40.0.orig/plugins/actions/findandreplace/findandreplace.cc 2012-02-22 14:02:05.000000000 -0500
++++ subtitleeditor-0.40.0/plugins/actions/findandreplace/findandreplace.cc 2013-01-05 20:24:07.887899963 -0500
+@@ -26,7 +26,7 @@
+ #include <gui/dialogutility.h>
+ #include <gtkmm_utility.h>
+ #include <widget_config_utility.h>
+-#include <glib/gregex.h>
++#include <glib.h>
+
+ /*
+ * FIXME: