pkgsrc/lang/STk/patches/patch-aq
dholland 20d64e25ec Fix broken build caused by invalid shell syntax in a configure script.
While here, patch a couple 64-bit issues and add destdir support. The
latter involved making some absolute symlinks relative, which changes
the binary package, and someone might have built this revision with a
version of bash accepting the invalid script syntax, so PKGREVISION++.
2008-09-07 00:23:57 +00:00

13 lines
482 B
Text

$NetBSD: patch-aq,v 1.1 2008/09/07 00:23:58 dholland Exp $
--- Tk/generic/tkArgv.c~ 1998-01-03 07:46:25.000000000 -0500
+++ Tk/generic/tkArgv.c 2008-09-06 19:25:03.000000000 -0400
@@ -178,7 +178,7 @@ Tk_ParseArgv(interp, tkwin, argcPtr, arg
infoPtr = matchPtr;
switch (infoPtr->type) {
case TK_ARGV_CONSTANT:
- *((int *) infoPtr->dst) = (int) infoPtr->src;
+ *((intptr_t *) infoPtr->dst) = (intptr_t) infoPtr->src;
break;
case TK_ARGV_INT:
if (argc == 0) {