Thursday, February 04, 2021

x11/wmglobe: -fno-common fix

There are 20+ duplicate symbols, and no patches around. I'm proposing
to use `-fcommon'. While here move dead HOMEPAGE and MASTER_SITES to
dockapps.net.

It has been tested successfully on macppc and amd64.

OK?

Charlène.


Index: Makefile
===================================================================
RCS file: /cvs/ports/astro/wmglobe/Makefile,v
retrieving revision 1.32
diff -u -p -u -p -r1.32 Makefile
--- Makefile 12 Jul 2019 20:43:31 -0000 1.32
+++ Makefile 1 Feb 2021 14:10:29 -0000
@@ -3,17 +3,17 @@
COMMENT= wm-dockapp; displays the earth on an icon

DISTNAME= wmglobe-1.3
-REVISION= 6
+REVISION= 7
CATEGORIES= astro x11 x11/windowmaker

-HOMEPAGE= http://hamete.org/static/wmg/
+HOMEPAGE= https://www.dockapps.net/wmglobe

# GPL
PERMIT_PACKAGE= Yes

WANTLIB= X11 Xext Xpm c m z jpeg tiff png gif wraster

-MASTER_SITES= ${HOMEPAGE}
+MASTER_SITES= https://www.dockapps.net/download/

LIB_DEPENDS= graphics/jpeg \
graphics/tiff \
@@ -23,5 +23,8 @@ LIB_DEPENDS= graphics/jpeg \

MAKE_ENV= CC="${CC}"
NO_TEST= Yes
+
+# 20+ duplicate symbols
+CFLAGS+= -fcommon

.include <bsd.port.mk>

No comments:

Post a Comment