summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Husmann2016-07-06 00:14:39 +0200
committerStefan Husmann2016-07-06 00:14:39 +0200
commitac85ed5d9eacb88f159bf078ac416daa952f49b3 (patch)
treea0a3bd4164646b5dc56b52843fbfec75ca34291b
parentcc673edbedea3f974eb054d46e8fafca57bf5bd0 (diff)
downloadaur-ac85ed5d9eacb88f159bf078ac416daa952f49b3.tar.gz
Fix for gcc 6.1.1, turn on C++ 98
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6be3d3b2bbf..119d338e326 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
pkgbase = sam2p
pkgdesc = A bitmap-to-eps-or-pdf-converter that produces very small files
pkgver = 0.49.2
- pkgrel = 3
+ pkgrel = 4
url = http://www.inf.bme.hu/~pts
arch = i686
arch = x86_64
license = GPL2
- makedepends = imake
depends = gcc-libs
optdepends = ghostscript: PS, EPS, PDF support
optdepends = libjpeg: JPEG support
diff --git a/PKGBUILD b/PKGBUILD
index 7f9484fb6f7..c543e2d869c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,13 @@
pkgname=sam2p
pkgver=0.49.2
-pkgrel=3
+pkgrel=4
pkgdesc="A bitmap-to-eps-or-pdf-converter that produces very small files"
arch=('i686' 'x86_64')
url="http://www.inf.bme.hu/~pts"
license=('GPL2')
depends=('gcc-libs')
-makedepends=('imake')
+#makedepends=('imake')
optdepends=('ghostscript: PS, EPS, PDF support'
'libjpeg: JPEG support'
'tif22pnm: for tiff and png support')
@@ -26,7 +26,7 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix="$pkgdir"/usr --enable-lzw --enable-gif
+ CXX="g++ --std=c++98" ./configure --prefix="$pkgdir"/usr --enable-lzw --enable-gif
make all
}