summaryrefslogtreecommitdiff
path: root/community/librcc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-28 02:33:58 -0700
committerroot <root@rshg054.dnsready.net>2013-09-28 02:33:58 -0700
commitc900355ac24fb238dbd0d8f6253a629561f78bee (patch)
tree2a8e1791c3b6f664ecab07e8a37e8116ad29eb50 /community/librcc
parent9cb59f16908b4c0f3f6901ccf376e1a37ea29c3a (diff)
Sat Sep 28 02:32:51 PDT 2013
Diffstat (limited to 'community/librcc')
-rw-r--r--community/librcc/PKGBUILD19
-rw-r--r--community/librcc/librcc-strnlen.patch17
2 files changed, 8 insertions, 28 deletions
diff --git a/community/librcc/PKGBUILD b/community/librcc/PKGBUILD
index fa2df29fc..9cfb000d9 100644
--- a/community/librcc/PKGBUILD
+++ b/community/librcc/PKGBUILD
@@ -1,26 +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)
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)
-md5sums=('9bbf248c7312c73c0b6ca19b9c5a2af1'
- '040313d1d8f166ccf2b128cea4c05f21')
+source=(http://downloads.sourceforge.net/rusxmms/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('077260cf58ae9624c964652b79fbb5fb')
build() {
cd $srcdir/$pkgname-${pkgver}
- ./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);
-