summaryrefslogtreecommitdiff
path: root/www/Mosaic/patches/patch-ag
diff options
context:
space:
mode:
authortv <tv>1998-07-12 03:59:32 +0000
committertv <tv>1998-07-12 03:59:32 +0000
commit421be42ef77bc7cc7690daa254f07626c31f4bd4 (patch)
treee1415d0550488a06b10b4f86e92334cdc89c89b7 /www/Mosaic/patches/patch-ag
parentbf45ea18f63090d2cb0e703027680a00416eb259 (diff)
downloadpkgsrc-421be42ef77bc7cc7690daa254f07626c31f4bd4.tar.gz
Import of FreeBSD's XMosaic port, with NetBSD changes to follow
Diffstat (limited to 'www/Mosaic/patches/patch-ag')
-rw-r--r--www/Mosaic/patches/patch-ag11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/Mosaic/patches/patch-ag b/www/Mosaic/patches/patch-ag
new file mode 100644
index 00000000000..b2a9496b23f
--- /dev/null
+++ b/www/Mosaic/patches/patch-ag
@@ -0,0 +1,11 @@
+--- ./src/gui.c.org Tue Apr 9 21:47:32 1996
++++ ./src/gui.c Tue Apr 9 22:01:26 1996
+@@ -3623,7 +3623,7 @@
+ return 0;
+ else
+ {
+-{char ans[10]; printf("Press RETURN\n"); gets(ans);}
++{char ans[10]; printf("Press RETURN\n"); fgets(ans, sizeof(ans), stdin);}
+ /* All other errors are 'fatal'. */
+ XGetErrorText (dsp, event->error_code, buf, 128);
+ fprintf (stderr, "X Error: %s\n", buf);