mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
misc/wmScoreBoard: fix build with -fcommon
PR: 267614 Reported by: fuz@fuz.su (maintainer) MFH: 2022Q4 (build fix)
This commit is contained in:
parent
a5f1cca72a
commit
4d4c08ea1c
3 changed files with 33 additions and 3 deletions
|
@ -10,9 +10,6 @@ COMMENT= Window Maker dockapp that display game scores from excite
|
||||||
LICENSE= GPLv2+
|
LICENSE= GPLv2+
|
||||||
LICENSE_FILE= ${WRKSRC}/../COPYING
|
LICENSE_FILE= ${WRKSRC}/../COPYING
|
||||||
|
|
||||||
BROKEN_FreeBSD_13= ld: error: duplicate symbol: DisplayDepth
|
|
||||||
BROKEN_FreeBSD_14= ld: error: duplicate symbol: DisplayDepth
|
|
||||||
|
|
||||||
RUN_DEPENDS= wget:ftp/wget
|
RUN_DEPENDS= wget:ftp/wget
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
||||||
|
|
14
misc/wmScoreBoard/files/patch-xutils.c
Normal file
14
misc/wmScoreBoard/files/patch-xutils.c
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- xutils.c.orig 2022-11-07 09:20:08 UTC
|
||||||
|
+++ xutils.c
|
||||||
|
@@ -39,6 +39,11 @@
|
||||||
|
* X11 Variables
|
||||||
|
*/
|
||||||
|
|
||||||
|
+Display *display;
|
||||||
|
+Window Root;
|
||||||
|
+Window iconwin, win;
|
||||||
|
+int screen;
|
||||||
|
+int DisplayDepth;
|
||||||
|
int x_fd;
|
||||||
|
XSizeHints mysizehints;
|
||||||
|
XWMHints mywmhints;
|
19
misc/wmScoreBoard/files/patch-xutils.h
Normal file
19
misc/wmScoreBoard/files/patch-xutils.h
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
--- xutils.h.orig 2022-11-07 09:20:05 UTC
|
||||||
|
+++ xutils.h
|
||||||
|
@@ -15,11 +15,11 @@ typedef struct {
|
||||||
|
* Global variables
|
||||||
|
*/
|
||||||
|
|
||||||
|
-Display *display;
|
||||||
|
-Window Root;
|
||||||
|
-Window iconwin, win;
|
||||||
|
-int screen;
|
||||||
|
-int DisplayDepth;
|
||||||
|
+extern Display *display;
|
||||||
|
+extern Window Root;
|
||||||
|
+extern Window iconwin, win;
|
||||||
|
+extern int screen;
|
||||||
|
+extern int DisplayDepth;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Function Prototypes
|
Loading…
Add table
Reference in a new issue