From 8908b15c71dbd8798ae4d83ff682170b482b10f9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 3 Jan 2007 04:18:18 +0000 Subject: [PATCH] Include more headers to kill off implicit function prototypes. Package-Manager: portage-2.1.2_rc4-r3 --- media-libs/netpbm/ChangeLog | 6 +- media-libs/netpbm/Manifest | 26 +- .../files/netpbm-10.26.37-headers.patch | 251 ++++++++++++++++++ media-libs/netpbm/netpbm-10.26.37.ebuild | 3 +- 4 files changed, 273 insertions(+), 13 deletions(-) create mode 100644 media-libs/netpbm/files/netpbm-10.26.37-headers.patch diff --git a/media-libs/netpbm/ChangeLog b/media-libs/netpbm/ChangeLog index e4eb17e26220..be45368c3458 100644 --- a/media-libs/netpbm/ChangeLog +++ b/media-libs/netpbm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/netpbm # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.140 2007/01/03 03:46:19 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/ChangeLog,v 1.141 2007/01/03 04:18:18 vapier Exp $ + + 03 Jan 2007; Mike Frysinger + +files/netpbm-10.26.37-headers.patch, netpbm-10.26.37.ebuild: + Include more headers to kill off implicit function prototypes. *netpbm-10.37.0 (03 Jan 2007) diff --git a/media-libs/netpbm/Manifest b/media-libs/netpbm/Manifest index bd08de1a6c86..42b50f579bcb 100644 --- a/media-libs/netpbm/Manifest +++ b/media-libs/netpbm/Manifest @@ -1,6 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX netpbm-10.26.37-headers.patch 5913 RMD160 e11c89ca996b6f843c92064c2d633fa56cca2f62 SHA1 b1ca06491054eff6418c4b8d179de612841d059c SHA256 e587d5f17ed93edfaa2b4adbb83e05e8043b5ace24d47eb71f8e17a275128499 +MD5 abb5d815be703065ef93474acf563d82 files/netpbm-10.26.37-headers.patch 5913 +RMD160 e11c89ca996b6f843c92064c2d633fa56cca2f62 files/netpbm-10.26.37-headers.patch 5913 +SHA256 e587d5f17ed93edfaa2b4adbb83e05e8043b5ace24d47eb71f8e17a275128499 files/netpbm-10.26.37-headers.patch 5913 AUX netpbm-10.30-build.patch 2276 RMD160 aa69ccc2d3e332b4fa50e33621ead91f95a124ed SHA1 d14b5144c310c9182c45cefb629f2b4e77be0058 SHA256 aa7c4dcad0fe5aa71cce357236aa859b14c3794c92c5a5b848cc31618194b174 MD5 c63d12c2c7deaafa4fcddb6035b34169 files/netpbm-10.30-build.patch 2276 RMD160 aa69ccc2d3e332b4fa50e33621ead91f95a124ed files/netpbm-10.30-build.patch 2276 @@ -40,10 +44,10 @@ EBUILD netpbm-10.26.36.ebuild 2804 RMD160 f86cbe9d79745c8182d3b2a1010385803374e8 MD5 ab6ce2ea4dcde7efec15ebcc878dff2e netpbm-10.26.36.ebuild 2804 RMD160 f86cbe9d79745c8182d3b2a1010385803374e812 netpbm-10.26.36.ebuild 2804 SHA256 5e8f10803041f6479183436f11396c8fcb4ec3b63bb3d8b7415dbaeb68d1ac03 netpbm-10.26.36.ebuild 2804 -EBUILD netpbm-10.26.37.ebuild 2804 RMD160 637efbeab5caface7c72c49df78308a42367a328 SHA1 cbd763886eb1f21c14c74ca11c40113756aae893 SHA256 d23c47bc8679f496dcb8cd27fe8b9ffd878826c90152452df7cf456077431d01 -MD5 fbdaea915b8e884bc171738c4048fae0 netpbm-10.26.37.ebuild 2804 -RMD160 637efbeab5caface7c72c49df78308a42367a328 netpbm-10.26.37.ebuild 2804 -SHA256 d23c47bc8679f496dcb8cd27fe8b9ffd878826c90152452df7cf456077431d01 netpbm-10.26.37.ebuild 2804 +EBUILD netpbm-10.26.37.ebuild 2856 RMD160 17d5525246f9db1718580368cffc8006dcd71cca SHA1 61030cfb420c93d145d1820fc0d3c4c6b31cbb0d SHA256 32f3f8cdeff99024bb3f1548ef848b02321e0cae1f45594e09e946ad05e3f5ce +MD5 8056056301fb82d8d217e8f33527195c netpbm-10.26.37.ebuild 2856 +RMD160 17d5525246f9db1718580368cffc8006dcd71cca netpbm-10.26.37.ebuild 2856 +SHA256 32f3f8cdeff99024bb3f1548ef848b02321e0cae1f45594e09e946ad05e3f5ce netpbm-10.26.37.ebuild 2856 EBUILD netpbm-10.34.ebuild 3207 RMD160 c02448c9092821ea29ecb8c045a7906dccf547c5 SHA1 6701bc459db19057cfac64b8707de7d8c27a8d6f SHA256 202b73c0274774c0f69f03d2f4015001c71e942b1f3edcea8bde5bde16f8af9a MD5 bf474a5af02f5038b9fc6688242ac5fa netpbm-10.34.ebuild 3207 RMD160 c02448c9092821ea29ecb8c045a7906dccf547c5 netpbm-10.34.ebuild 3207 @@ -56,10 +60,10 @@ EBUILD netpbm-10.37.0.ebuild 3159 RMD160 9c204b6d3ee1a259dce5935bc13e2b135c6d97f MD5 cbbf2d2c37165b8ff738f22858ed01ca netpbm-10.37.0.ebuild 3159 RMD160 9c204b6d3ee1a259dce5935bc13e2b135c6d97ff netpbm-10.37.0.ebuild 3159 SHA256 bf7e93bb6ba515eae041617a2efc74ce5a701c321727e5be273d8a39af6964c8 netpbm-10.37.0.ebuild 3159 -MISC ChangeLog 19995 RMD160 a7f611c6c4807cdc337db5a16b4eb1410ea5500e SHA1 d6d1d6bfa1ec1a2e64540a5c03a1dc0cb5fdea1b SHA256 5f0bddfccb10369ad168e59802db0f75161c15d24c4e9c6c838f131c00aaa26d -MD5 fe526b8d01f9154bfcd80f73551a9046 ChangeLog 19995 -RMD160 a7f611c6c4807cdc337db5a16b4eb1410ea5500e ChangeLog 19995 -SHA256 5f0bddfccb10369ad168e59802db0f75161c15d24c4e9c6c838f131c00aaa26d ChangeLog 19995 +MISC ChangeLog 20175 RMD160 58101f9f6e504c61a06d57bacf35dfe282ff1104 SHA1 1971a6c9bbaaabcee55bc2623713e8f7298bc83e SHA256 a55c157def569e0291b7c16aadb025c8298ecacb0ff748d16c70739f2f637751 +MD5 5bf8408bc97525be4209c44b6145f3ac ChangeLog 20175 +RMD160 58101f9f6e504c61a06d57bacf35dfe282ff1104 ChangeLog 20175 +SHA256 a55c157def569e0291b7c16aadb025c8298ecacb0ff748d16c70739f2f637751 ChangeLog 20175 MISC metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 SHA1 1c35398222ef7ed670c31965e42cca77fe4b1da6 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1 MD5 5fc54c5d01402d0610fafa96961bb8e0 metadata.xml 161 RMD160 60f70b15d67f0e6aafc59833b2f0a30e30b51765 metadata.xml 161 @@ -82,7 +86,7 @@ SHA256 a427fccacb195a5758556a0a2180efb03ea8816c0425a139b09ed36a6f96cd75 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFmyhH8bi6rjpTunYRArwCAKDcX2oPkZo9aZaFl6bccVM54BcnLwCgtVEL -hKg1hL/CWO8uI9Au3YnchXY= -=aeok +iD8DBQFFmy7b8bi6rjpTunYRAshaAKDGdhhsLHHhENJodQvxwFPz8JmOeACgtycV +fjD/PiijIwynAaBg9V3szEs= +=jlJw -----END PGP SIGNATURE----- diff --git a/media-libs/netpbm/files/netpbm-10.26.37-headers.patch b/media-libs/netpbm/files/netpbm-10.26.37-headers.patch new file mode 100644 index 000000000000..dcdcfb89994a --- /dev/null +++ b/media-libs/netpbm/files/netpbm-10.26.37-headers.patch @@ -0,0 +1,251 @@ +--- netpbm-10.26.37/buildtools/typegen.c ++++ netpbm-10.26.37/buildtools/typegen.c +@@ -28,6 +28,7 @@ + -----------------------------------------------------------------------------*/ + #include + #include ++#include + + + +--- netpbm-10.26.37/converter/pbm/escp2topbm.c ++++ netpbm-10.26.37/converter/pbm/escp2topbm.c +@@ -16,6 +16,8 @@ + ** implied warranty. + */ + ++#include ++ + #include "pbm.h" + + /* RLE decoder */ +--- netpbm-10.26.37/converter/pbm/pbmtoescp2.c ++++ netpbm-10.26.37/converter/pbm/pbmtoescp2.c +@@ -14,6 +14,8 @@ + + /* I used the Epson ESC/P Reference Manual (1997) in writing this. */ + ++#include ++ + #include "pbm.h" + #include "shhopt.h" + +--- netpbm-10.26.37/converter/other/pamtohdiff.c ++++ netpbm-10.26.37/converter/other/pamtohdiff.c +@@ -14,6 +14,7 @@ + + ******************************************************************************/ + #include ++#include + + #include "pam.h" + #include "shhopt.h" +--- netpbm-10.26.37/converter/other/fiasco/binerror.c ++++ netpbm-10.26.37/converter/other/fiasco/binerror.c +@@ -25,6 +25,7 @@ + #include "config.h" + + #include ++#include + + #if STDC_HEADERS + # include +--- netpbm-10.26.37/converter/other/fiasco/codec/coeff.c ++++ netpbm-10.26.37/converter/other/fiasco/codec/coeff.c +@@ -14,6 +14,8 @@ + * $State: Exp $ + */ + ++#include ++ + #include "config.h" + + #include "types.h" +--- netpbm-10.26.37/converter/other/fiasco/codec/dfiasco.c ++++ netpbm-10.26.37/converter/other/fiasco/codec/dfiasco.c +@@ -14,6 +14,8 @@ + * $State: Exp $ + */ + ++#include ++ + #include "config.h" + + #include "types.h" +--- netpbm-10.26.37/converter/other/pnmtoxwd.c ++++ netpbm-10.26.37/converter/other/pnmtoxwd.c +@@ -10,6 +10,8 @@ + ** implied warranty. + */ + ++#include ++ + #include "pnm.h" + #include "shhopt.h" + #include "mallocvar.h" +--- netpbm-10.26.37/converter/other/pnmtopalm/palmtopnm.c ++++ netpbm-10.26.37/converter/other/pnmtopalm/palmtopnm.c +@@ -10,6 +10,7 @@ + ******************************************************************************/ + + #include ++#include + + #include "pnm.h" + #include "shhopt.h" +--- netpbm-10.26.37/converter/other/pnmtopalm/pnmtopalm.c ++++ netpbm-10.26.37/converter/other/pnmtopalm/pnmtopalm.c +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + + #include "pnm.h" + #include "palm.h" +--- netpbm-10.26.37/converter/other/hdifftopam.c ++++ netpbm-10.26.37/converter/other/hdifftopam.c +@@ -7,6 +7,7 @@ + By Bryan Henderson, San Jose, CA 2002.04.15. + ******************************************************************************/ + #include ++#include + + #include "pam.h" + #include "shhopt.h" +--- netpbm-10.26.37/converter/ppm/ppmtoterm.c ++++ netpbm-10.26.37/converter/ppm/ppmtoterm.c +@@ -19,6 +19,7 @@ + ** + */ + ++#include + #include "ppm.h" + #include "shhopt.h" + +--- netpbm-10.26.37/other/pamstack.c ++++ netpbm-10.26.37/other/pamstack.c +@@ -12,6 +12,8 @@ + Contributed to the public domain by its author 2002.05.05. + -----------------------------------------------------------------------------*/ + ++#include ++ + #include "pam.h" + #include "shhopt.h" + +--- netpbm-10.26.37/other/pamarith.c ++++ netpbm-10.26.37/other/pamarith.c +@@ -13,6 +13,8 @@ + ** implied warranty. + */ + ++#include ++ + #include "pam.h" + #include "shhopt.h" + +--- netpbm-10.26.37/other/pamchannel.c ++++ netpbm-10.26.37/other/pamchannel.c +@@ -11,6 +11,8 @@ + Contributed to the public domain by its author 2000.08.05. + -----------------------------------------------------------------------------*/ + ++#include ++ + #include "pam.h" + #include "shhopt.h" + #include "mallocvar.h" +--- netpbm-10.26.37/editor/pamditherbw.c ++++ netpbm-10.26.37/editor/pamditherbw.c +@@ -11,6 +11,7 @@ + =============================================================================*/ + + #include ++#include + #include "pam.h" + #include "dithers.h" + #include "mallocvar.h" +--- netpbm-10.26.37/editor/pnmsmooth.c ++++ netpbm-10.26.37/editor/pnmsmooth.c +@@ -23,6 +23,7 @@ + #define _BSD_SOURCE 1 + /* This makes sure that mkstemp() is in unistd.h */ + ++#include + #include + #include + #include "pnm.h" +--- netpbm-10.26.37/generator/ppmwheel.c ++++ netpbm-10.26.37/generator/ppmwheel.c +@@ -13,6 +13,8 @@ + ** implied warranty. + */ + ++#include ++ + #include "ppm.h" + #include + +--- netpbm-10.26.37/converter/other/fiasco/input/basis.c ++++ netpbm-10.26.37/converter/other/fiasco/input/basis.c +@@ -14,6 +14,8 @@ + * $State: Exp $ + */ + ++#include ++ + #include "config.h" + + #include "types.h" +--- netpbm-10.26.37/converter/other/pnmtotiffcmyk.c ++++ netpbm-10.26.37/converter/other/pnmtotiffcmyk.c +@@ -58,6 +58,7 @@ + /* On AIX, _XOPEN_SOURCE keeps inttypes.h from conflicting with tiffio.h */ + #define _XOPEN_SOURCE + ++#include + #include "pnm.h" + #include + /* float.h used to be included only if __osf__ was defined. On some +--- netpbm-10.26.37/analyzer/pnmpsnr.c ++++ netpbm-10.26.37/analyzer/pnmpsnr.c +@@ -10,6 +10,7 @@ + + #include + #include ++#include + + #include "pam.h" + +--- netpbm-10.26.37/editor/pnmpad.c ++++ netpbm-10.26.37/editor/pnmpad.c +@@ -11,6 +11,7 @@ + */ + + #include ++#include + #include "pnm.h" + #include "shhopt.h" + #include "mallocvar.h" +--- netpbm-10.26.37/generator/pbmpage.c ++++ netpbm-10.26.37/generator/pbmpage.c +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include + #include "pbm.h" + + /* Support both US and A4. */ +--- netpbm-10.26.37/converter/other/fiasco/input/mc.c ++++ netpbm-10.26.37/converter/other/fiasco/input/mc.c +@@ -15,6 +15,8 @@ + * $State: Exp $ + */ + ++#include ++ + #include "config.h" + + #include "types.h" diff --git a/media-libs/netpbm/netpbm-10.26.37.ebuild b/media-libs/netpbm/netpbm-10.26.37.ebuild index 3ad681d74f43..55aa1e64648f 100644 --- a/media-libs/netpbm/netpbm-10.26.37.ebuild +++ b/media-libs/netpbm/netpbm-10.26.37.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.26.37.ebuild,v 1.1 2007/01/03 03:19:36 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/netpbm-10.26.37.ebuild,v 1.2 2007/01/03 04:18:18 vapier Exp $ inherit flag-o-matic toolchain-funcs eutils multilib @@ -49,6 +49,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/netpbm-10.30-build.patch + epatch "${FILESDIR}"/netpbm-10.26.37-headers.patch rm -f configure cp Makefile.config.in Makefile.config -- 2.26.2