[arch-commits] Commit in gmetadom/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 21:02:25 UTC 2018
Date: Friday, November 9, 2018 @ 21:02:25
Author: felixonmars
Revision: 338507
archrelease: copy trunk to staging-x86_64
Added:
gmetadom/repos/staging-x86_64/
gmetadom/repos/staging-x86_64/PKGBUILD
(from rev 338506, gmetadom/trunk/PKGBUILD)
gmetadom/repos/staging-x86_64/gmetadom-0.2.6-gcc43.patch
(from rev 338506, gmetadom/trunk/gmetadom-0.2.6-gcc43.patch)
----------------------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
gmetadom-0.2.6-gcc43.patch | 18 ++++++++++++++++++
2 files changed, 52 insertions(+)
Copied: gmetadom/repos/staging-x86_64/PKGBUILD (from rev 338506, gmetadom/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-11-09 21:02:25 UTC (rev 338507)
@@ -0,0 +1,34 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gmetadom
+pkgver=0.2.6
+pkgrel=7
+pkgdesc="C++ bindings for GDome2 DOM implementation"
+arch=('x86_64')
+url="http://gmetadom.sourceforge.net/"
+license=('LGPL')
+depends=('gdome2')
+makedepends=('pkgconfig' 'ocaml')
+options=('!makeflags')
+source=("https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'gmetadom-0.2.6-gcc43.patch')
+sha256sums=('2f1e286dfceb7877f90c72de7e5e17a87d0e3f8121feff794a6f637bc1a6756a'
+ '71d06b41cafcbca318d48d39c97e9f25873461828c7702541f721fd478dbbacf')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ${srcdir}/gmetadom-0.2.6-gcc43.patch
+}
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ export LDFLAGS=${LDFLAGS/,--as-needed}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir}/ install
+}
Copied: gmetadom/repos/staging-x86_64/gmetadom-0.2.6-gcc43.patch (from rev 338506, gmetadom/trunk/gmetadom-0.2.6-gcc43.patch)
===================================================================
--- staging-x86_64/gmetadom-0.2.6-gcc43.patch (rev 0)
+++ staging-x86_64/gmetadom-0.2.6-gcc43.patch 2018-11-09 21:02:25 UTC (rev 338507)
@@ -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