mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Fix build with -fno-common
This commit is contained in:
parent
a76f56d06b
commit
60478f3780
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550062
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= wmjupiter
|
||||
PORTVERSION= 1.21
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= astro windowmaker
|
||||
|
||||
MAINTAINER= tkuiper@inxsoft.net
|
||||
|
19
astro/wmjupiter/files/patch-xutils.c
Normal file
19
astro/wmjupiter/files/patch-xutils.c
Normal file
@ -0,0 +1,19 @@
|
||||
--- xutils.c.orig 2015-12-06 02:51:22 UTC
|
||||
+++ xutils.c
|
||||
@@ -40,6 +40,16 @@
|
||||
#include "xutils.h"
|
||||
|
||||
|
||||
+/*
|
||||
+ * Global variable
|
||||
+ */
|
||||
+Display *display;
|
||||
+Window Root;
|
||||
+Window iconwin, win;
|
||||
+int screen;
|
||||
+int DisplayDepth;
|
||||
+GC NormalGC;
|
||||
+
|
||||
|
||||
/*
|
||||
* X11 Variables
|
21
astro/wmjupiter/files/patch-xutils.h
Normal file
21
astro/wmjupiter/files/patch-xutils.h
Normal file
@ -0,0 +1,21 @@
|
||||
--- xutils.h.orig 2015-12-06 02:51:22 UTC
|
||||
+++ xutils.h
|
||||
@@ -18,12 +18,12 @@ typedef struct {
|
||||
/*
|
||||
* Global variable
|
||||
*/
|
||||
-Display *display;
|
||||
-Window Root;
|
||||
-Window iconwin, win;
|
||||
-int screen;
|
||||
-int DisplayDepth;
|
||||
-GC NormalGC;
|
||||
+extern Display *display;
|
||||
+extern Window Root;
|
||||
+extern Window iconwin, win;
|
||||
+extern int screen;
|
||||
+extern int DisplayDepth;
|
||||
+extern GC NormalGC;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user