summaryrefslogtreecommitdiff
path: root/emulators/gpsim
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-05-08 11:32:48 +0000
committerwiz <wiz@pkgsrc.org>2002-05-08 11:32:48 +0000
commit12d87905a2072b3bd3d25446ef9b8d72f516a12e (patch)
treee99951cbe6c118e8cabd88f20321fbfca11fc74a /emulators/gpsim
parent1acec6a9aca010cda3be5083f667d3549f28654d (diff)
downloadpkgsrc-12d87905a2072b3bd3d25446ef9b8d72f516a12e.tar.gz
Fix compilation on -current.
Patch by Jan Schaumann in pkg/16636.
Diffstat (limited to 'emulators/gpsim')
-rw-r--r--emulators/gpsim/distinfo3
-rw-r--r--emulators/gpsim/patches/patch-ae13
2 files changed, 15 insertions, 1 deletions
diff --git a/emulators/gpsim/distinfo b/emulators/gpsim/distinfo
index 473c8917eb3..2672fd40ea3 100644
--- a/emulators/gpsim/distinfo
+++ b/emulators/gpsim/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/04/27 14:43:55 agc Exp $
+$NetBSD: distinfo,v 1.2 2002/05/08 11:32:48 wiz Exp $
SHA1 (gpsim-0.20.7.tar.gz) = c3f76c4b8e4756ca1542a2529f44ace799b1d8ee
Size (gpsim-0.20.7.tar.gz) = 448581 bytes
@@ -6,3 +6,4 @@ SHA1 (patch-aa) = b01dc8b18a2718b1c9f440bd743e703bf8eecd5d
SHA1 (patch-ab) = d8848b2bf5394f8b41e7b3359096df2e592c9bf3
SHA1 (patch-ac) = f4225db4c5d8ee02f7322912bb8197f22c83a94e
SHA1 (patch-ad) = ca6d5c469df91a278d594cf239424c8d9f88b305
+SHA1 (patch-ae) = 5a5d673fe7948cd29ebce729312595bc9f0af223
diff --git a/emulators/gpsim/patches/patch-ae b/emulators/gpsim/patches/patch-ae
new file mode 100644
index 00000000000..139b6454bf4
--- /dev/null
+++ b/emulators/gpsim/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2002/05/08 11:32:49 wiz Exp $
+
+--- gpsim/main.cc.orig Mon Nov 20 07:20:43 2000
++++ gpsim/main.cc
+@@ -147,7 +147,7 @@
+ poptContext optCon; /* context for parsing command-line options */
+
+
+- optCon = poptGetContext(NULL, argc, argv, optionsTable, 0);
++ optCon = poptGetContext(NULL, argc, (const char **)argv, optionsTable, 0);
+ poptSetOtherOptionHelp(optCon, "[-h] [-p <device> [<hex_file>]] [-c <stc_file>]");
+
+