summaryrefslogtreecommitdiff
path: root/extra/recode/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/recode/PKGBUILD')
-rw-r--r--extra/recode/PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/recode/PKGBUILD b/extra/recode/PKGBUILD
index 2b97a10f6..4dd53dbb7 100644
--- a/extra/recode/PKGBUILD
+++ b/extra/recode/PKGBUILD
@@ -27,6 +27,9 @@ build() {
patch -Np1 -i ${srcdir}/recode_3.6-15.diff
sed -i '1i#include <stdlib.h>' src/argmatch.c
rm -f acinclude.m4
+ # "automatic de-ANSI-fication support has been removed"
+ sed -i '/AM_C_PROTOTYPES/d' configure.in
+ sed -i 's/ ansi2knr//' src/Makefile.am
autoreconf -fi
libtoolize
./configure --prefix=/usr --mandir=/usr/share/man \