pkgsrc/lang/STk/patches/patch-ar
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
452 B
Text

$NetBSD: patch-ar,v 1.1 2008/09/07 00:23:58 dholland Exp $
--- Tk/generic/tkCursor.c~ 1998-01-03 07:46:25.000000000 -0500
+++ Tk/generic/tkCursor.c 2008-09-06 19:26:43.000000000 -0400
@@ -288,7 +288,7 @@ Tk_NameOfCursor(display, cursor)
if (!initialized) {
printid:
- sprintf(string, "cursor id 0x%x", (unsigned int) cursor);
+ sprintf(string, "cursor id 0x%lx", (unsigned long) cursor);
return string;
}
idKey.display = display;