diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-25 21:59:26 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-25 21:59:26 +0000 |
commit | bc2598d95c90205a01bf62cd5899aa82c2d15eab (patch) | |
tree | 8891b277176005747a8c6fa451476ce73c5f0ce5 /graphics/libvideogfx | |
parent | 4d8ddd58cad70cf32032cb8f7047f6521fb236bf (diff) | |
download | pkgsrc-bc2598d95c90205a01bf62cd5899aa82c2d15eab.tar.gz |
Fix build with newer GCC
Diffstat (limited to 'graphics/libvideogfx')
-rw-r--r-- | graphics/libvideogfx/distinfo | 4 | ||||
-rw-r--r-- | graphics/libvideogfx/patches/patch-libvideogfx_graphics_fileio_png.hh | 13 | ||||
-rw-r--r-- | graphics/libvideogfx/patches/patch-libvideogfx_utility_math.cc | 13 |
3 files changed, 29 insertions, 1 deletions
diff --git a/graphics/libvideogfx/distinfo b/graphics/libvideogfx/distinfo index e0c40e060c5..c929380488e 100644 --- a/graphics/libvideogfx/distinfo +++ b/graphics/libvideogfx/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2011/08/05 18:21:13 wiz Exp $ +$NetBSD: distinfo,v 1.7 2011/11/25 21:59:26 joerg Exp $ SHA1 (libvideogfx-1.0.3.tar.gz) = 1f78e185a05bf063a5f2c9ea4afae1a2d2715b89 RMD160 (libvideogfx-1.0.3.tar.gz) = db64375cc2e298b2cd0c7ff95401b913d4cc5236 @@ -11,3 +11,5 @@ SHA1 (patch-ae) = 979c2c53fb28e5b98c9de0be73c46b2f3415e240 SHA1 (patch-af) = 9d439e6cd14be344dd4ca39e2a319ee9b6b990d1 SHA1 (patch-ag) = f089e49bc735fb107013760cc77a0cd323f8caf2 SHA1 (patch-libvideogfx_graphics_fileio_png.cc) = d2f0d228b5f3f2a9478709ef9228dd1fa5d62a55 +SHA1 (patch-libvideogfx_graphics_fileio_png.hh) = 9c2a64f38f4941e796bbb7338aeedbbc4aabf708 +SHA1 (patch-libvideogfx_utility_math.cc) = 5f64829688f1cfaa68e8d5083417248a32bb2c3c diff --git a/graphics/libvideogfx/patches/patch-libvideogfx_graphics_fileio_png.hh b/graphics/libvideogfx/patches/patch-libvideogfx_graphics_fileio_png.hh new file mode 100644 index 00000000000..24c7db73e1b --- /dev/null +++ b/graphics/libvideogfx/patches/patch-libvideogfx_graphics_fileio_png.hh @@ -0,0 +1,13 @@ +$NetBSD: patch-libvideogfx_graphics_fileio_png.hh,v 1.1 2011/11/25 21:59:26 joerg Exp $ + +--- libvideogfx/graphics/fileio/png.hh.orig 2011-11-25 19:40:10.000000000 +0000 ++++ libvideogfx/graphics/fileio/png.hh +@@ -40,6 +40,8 @@ + + #include <libvideogfx/graphics/datatypes/image.hh> + ++#include <iostream> ++ + namespace videogfx { + + bool PNG_Supported(); diff --git a/graphics/libvideogfx/patches/patch-libvideogfx_utility_math.cc b/graphics/libvideogfx/patches/patch-libvideogfx_utility_math.cc new file mode 100644 index 00000000000..dc9bd7a98a6 --- /dev/null +++ b/graphics/libvideogfx/patches/patch-libvideogfx_utility_math.cc @@ -0,0 +1,13 @@ +$NetBSD: patch-libvideogfx_utility_math.cc,v 1.1 2011/11/25 21:59:26 joerg Exp $ + +--- libvideogfx/utility/math.cc.orig 2011-11-25 19:39:49.000000000 +0000 ++++ libvideogfx/utility/math.cc +@@ -19,7 +19,7 @@ + + #include "libvideogfx/utility/math.hh" + #include <assert.h> +-#include <iostream.h> ++#include <iostream> + using namespace std; + + namespace videogfx { |