1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

- fix build with -fcommon

This commit is contained in:
Dirk Meyer 2020-05-04 11:12:24 +00:00
parent 748d7f291a
commit 2ee431d8ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533915
3 changed files with 13 additions and 0 deletions

View File

@ -34,6 +34,7 @@ USE_XORG= xpm ice sm xext xv xt x11 xmu xxf86vm
USE_XORG+= xrender xinerama xi xrandr xcursor xcomposite xdamage xfixes
HAS_CONFIGURE= yes
MAKE_ENV+= MAKEINFOFLAGS="--no-split"
CFLAGS+= -fcommon
CONFIGURE_ARGS+= --enable-ipv6 \
--enable-external-ffmpeg \
--enable-x64 \

View File

@ -0,0 +1,11 @@
--- src/rs232drv/rs232.h.orig 2019-11-21 00:03:29 UTC
+++ src/rs232drv/rs232.h
@@ -78,7 +78,7 @@ extern int rs232_cmdline_options_init(void);
#define RS232_NUM_DEVICES 4
extern char *rs232_devfile[RS232_NUM_DEVICES];
-int rs232_useip232[RS232_NUM_DEVICES];
+extern int rs232_useip232[RS232_NUM_DEVICES];
/* the "ip232" protocol used by tcpser

View File

@ -29,6 +29,7 @@ LMAN1= as3compile.1 font2swf.1 gif2swf.1 jpeg2swf.1 pdf2swf.1 \
swfextract.1 swfrender.1 swfstrings.1 wav2swf.1
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -fcommon
LDFLAGS+= -L${LOCALBASE}/lib
BINFILES= as3compile font2swf gif2swf jpeg2swf pdf2swf png2swf \