From d8707ba967eb602799a7fbf210eddecffdce5a00 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Wed, 15 Feb 2017 20:31:16 +0000 Subject: 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. --- x11-wm/fvwm/files/patch-fvwm-functions.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 x11-wm/fvwm/files/patch-fvwm-functions.c (limited to 'x11-wm/fvwm/files/patch-fvwm-functions.c') 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; -- cgit v1.2.3