From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/gmetadom/PKGBUILD | 26 ++++++++++++++++++++++++++ extra/gmetadom/gmetadom-0.2.6-gcc43.patch | 18 ++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 extra/gmetadom/PKGBUILD create mode 100644 extra/gmetadom/gmetadom-0.2.6-gcc43.patch (limited to 'extra/gmetadom') diff --git a/extra/gmetadom/PKGBUILD b/extra/gmetadom/PKGBUILD new file mode 100644 index 000000000..64be3c3b7 --- /dev/null +++ b/extra/gmetadom/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 37443 2009-05-01 20:50:35Z giovanni $ +# Maintainer: Giovanni Scafora +# Contributor: Jan de Groot + +pkgname=gmetadom +pkgver=0.2.6 +pkgrel=2 +pkgdesc="C++ bindings for GDome2 DOM implementation" +arch=('i686' 'x86_64') +url="http://gmetadom.sourceforge.net/" +license=('LGPL') +depends=('gdome2') +makedepends=('pkgconfig' 'ocaml') +options=('!libtool' '!makeflags') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz + gmetadom-0.2.6-gcc43.patch) +md5sums=('7bfb5d9c6f20ffa5e790b63d1f8cb481' + 'ea0271007f8650733029327823353d0d') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/gmetadom-0.2.6-gcc43.patch || return 1 + ./configure --prefix=/usr + make || return 1 + make DESTDIR=${pkgdir}/ install +} diff --git a/extra/gmetadom/gmetadom-0.2.6-gcc43.patch b/extra/gmetadom/gmetadom-0.2.6-gcc43.patch new file mode 100644 index 000000000..c16c3d6ba --- /dev/null +++ b/extra/gmetadom/gmetadom-0.2.6-gcc43.patch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_gcc43-fix.dpatch by Michael Bienia +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad gmetadom-0.2.5-3ubuntu1~/src/gdome_cpp_smart/include/GdomeSmartDOMTraits.hh gmetadom-0.2.5-3ubuntu1/src/gdome_cpp_smart/include/GdomeSmartDOMTraits.hh +--- gmetadom-0.2.5-3ubuntu1~/src/gdome_cpp_smart/include/GdomeSmartDOMTraits.hh 2007-11-21 18:27:08.000000000 +0100 ++++ gmetadom-0.2.5-3ubuntu1/src/gdome_cpp_smart/include/GdomeSmartDOMTraits.hh 2007-11-28 12:16:00.000000000 +0100 +@@ -26,6 +26,7 @@ + */ + + #include ++#include + + #include "GdomeSmartDOMChar.hh" + -- cgit v1.2.3-54-g00ecf