summaryrefslogtreecommitdiff
path: root/x11-wm/fvwm/files/patch-fvwm-functions.c
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2017-02-15 20:31:16 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2017-02-15 20:31:16 +0000
commitd8707ba967eb602799a7fbf210eddecffdce5a00 (patch)
treefe2a0bd3d1da7c449cf69e851bf2eb1f5840764a /x11-wm/fvwm/files/patch-fvwm-functions.c
parentAddress build failutre default-build-as-user: (diff)
Remove -fPIC and fix the real problem where a variable is defined as an
array in one file and declared as a pointer in another.
Diffstat (limited to 'x11-wm/fvwm/files/patch-fvwm-functions.c')
-rw-r--r--x11-wm/fvwm/files/patch-fvwm-functions.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-wm/fvwm/files/patch-fvwm-functions.c b/x11-wm/fvwm/files/patch-fvwm-functions.c
new file mode 100644
index 000000000000..93a915863421
--- /dev/null
+++ b/x11-wm/fvwm/files/patch-fvwm-functions.c
@@ -0,0 +1,20 @@
+--- fvwm/functions.c.orig 1994-11-15 14:18:26 UTC
++++ fvwm/functions.c
+@@ -52,7 +52,7 @@
+ extern XEvent Event;
+ extern FvwmWindow *Tmp_win;
+ extern int menuFromFrameOrWindowOrTitlebar;
+-extern DoHandlePageing;
++extern Bool DoHandlePageing;
+
+ extern char **g_argv;
+
+@@ -1643,7 +1643,7 @@ void MapIt(FvwmWindow *t)
+
+ void QuickRestart(void)
+ {
+- extern char *m4_options;
++ extern char m4_options[];
+ extern char *display_name;
+ int i;
+ FvwmWindow *tmp,*next;