summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/skencil/Makefile4
-rw-r--r--graphics/skencil/distinfo3
-rw-r--r--graphics/skencil/patches/patch-ab31
3 files changed, 35 insertions, 3 deletions
diff --git a/graphics/skencil/Makefile b/graphics/skencil/Makefile
index 17b01b71dc0..084be70ecac 100644
--- a/graphics/skencil/Makefile
+++ b/graphics/skencil/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2005/04/11 21:46:09 tv Exp $
+# $NetBSD: Makefile,v 1.5 2005/05/26 02:52:47 markd Exp $
#
DISTNAME= skencil-0.6.16
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sketch/}
diff --git a/graphics/skencil/distinfo b/graphics/skencil/distinfo
index 50b505ffd5e..8bd1135085a 100644
--- a/graphics/skencil/distinfo
+++ b/graphics/skencil/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 08:45:13 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/05/26 02:52:47 markd Exp $
SHA1 (skencil-0.6.16.tar.gz) = 4dfb1a15b7d30b6da7f6962723241d7e8079416b
RMD160 (skencil-0.6.16.tar.gz) = f1231a69c8abb5107ceb85a865b2604cbc0e1f01
Size (skencil-0.6.16.tar.gz) = 1136249 bytes
SHA1 (patch-aa) = 50e4c396e19c85a39866b9ca6834ff347a02cc3c
+SHA1 (patch-ab) = f512f6c33fbd68e700db8cdabda92546afdca00b
diff --git a/graphics/skencil/patches/patch-ab b/graphics/skencil/patches/patch-ab
new file mode 100644
index 00000000000..79383823e8b
--- /dev/null
+++ b/graphics/skencil/patches/patch-ab
@@ -0,0 +1,31 @@
+$NetBSD: patch-ab,v 1.1 2005/05/26 02:52:47 markd Exp $
+
+--- Pax/paxtkinter.c.orig 2003-05-04 06:55:36.000000000 +1200
++++ Pax/paxtkinter.c
+@@ -1866,6 +1866,9 @@ Tkinter_Create(PyObject *self, PyObject
+ char *className = NULL;
+ int interactive = 0;
+
++ int ignored_int = 0;
++ char *ignored_charp = NULL;
++
+ baseName = strrchr(Py_GetProgramName(), '/');
+ if (baseName != NULL)
+ baseName++;
+@@ -1873,9 +1876,16 @@ Tkinter_Create(PyObject *self, PyObject
+ baseName = Py_GetProgramName();
+ className = "Tk";
+
++#if PY_VERSION_HEX >= 0x02040000
++ if (!PyArg_ParseTuple(args, "|zssiiiiz:create",
++ &screenName, &baseName, &className,
++ &interactive, &ignored_int, &ignored_int,
++ &ignored_int, &ignored_charp))
++#else
+ if (!PyArg_ParseTuple(args, "|zssi",
+ &screenName, &baseName, &className,
+ &interactive))
++#endif
+ return NULL;
+
+ return (PyObject *) Tkapp_New(screenName, baseName, className,