Package: libjpeg6b / 1:6b2-4

automake-Wno-obsolete Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Description: automake 1.11 needs -Wno-obsolete due to ansi2knr (for autoreconf)
 or fails with message 'automatic de-ANSI-fication support is deprecated'.
Forwarded: not-needed
Last-Update: 2014-06-30
Author: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>

Index: libjpeg6b-6b2/configure.ac
===================================================================
--- libjpeg6b-6b2.orig/configure.ac
+++ libjpeg6b-6b2/configure.ac
@@ -21,7 +21,7 @@ AC_CANONICAL_TARGET
 
 # Initialize Automake
 # Don't require all the GNU mandated files
-AM_INIT_AUTOMAKE([-Wall -Werror ansi2knr no-dist foreign])
+AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obsolete no-dist foreign])
 
 # Make --enable-silent-rules the default.
 # To get verbose build output you may configure
@@ -29,7 +29,6 @@ AM_INIT_AUTOMAKE([-Wall -Werror ansi2knr
 AM_SILENT_RULES([yes])
 
 # This is required when using the de-ANSI-fication feature.
-AM_C_PROTOTYPES
 
 # Add configure option --enable-maintainer-mode which enables
 # dependency checking and generation useful to package maintainers.
@@ -37,8 +36,8 @@ AM_C_PROTOTYPES
 AM_MAINTAINER_MODE
 
 # Check for programs
+AM_PROG_AR
 AC_PROG_CC
-AC_PROG_CC_STDC
 AC_PROG_CPP
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET