summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJingbei Li2022-07-17 22:05:43 +0800
committerJingbei Li2022-07-17 22:05:43 +0800
commit720e34c807ad7432065727ff9e71315d09c13d5d (patch)
tree556bd8fb38e26f35f8c586078cc1a787b42db50c /PKGBUILD
parente836d452bc1c128f8de92c890f8c26e172fdd525 (diff)
downloadaur-idutils.tar.gz
fixed fseterr and fseeko
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e4d37b809166..c8a58ba6076f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,9 +5,8 @@
pkgname=idutils
pkgver=4.6
-pkgrel=1
-pkgdesc="A package of language independent tools that indexes program identifiers, literal numbers, \
- or words of human-readable text."
+pkgrel=2
+pkgdesc="A package of language independent tools that indexes program identifiers, literal numbers, or words of human-readable text."
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/idutils/"
license=('GPL')
@@ -19,6 +18,8 @@ md5sums=('99b572536377fcddb4d38e86a3c215fd')
build() {
cd "${srcdir}/$pkgname-$pkgver"
sed -i -e '/gets is a security/d' lib/stdio.in.h
+ sed -i 's/__GNU_LIBRARY__ == 1/__GNU_LIBRARY__ == 1 || defined __GLIBC__/' lib/fseterr.c
+ sed -i 's/__GNU_LIBRARY__ == 1/__GNU_LIBRARY__ == 1 || defined __GLIBC__/' lib/fseeko.c
./configure --prefix=/usr --disable-gcc-warnings --disable-silent-rules
#export LC_CTYPE=ISO-8859-1
make VERBOSE=1 || return 1