From a8679be968244023445fb546717759e9926f45b4 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 12 Jun 2010 14:05:40 +0000 Subject: Fix build with latest XShm from xsrc. Hopefully still works with other Xs. (If not, fix emulators/vice as well, same type of fix.) --- graphics/libvideogfx/distinfo | 4 ++-- graphics/libvideogfx/patches/patch-ac | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'graphics/libvideogfx') diff --git a/graphics/libvideogfx/distinfo b/graphics/libvideogfx/distinfo index d063c05fecf..ca3b66436fd 100644 --- a/graphics/libvideogfx/distinfo +++ b/graphics/libvideogfx/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.3 2006/01/15 20:34:13 joerg Exp $ +$NetBSD: distinfo,v 1.4 2010/06/12 14:05:40 wiz Exp $ SHA1 (libvideogfx-1.0.3.tar.gz) = 1f78e185a05bf063a5f2c9ea4afae1a2d2715b89 RMD160 (libvideogfx-1.0.3.tar.gz) = db64375cc2e298b2cd0c7ff95401b913d4cc5236 Size (libvideogfx-1.0.3.tar.gz) = 332532 bytes SHA1 (patch-aa) = 35f558789c9a8704a0324691c1ab53dbc5310850 SHA1 (patch-ab) = 69e0eee594c5930f181241b963cd59f6c022beb4 -SHA1 (patch-ac) = c86809f7fe594d44039039f0eac9c58e86def1dc +SHA1 (patch-ac) = 720cac4ec2a0df8bb44fb4834dd245dc8e693166 SHA1 (patch-ad) = 9189a999ef64636562014306b7a3e5e138776273 SHA1 (patch-ae) = 6462a94b85a7be12fcff1d36c17b83f640f27b43 SHA1 (patch-af) = 06704cb9bfe2a940c676880104c976d2948afe83 diff --git a/graphics/libvideogfx/patches/patch-ac b/graphics/libvideogfx/patches/patch-ac index d3fab38f151..d06f5bdd18d 100644 --- a/graphics/libvideogfx/patches/patch-ac +++ b/graphics/libvideogfx/patches/patch-ac @@ -1,6 +1,6 @@ -$NetBSD: patch-ac,v 1.1 2006/01/15 20:34:13 joerg Exp $ +$NetBSD: patch-ac,v 1.2 2010/06/12 14:05:40 wiz Exp $ ---- libvideogfx/x11/dispimg.cc.orig 2006-01-15 20:20:09.000000000 +0000 +--- libvideogfx/x11/dispimg.cc.orig 2002-05-27 14:02:43.000000000 +0000 +++ libvideogfx/x11/dispimg.cc @@ -19,6 +19,7 @@ @@ -10,3 +10,12 @@ $NetBSD: patch-ac,v 1.1 2006/01/15 20:34:13 joerg Exp $ #include #include #include +@@ -32,6 +33,8 @@ using namespace std; + + namespace X11 { + #include ++#include ++#include + #include + #include + -- cgit v1.2.3