From b26f1de910b7e366006f4b4cb8af212eeccef401 Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 25 Jun 2006 18:20:13 +0000 Subject: Fix another incompatibility with gtk+-2.9.4. Obtained from: GNOME CVS git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6491 df743ca5-7f9a-e211-a948-0013205c9059 --- x11-toolkits/py-gtk2/Makefile | 3 ++- x11-toolkits/py-gtk2/files/patch-gtk_gtk-2.10.defs | 24 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 x11-toolkits/py-gtk2/files/patch-gtk_gtk-2.10.defs diff --git a/x11-toolkits/py-gtk2/Makefile b/x11-toolkits/py-gtk2/Makefile index 5dec83f9d..3f99337cb 100644 --- a/x11-toolkits/py-gtk2/Makefile +++ b/x11-toolkits/py-gtk2/Makefile @@ -3,11 +3,12 @@ # Whom: marc@informatik.uni-bremen.de # # $FreeBSD$ -# $MCom: ports/x11-toolkits/py-gtk2/Makefile,v 1.41 2006/06/15 18:20:46 marcus Exp $ +# $MCom: ports/x11-toolkits/py-gtk2/Makefile,v 1.42 2006/06/15 23:47:42 marcus Exp $ # PORTNAME= gtk PORTVERSION= 2.9.2 +PORTREVISION= 1 CATEGORIES= x11-toolkits python MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/pygtk/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/x11-toolkits/py-gtk2/files/patch-gtk_gtk-2.10.defs b/x11-toolkits/py-gtk2/files/patch-gtk_gtk-2.10.defs new file mode 100644 index 000000000..06730865e --- /dev/null +++ b/x11-toolkits/py-gtk2/files/patch-gtk_gtk-2.10.defs @@ -0,0 +1,24 @@ +--- gtk/gtk-2.10.defs.orig Sun Jun 25 14:12:02 2006 ++++ gtk/gtk-2.10.defs Sun Jun 25 14:12:28 2006 +@@ -1925,21 +1925,6 @@ + ) + ) + +-(define-method get_print_to_file +- (of-object "GtkPrintSettings") +- (c-name "gtk_print_settings_get_print_to_file") +- (return-type "gboolean") +-) +- +-(define-method set_print_to_file +- (of-object "GtkPrintSettings") +- (c-name "gtk_print_settings_set_print_to_file") +- (return-type "none") +- (parameters +- '("gboolean" "print_to_file") +- ) +-) +- + (define-method get_print_pages + (of-object "GtkPrintSettings") + (c-name "gtk_print_settings_get_print_pages") -- cgit v1.2.3