Date: Fri, 25 Sep 2020 18:32:43 +0000 (UTC) From: =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550062 - in head/astro/wmjupiter: . files Message-ID: <202009251832.08PIWhJa009791@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: se Date: Fri Sep 25 18:32:43 2020 New Revision: 550062 URL: https://svnweb.freebsd.org/changeset/ports/550062 Log: Fix build with -fno-common Added: head/astro/wmjupiter/files/patch-xutils.c (contents, props changed) head/astro/wmjupiter/files/patch-xutils.h (contents, props changed) Modified: head/astro/wmjupiter/Makefile Modified: head/astro/wmjupiter/Makefile ============================================================================== --- head/astro/wmjupiter/Makefile Fri Sep 25 18:19:23 2020 (r550061) +++ head/astro/wmjupiter/Makefile Fri Sep 25 18:32:43 2020 (r550062) @@ -3,6 +3,7 @@ PORTNAME= wmjupiter PORTVERSION= 1.21 +PORTREVISION= 1 CATEGORIES= astro windowmaker MAINTAINER= tkuiper@inxsoft.net Added: head/astro/wmjupiter/files/patch-xutils.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/wmjupiter/files/patch-xutils.c Fri Sep 25 18:32:43 2020 (r550062) @@ -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 Added: head/astro/wmjupiter/files/patch-xutils.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/wmjupiter/files/patch-xutils.h Fri Sep 25 18:32:43 2020 (r550062) @@ -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; + + +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009251832.08PIWhJa009791>