From d2d061d6f4226d3cf99d47fc8a5d52669911f1d6 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 14 Feb 2009 18:33:06 +0000 Subject: Fix build with newer Gtk. --- graphics/pornview/distinfo | 3 ++- graphics/pornview/patches/patch-af | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 graphics/pornview/patches/patch-af (limited to 'graphics') diff --git a/graphics/pornview/distinfo b/graphics/pornview/distinfo index 67aadf638dc..cb155850aa1 100644 --- a/graphics/pornview/distinfo +++ b/graphics/pornview/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/02/11 13:06:43 rillig Exp $ +$NetBSD: distinfo,v 1.2 2009/02/14 18:33:06 joerg Exp $ SHA1 (pornview_0.2pre1.orig.tar.gz) = 3a26412affac6e211da928cc471a4b1bbc55b2a0 RMD160 (pornview_0.2pre1.orig.tar.gz) = 03a9d01235fafbfb9825da43e79fbfb66a2ecbfa @@ -8,3 +8,4 @@ SHA1 (patch-ab) = b0c59a238eced5a2480d7c10c06f5c800e087f39 SHA1 (patch-ac) = a0fc989c301f92e28910251397a73d621a25f4f5 SHA1 (patch-ad) = 7ba8d060156213552bf1e86143547c692ce4705f SHA1 (patch-ae) = 4f87f6357642d5c37baf5124668aeb46e4c2825d +SHA1 (patch-af) = 1d3a825b8336b508f1a90f88aa5386d9c1ac9f51 diff --git a/graphics/pornview/patches/patch-af b/graphics/pornview/patches/patch-af new file mode 100644 index 00000000000..7a0d8d1a078 --- /dev/null +++ b/graphics/pornview/patches/patch-af @@ -0,0 +1,15 @@ +$NetBSD: patch-af,v 1.1 2009/02/14 18:33:06 joerg Exp $ + +--- src/support/widgets/gtkcellrendererpixmap.c.orig 2009-02-14 19:18:45.000000000 +0100 ++++ src/support/widgets/gtkcellrendererpixmap.c +@@ -12,10 +12,6 @@ + * Copyright (C) 2000 Red Hat, Inc., Jonathan Blandford + */ + +-#ifndef GTK_DISABLE_DEPRECATED +-#define GTK_DISABLE_DEPRECATED +-#endif /* GTK_DISABLE_DEPRECATED */ +- + #include "gtkcellrendererpixmap.h" + + #if (GTK_MAJOR_VERSION >= 2) -- cgit v1.2.3