diff options
author | joerg <joerg@pkgsrc.org> | 2013-10-11 14:54:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-10-11 14:54:05 +0000 |
commit | d80e6e469a844c6b64fb54f8bc4eac2a7b3a2b89 (patch) | |
tree | a7560217615b811ba4a5beeba26010f08f7978a3 /graphics/jpeg | |
parent | a411ad763c32af199ae2f53e332eb4441592200f (diff) | |
download | pkgsrc-d80e6e469a844c6b64fb54f8bc4eac2a7b3a2b89.tar.gz |
Make jpeglib.h work in files that don't include stdio.h first.
Diffstat (limited to 'graphics/jpeg')
-rw-r--r-- | graphics/jpeg/Makefile | 3 | ||||
-rw-r--r-- | graphics/jpeg/distinfo | 3 | ||||
-rw-r--r-- | graphics/jpeg/patches/patch-jpeglib.h | 12 |
3 files changed, 16 insertions, 2 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile index 123e4d63640..876bc4a2a53 100644 --- a/graphics/jpeg/Makefile +++ b/graphics/jpeg/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.47 2013/01/24 21:49:18 adam Exp $ +# $NetBSD: Makefile,v 1.48 2013/10/11 14:54:05 joerg Exp $ DISTNAME= jpegsrc.v9 PKGNAME= ${DISTNAME:S/src.v/-/} +PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.ijg.org/files/ diff --git a/graphics/jpeg/distinfo b/graphics/jpeg/distinfo index e58dc0ee46f..5dfd091d49e 100644 --- a/graphics/jpeg/distinfo +++ b/graphics/jpeg/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.16 2013/01/24 22:10:42 adam Exp $ +$NetBSD: distinfo,v 1.17 2013/10/11 14:54:05 joerg Exp $ SHA1 (jpegsrc.v9.tar.gz) = 724987e7690ca3d74d6ab7c1f1b6854e88ca204b RMD160 (jpegsrc.v9.tar.gz) = 048e52334f6341424bd684458799d9c72254e8ec @@ -6,3 +6,4 @@ Size (jpegsrc.v9.tar.gz) = 987900 bytes SHA1 (patch-af) = aba44e1e3520d2a232f6bd949a82c150e0b3e0f4 SHA1 (patch-ag) = 4fc698186d149f1152d30bf65a96461bc331c812 SHA1 (patch-jmorecfg.h) = 153694c30f466222240275a7c9f525d6df60bda5 +SHA1 (patch-jpeglib.h) = 635453c5a2b1223ef5af729edcbfcfa3ed78a8b5 diff --git a/graphics/jpeg/patches/patch-jpeglib.h b/graphics/jpeg/patches/patch-jpeglib.h new file mode 100644 index 00000000000..d4cc4e80238 --- /dev/null +++ b/graphics/jpeg/patches/patch-jpeglib.h @@ -0,0 +1,12 @@ +$NetBSD: patch-jpeglib.h,v 1.1 2013/10/11 14:54:06 joerg Exp $ + +--- jpeglib.h.orig 2013-10-11 13:06:28.000000000 +0000 ++++ jpeglib.h +@@ -26,6 +26,7 @@ + #endif + #include "jmorecfg.h" /* seldom changed options */ + ++#include <stdio.h> + + #ifdef __cplusplus + #ifndef DONT_USE_EXTERN_C |