summaryrefslogtreecommitdiff
path: root/extra/gtkglextmm
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-24 23:06:35 +0000
committerroot <root@rshg047.dnsready.net>2011-06-24 23:06:35 +0000
commit71f58605e914de11f3a9b7cc2f27b0c52fb8d4ba (patch)
tree948002f901215fa91b99058ec3bfc4a51475018d /extra/gtkglextmm
parent7347bb994a41d021c83e97b503f577f2399302e7 (diff)
Fri Jun 24 23:06:35 UTC 2011
Diffstat (limited to 'extra/gtkglextmm')
-rw-r--r--extra/gtkglextmm/PKGBUILD25
-rw-r--r--extra/gtkglextmm/gdkspanfunc.patch13
2 files changed, 31 insertions, 7 deletions
diff --git a/extra/gtkglextmm/PKGBUILD b/extra/gtkglextmm/PKGBUILD
index a0e738c96..7a4c1fca8 100644
--- a/extra/gtkglextmm/PKGBUILD
+++ b/extra/gtkglextmm/PKGBUILD
@@ -1,24 +1,35 @@
-# $Id: PKGBUILD 47716 2009-07-25 16:36:45Z giovanni $
+# $Id: PKGBUILD 128291 2011-06-22 14:49:45Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Bastien Bouclet <bastien.bouclet@gmail.com>
pkgname=gtkglextmm
pkgver=1.2.0
-pkgrel=4
+pkgrel=5
pkgdesc="Cpp C++ bindings for gtkglext"
arch=('i686' 'x86_64')
url="http://gtkglext.sourceforge.net/"
-depends=('gtkmm>=2.10.1' 'gtkglext')
+depends=('gtkmm' 'gtkglext')
makedepends=('pkgconfig')
options=('!libtool')
license=('GPL')
-source=(http://downloads.sourceforge.net/sourceforge/gtkglext/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('27c05f4d45c5fd07b6fb0f044add3056')
+source=(http://downloads.sourceforge.net/sourceforge/gtkglext/${pkgname}-${pkgver}.tar.bz2
+ gdkspanfunc.patch)
+md5sums=('27c05f4d45c5fd07b6fb0f044add3056'
+ 'd7c8ea33c748a6857ee629c16b2d9bff')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+
+ # FS#24706
+ patch -Np1 -i ${srcdir}/gdkspanfunc.patch
+
./configure --prefix=/usr \
--disable-gtkglext-test
- make || return 1
- make DESTDIR=${pkgdir}/ install
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
}
diff --git a/extra/gtkglextmm/gdkspanfunc.patch b/extra/gtkglextmm/gdkspanfunc.patch
new file mode 100644
index 000000000..ae5672a8c
--- /dev/null
+++ b/extra/gtkglextmm/gdkspanfunc.patch
@@ -0,0 +1,13 @@
+--- a/gtkglext/gtkmm/gl/widget.cc 2004-05-18 03:01:50.000000000 -0300
++++ b/gtkglext/gtkmm/gl/widget.cc 2011-06-12 17:57:13.075541070 -0300
+@@ -17,9 +17,8 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+-#include <gtk/gtkglwidget.h>
+-
+ #include "widget.h"
++#include <gtk/gtkglwidget.h>
+
+ namespace Gtk
+ {