Skip to content
Snippets Groups Projects
Commit f2dbc3f9 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/a2ps: fix building with automake-1.13

parent 7ce4fe03
No related branches found
No related tags found
No related merge requests found
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=a2ps pkgname=a2ps
pkgver=4.14 pkgver=4.14
pkgrel=3 pkgrel=4
pkgdesc="a2ps is an Any to PostScript filter" pkgdesc="a2ps is an Any to PostScript filter"
url="http://www.gnu.org/software/a2ps/" url="http://www.gnu.org/software/a2ps/"
arch="all" arch="all"
...@@ -17,6 +17,7 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz ...@@ -17,6 +17,7 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname-$pkgver-check-mempcpy.patch $pkgname-$pkgver-check-mempcpy.patch
$pkgname-$pkgver-fix-stpcpy-proto.patch $pkgname-$pkgver-fix-stpcpy-proto.patch
a2ps-automake-1.12.patch a2ps-automake-1.12.patch
automake.patch
" "
prepare() { prepare() {
...@@ -30,7 +31,7 @@ prepare() { ...@@ -30,7 +31,7 @@ prepare() {
|| return 1 || return 1
rm -f aclocal.m4 */aclocal.m4 rm -f aclocal.m4 */aclocal.m4
libtoolize --force --copy || return 1 libtoolize --force --copy || return 1
autoreconf -I m4 || return 1 aclocal -I m4 && automake --add-missing && autoreconf -I m4 || return 1
} }
build() { build() {
...@@ -54,4 +55,5 @@ md5sums="781ac3d9b213fa3e1ed0d79f986dc8c7 a2ps-4.14.tar.gz ...@@ -54,4 +55,5 @@ md5sums="781ac3d9b213fa3e1ed0d79f986dc8c7 a2ps-4.14.tar.gz
09cc5ed4d3d8ff1b2103e519191e8286 a2ps-4.13-manpage-chmod.patch 09cc5ed4d3d8ff1b2103e519191e8286 a2ps-4.13-manpage-chmod.patch
42aa39b74f6da8cf6e94185c4fc3e601 a2ps-4.14-check-mempcpy.patch 42aa39b74f6da8cf6e94185c4fc3e601 a2ps-4.14-check-mempcpy.patch
4b4fbc19a6b79fa64df7e26945fcdcf9 a2ps-4.14-fix-stpcpy-proto.patch 4b4fbc19a6b79fa64df7e26945fcdcf9 a2ps-4.14-fix-stpcpy-proto.patch
72e8f0a6cd234945df92549d8a5451f8 a2ps-automake-1.12.patch" 72e8f0a6cd234945df92549d8a5451f8 a2ps-automake-1.12.patch
868217fde7f9a4c1350c99431b0c1671 automake.patch"
--- ./configure.in.orig 2012-12-31 09:32:06.411787207 +0000
+++ ./configure.in 2012-12-31 09:33:15.672384454 +0000
@@ -12,7 +12,7 @@
# Initialize automake
AM_INIT_AUTOMAKE
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADER(config.h)
# Specify the liba2ps version number
LIBVERSION=1:0:0
@@ -42,7 +42,6 @@
AC_MINIX
AC_ISC_POSIX
AC_PROG_CPP
-AM_PROG_CC_STDC
AC_PROG_YACC
fp_PROG_ECHO
AC_PROG_GPERF
--- ./m4/protos.m4.orig 2012-12-31 09:43:24.994398048 +0000
+++ ./m4/protos.m4 2012-12-31 09:43:57.681443768 +0000
@@ -6,7 +6,7 @@
# serial 1
AC_DEFUN([AM_C_PROTOTYPES],
-[AC_REQUIRE([AM_PROG_CC_STDC])
+[AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_CPP])
AC_MSG_CHECKING([for function prototypes])
if test "$am_cv_prog_cc_stdc" != no; then
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment