[arch-commits] Commit in gmetadom/trunk (PKGBUILD gmetadom-0.2.6-gcc43.patch)
Giovanni Scafora
giovanni at archlinux.org
Wed Apr 1 17:53:39 UTC 2009
Date: Wednesday, April 1, 2009 @ 13:53:39
Author: giovanni
Revision: 32845
upgpkg: gmetadom 0.2.6-1
New version 0.2.6
Added:
gmetadom/trunk/gmetadom-0.2.6-gcc43.patch
Modified:
gmetadom/trunk/PKGBUILD
----------------------------+
PKGBUILD | 25 +++++++++++++++----------
gmetadom-0.2.6-gcc43.patch | 18 ++++++++++++++++++
2 files changed, 33 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-04-01 15:38:55 UTC (rev 32844)
+++ PKGBUILD 2009-04-01 17:53:39 UTC (rev 32845)
@@ -1,21 +1,26 @@
# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=gmetadom
-pkgver=0.2.4
-pkgrel=2
+pkgver=0.2.6
+pkgrel=1
pkgdesc="C++ bindings for GDome2 DOM implementation"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://gmetadom.sourceforge.net/"
license=('LGPL')
-depends=('gcc-libs' 'gdome2')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}b.tar.gz)
-md5sums=('bb0443a5ae4988e6b078431007fc6dcd')
+depends=('gdome2')
+makedepends=('pkgconfig')
+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 ${startdir}/src/${pkgname}-${pkgver}
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/gmetadom-0.2.6-gcc43.patch || return 1
./configure --prefix=/usr
make || return 1
- make DESTDIR=${startdir}/pkg install
+ make DESTDIR=${pkgdir}/ install
}
Added: gmetadom-0.2.6-gcc43.patch
===================================================================
--- gmetadom-0.2.6-gcc43.patch (rev 0)
+++ gmetadom-0.2.6-gcc43.patch 2009-04-01 17:53:39 UTC (rev 32845)
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_gcc43-fix.dpatch by Michael Bienia <geser at ubuntu.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at 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 <string>
++#include <cstring>
+
+ #include "GdomeSmartDOMChar.hh"
+
More information about the arch-commits
mailing list