summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/a2ps/PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/a2ps/PKGBUILD b/extra/a2ps/PKGBUILD
index b1fa5191c..fd0323114 100644
--- a/extra/a2ps/PKGBUILD
+++ b/extra/a2ps/PKGBUILD
@@ -36,6 +36,8 @@ build() {
patch -p1 < ../a2ps-4.13-manpage-chmod.patch
patch -p1 < ../a2ps-4.14-check-mempcpy.patch
patch -p0 < ../a2ps-4.14-fix-stpcpy-proto.patch
+ sed -i '/AM_C_PROTOTYPES/d' configure.in
+ sed -i '/ansi2knr/d' Makefile.am {src,lib,contrib/sample}/Makefile.am
libtoolize --force --copy
autoreconf -I m4
./configure --prefix=/usr --sysconfdir=/etc/a2ps \