mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 13:10:31 -04:00
C (and linkers) has changed a little since 2001, so patch up the places where "extern" is needed, add <string.h> and missing cases in switch() to silence warnings. golddig runs nearly as well as on my Apple //c (see games/kgoldrunner for a newer take on the same concept, though) Not taking maintainership, I just spotted this among the recent fallout-cleanup and thought "I can do that while I wait for the potatoes to boil."
10 lines
207 B
C
10 lines
207 B
C
--- golddig.c.orig 2021-02-18 16:25:22 UTC
|
|
+++ golddig.c
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <string.h>
|
|
#include <unistd.h>
|
|
#include <X11/Xlib.h>
|
|
#include <X11/keysym.h>
|