summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-06-26 02:20:13 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-06-26 02:20:13 +0800
commitb26f1de910b7e366006f4b4cb8af212eeccef401 (patch)
tree146844f7dc2ce071a9084b9238313dd997ea031f
parent2082411afe994093b548c3d41279a8cc119fb3ee (diff)
downloadmarcuscom-ports-b26f1de910b7e366006f4b4cb8af212eeccef401.tar
marcuscom-ports-b26f1de910b7e366006f4b4cb8af212eeccef401.tar.gz
marcuscom-ports-b26f1de910b7e366006f4b4cb8af212eeccef401.tar.bz2
marcuscom-ports-b26f1de910b7e366006f4b4cb8af212eeccef401.tar.lz
marcuscom-ports-b26f1de910b7e366006f4b4cb8af212eeccef401.tar.xz
marcuscom-ports-b26f1de910b7e366006f4b4cb8af212eeccef401.tar.zst
marcuscom-ports-b26f1de910b7e366006f4b4cb8af212eeccef401.zip
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
-rw-r--r--x11-toolkits/py-gtk2/Makefile3
-rw-r--r--x11-toolkits/py-gtk2/files/patch-gtk_gtk-2.10.defs24
2 files changed, 26 insertions, 1 deletions
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")