[arch-commits] Commit in pcre/trunk (ChangeLog PKGBUILD no_arg.patch)
Eric Belanger
eric at archlinux.org
Sun May 11 00:57:17 UTC 2008
Date: Saturday, May 10, 2008 @ 20:57:17
Author: eric
Revision: 1480
upgpkg: pcre 7.7-1
Upstream update, Added ChangeLog
Added:
pcre/trunk/ChangeLog
Modified:
pcre/trunk/PKGBUILD
Deleted:
pcre/trunk/no_arg.patch
--------------+
ChangeLog | 5 +++++
PKGBUILD | 14 ++++++--------
no_arg.patch | 18 ------------------
3 files changed, 11 insertions(+), 26 deletions(-)
Added: ChangeLog
===================================================================
--- ChangeLog (rev 0)
+++ ChangeLog 2008-05-11 00:57:17 UTC (rev 1480)
@@ -0,0 +1,5 @@
+2008-05-10 Eric Belanger <eric at archlinux.org>
+
+ * pcre 7.7-1
+ * Upstream update
+ * Added ChangeLog
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-05-11 00:54:21 UTC (rev 1479)
+++ PKGBUILD 2008-05-11 00:57:17 UTC (rev 1480)
@@ -3,24 +3,22 @@
# Contributor: John Proctor <jproctor at prium.net>
pkgname=pcre
-pkgver=7.6
-pkgrel=3
+pkgver=7.7
+pkgrel=1
pkgdesc="A library that implements Perl 5-style regular expressions"
arch=('i686' 'x86_64')
url="http://pcre.sourceforge.net"
license=('custom')
groups=('base')
depends=('gcc-libs')
-options=('!libtool')
-source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2
- no_arg.patch)
-md5sums=('2af38e083fb90ef60fa9eda7cc290e86'
- '9adcec8fce27628753a89f67b52c6ff2')
+options=('!libtool' '!makeflags')
+source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('4b2e9cde1f7227448dddba59843efa0b')
+sha1sums=('f1f54d3e13e6cb427de962e62eaaee32c74cba38')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
[ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
- patch -Np0 -i ${startdir}/src/no_arg.patch || return 1
./configure --prefix=/usr --enable-utf8 --enable-unicode-properties
make || return 1
make DESTDIR=${startdir}/pkg install
Deleted: no_arg.patch
===================================================================
--- no_arg.patch 2008-05-11 00:54:21 UTC (rev 1479)
+++ no_arg.patch 2008-05-11 00:57:17 UTC (rev 1480)
@@ -1,18 +0,0 @@
-Index: pcrecpp.cc
-===================================================================
---- pcrecpp.cc (revision 319)
-+++ pcrecpp.cc (working copy)
-@@ -57,6 +57,14 @@
- // Special object that stands-in for no argument
- Arg RE::no_arg((void*)NULL);
-
-+// This is for ABI compatibility with old versions of pcre (pre-7.6),
-+// which defined a global no_arg variable instead of putting it in the
-+// RE class. This works on GCC >= 3, at least. We could probably have
-+// a more inclusive test if we ever needed it.
-+#if defined(__GNUC__) && __GNUC__ >= 3
-+extern Arg no_arg __attribute__((alias("_ZN7pcrecpp2RE6no_argE")));
-+#endif
-+
- // If a regular expression has no error, its error_ field points here
- static const string empty_string;
More information about the arch-commits
mailing list