[arch-commits] Commit in pstoedit/repos (3 files)
Eric Belanger
eric at archlinux.org
Wed Apr 23 03:45:56 UTC 2008
Date: Tuesday, April 22, 2008 @ 23:45:56
Author: eric
Revision: 788
moving to extra
Added:
pstoedit/repos/extra-x86_64/pstoedit-3.45-gcc-4.3.patch
(from rev 356, pstoedit/trunk/pstoedit-3.45-gcc-4.3.patch)
Modified:
pstoedit/repos/extra-x86_64/ (properties)
pstoedit/repos/extra-x86_64/PKGBUILD
-----------------------------+
PKGBUILD | 12 +++++++-----
pstoedit-3.45-gcc-4.3.patch | 12 ++++++++++++
2 files changed, 19 insertions(+), 5 deletions(-)
Property changes on: pstoedit/repos/extra-x86_64
___________________________________________________________________
Name: svnmerge-integrated
- /pstoedit/trunk:1
+ /pstoedit/trunk:1-786
Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2008-04-23 03:44:40 UTC (rev 787)
+++ extra-x86_64/PKGBUILD 2008-04-23 03:45:56 UTC (rev 788)
@@ -4,19 +4,21 @@
pkgname=pstoedit
pkgver=3.45
-pkgrel=1
-depends=("gcc-libs>=4.2.1" "plotutils>=2.5" "gd" "imagemagick")
+pkgrel=2
+depends=("gcc-libs>=4.2.1" "plotutils>=2.5" "gd" "imagemagick>=6.4.0.2")
pkgdesc="translates PostScript and PDF graphics into other vector formats"
arch=("i686" "x86_64")
license=('GPL')
-source=("http://puzzle.dl.sourceforge.net/sourceforge/pstoedit/pstoedit-$pkgver.tar.gz")
+source=("http://puzzle.dl.sourceforge.net/sourceforge/pstoedit/pstoedit-$pkgver.tar.gz" "pstoedit-3.45-gcc-4.3.patch")
+md5sums=('071efc64d9edf5d942b407348ac7451d' '97c5893859c98f446e3b47423dc851fd')
url="http://www.pstoedit.net/"
-options=('!libtool')
+options=('!libtool' '!makeflags')
build() {
cd $startdir/src/$pkgname-$pkgver
+ patch -p0 < ../pstoedit-3.45-gcc-4.3.patch || return 1
+ sed -i 's/-pedantic//' configure
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
-
Copied: pstoedit/repos/extra-x86_64/pstoedit-3.45-gcc-4.3.patch (from rev 356, pstoedit/trunk/pstoedit-3.45-gcc-4.3.patch)
===================================================================
--- extra-x86_64/pstoedit-3.45-gcc-4.3.patch (rev 0)
+++ extra-x86_64/pstoedit-3.45-gcc-4.3.patch 2008-04-23 03:45:56 UTC (rev 788)
@@ -0,0 +1,12 @@
+--- src/cppcomp.h-orig 2008-04-03 18:58:13.000000000 +0100
++++ src/cppcomp.h 2008-04-03 18:59:08.000000000 +0100
+@@ -37,6 +37,9 @@
+ #define _unix
+ #endif
+
++#include <cstring>
++#include <cstdlib>
++
+ #if defined (_MSC_VER) && (_MSC_VER >= 1100)
+ // MSVC 5 and 6 have ANSI C++ header files, but the compilation
+ // is much slower and object files get bigger.
More information about the arch-commits
mailing list