Fix building with new automake.
Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
parent
43289b234e
commit
5515d961e1
11
enscript-build.patch
Normal file
11
enscript-build.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -up enscript-1.6.6/configure.ac.build enscript-1.6.6/configure.ac
|
||||
--- enscript-1.6.6/configure.ac.build 2012-09-25 21:22:49.000000000 +0200
|
||||
+++ enscript-1.6.6/configure.ac 2012-09-26 15:46:10.988041135 +0200
|
||||
@@ -11,7 +11,6 @@ AC_PROG_INSTALL
|
||||
AC_PROG_CC
|
||||
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
-AM_C_PROTOTYPES
|
||||
|
||||
AC_C_CONST
|
||||
AC_FUNC_ALLOCA
|
@ -22,6 +22,8 @@ Patch8: enscript-wrap_header.patch
|
||||
|
||||
Patch10:enscript-1.6.4-rh457720.patch
|
||||
Patch12:enscript-rh477382.patch
|
||||
Patch13:enscript-build.patch
|
||||
|
||||
Requires(preun): /sbin/install-info
|
||||
Requires(post): /sbin/install-info
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -44,12 +46,14 @@ includes many options for customizing printouts
|
||||
%patch8 -p1 -b .wrap_header
|
||||
%patch10 -p1 -b .rh457720
|
||||
%patch12 -p1 -b .rh477382
|
||||
%patch13 -p1 -b .build
|
||||
|
||||
%{__tar} -C states/hl -zxf %{SOURCE1} ruby.st
|
||||
install -pm 644 %{SOURCE2} states/hl/php.st
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
export CPPFLAGS='-DPROTOTYPES'
|
||||
%configure --with-media=Letter
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user