mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
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.
This commit is contained in:
parent
dd17237783
commit
d8707ba967
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434194
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= fvwm
|
||||
PORTVERSION= 1.24r
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES= x11-wm
|
||||
MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-1/
|
||||
PKGNAMESUFFIX= 1${PKGNAMESUFFIX2}
|
||||
@ -14,8 +14,6 @@ COMMENT= Fvwm window manager
|
||||
USES= imake
|
||||
USE_XORG= xbitmaps xpm xext x11 xmu
|
||||
|
||||
CFLAGS_aarch64= -fPIC
|
||||
|
||||
pre-configure:
|
||||
${REINPLACE_CMD} -e '/DependSubdirs/y,/*#, ,' ${WRKSRC}/Imakefile
|
||||
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
|
20
x11-wm/fvwm/files/patch-fvwm-functions.c
Normal file
20
x11-wm/fvwm/files/patch-fvwm-functions.c
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user