diff options
Diffstat (limited to 'community/librcc')
-rw-r--r-- | community/librcc/PKGBUILD | 22 | ||||
-rw-r--r-- | community/librcc/librcc-strnlen.patch | 17 |
2 files changed, 8 insertions, 31 deletions
diff --git a/community/librcc/PKGBUILD b/community/librcc/PKGBUILD index 702a69f29..14cf05865 100644 --- a/community/librcc/PKGBUILD +++ b/community/librcc/PKGBUILD @@ -1,29 +1,23 @@ -# $Id: PKGBUILD 83682 2013-02-04 11:06:09Z spupykin $ +# $Id: PKGBUILD 97710 2013-09-27 19:26:53Z bgyorgy $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=librcc -pkgver=0.2.6 -pkgrel=5 +pkgver=0.2.10 +pkgrel=2 pkgdesc="Charset Conversion Library" arch=(i686 x86_64 'mips64el') url="http://rusxmms.sourceforge.net/" license=('GPL') -depends=(aspell enca libxml2 db librcd) -makedepends=(patch gtk gtk2) +depends=('aspell' 'enca' 'libxml2' 'librcd') +makedepends=('patch' 'gtk' 'gtk2') install=librcc.install options=('!libtool') -source=(http://downloads.sourceforge.net/rusxmms/${pkgname}-${pkgver}.tar.bz2 - librcc-strnlen.patch - librcc-0.2.6-glib.patch) -md5sums=('9bbf248c7312c73c0b6ca19b9c5a2af1' - '040313d1d8f166ccf2b128cea4c05f21' - '214aef7764131252620892b56c09de9d') +source=(http://downloads.sourceforge.net/rusxmms/${pkgname}-${pkgver}.tar.bz2) +md5sums=('077260cf58ae9624c964652b79fbb5fb') build() { cd $srcdir/$pkgname-${pkgver} - patch -Np1 -i ${srcdir}/librcc-0.2.6-glib.patch - ./configure --prefix=/usr - patch -p1 <$srcdir/librcc-strnlen.patch + ./configure --prefix=/usr --disable-bdb make } diff --git a/community/librcc/librcc-strnlen.patch b/community/librcc/librcc-strnlen.patch deleted file mode 100644 index 9fc0e8b0b..000000000 --- a/community/librcc/librcc-strnlen.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -wbBur librcc-0.2.6/src/rccstring.h librcc-0.2.6.qwe/src/rccstring.h ---- librcc-0.2.6/src/rccstring.h 2006-01-08 15:42:59.000000000 +0000 -+++ librcc-0.2.6.qwe/src/rccstring.h 2009-09-28 08:45:37.000000000 +0000 -@@ -18,13 +18,6 @@ - int rccStringFixID(rcc_string string, rcc_context ctx); - int rccStringChangeID(rcc_string string, rcc_language_id language_id); - --#ifdef HAVE_STRNLEN --# ifndef strnlen --int strnlen(const char *str, size_t size); --# endif /* !strnlen */ --#else --int rccStrnlen(const char *str, size_t size); --#endif /* HAVE_STRNLEN */ - int rccIsASCII(const char *str); - size_t rccStringSizedGetChars(const char *str, size_t size); - |