summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-01-05 19:27:33 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-01-05 19:27:33 -0500
commita10e55234695326b1d181c11da4cbb0d42b25c46 (patch)
treea5f5438021640e179b92b3871e75ec8ff9cf2c13
parent58fcf0983ee01f4c91cfdd6ae48594d18039ff04 (diff)
Add gstreamermm-0.10.10-glib.patch
-rw-r--r--community/gstreamermm/PKGBUILD8
-rw-r--r--community/gstreamermm/gstreamermm-0.10.10-glib.patch12
2 files changed, 17 insertions, 3 deletions
diff --git a/community/gstreamermm/PKGBUILD b/community/gstreamermm/PKGBUILD
index fe63cb019..3244477fd 100644
--- a/community/gstreamermm/PKGBUILD
+++ b/community/gstreamermm/PKGBUILD
@@ -12,12 +12,14 @@ depends=('glibmm' 'gstreamer0.10-base>=0.10.25' 'libsigc++2.0' 'libxml++')
makedepends=('doxygen' 'pkgconfig')
options=('!libtool')
changelog=$pkgname.changelog
-source=(http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/0.10/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('f8c31a7d3035d0dada60d27bdd01da04265439364f4469a981ee50d65218d638')
+source=(http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/0.10/${pkgname}-${pkgver}.tar.bz2
+ gstreamermm-0.10.10-glib.patch)
+sha256sums=('f8c31a7d3035d0dada60d27bdd01da04265439364f4469a981ee50d65218d638'
+ '84e6b74da5ab700dfd7d09500ec33d83ef1bd186afefc329dd330b0241557d0d')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
-
+ patch -Np1 -i ${srcdir}/gstreamermm-0.10.10-glib.patch
./configure --prefix=/usr
make
}
diff --git a/community/gstreamermm/gstreamermm-0.10.10-glib.patch b/community/gstreamermm/gstreamermm-0.10.10-glib.patch
new file mode 100644
index 000000000..f21dea635
--- /dev/null
+++ b/community/gstreamermm/gstreamermm-0.10.10-glib.patch
@@ -0,0 +1,12 @@
+--- gstreamermm-0.10.10.orig/gstreamer/gstreamermm/wrap.cc 2010-02-11 16:32:18.000000000 -0500
++++ gstreamermm-0.10.10/gstreamer/gstreamermm/wrap.cc 2013-01-05 18:43:27.815010415 -0500
+@@ -20,8 +20,7 @@
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+-#include <glib/gtypes.h>
+-#include <glib/gmacros.h>
++#include <glib.h>
+
+ #include <vector>
+ #include <gstreamermm/miniobject.h>