diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-09-01 11:55:32 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-09-01 11:55:32 +0000 |
commit | 3b01af5b896df017d4a6a17727cca697f4417a64 (patch) | |
tree | 67178cc150cd85812848b5df669ed3da24858bec | |
parent | net-mgmt/iftop: fix build with -fno-common (clang11/gcc10) (diff) |
- Add -fcommon to CFLAGS to unbreak the build against modern compilers
such as like Clang 11 or GCC 10
- Remove whitespace-only hunks from the patch, define LICENSE (GPLv2)
Reported by: pkg-fallout
Notes
Notes:
svn path=/head/; revision=547266
-rw-r--r-- | x11/xtacy/Makefile | 2 | ||||
-rw-r--r-- | x11/xtacy/files/patch-Imakefile | 19 |
2 files changed, 9 insertions, 12 deletions
diff --git a/x11/xtacy/Makefile b/x11/xtacy/Makefile index 23426b93a630..41cda868bc4b 100644 --- a/x11/xtacy/Makefile +++ b/x11/xtacy/Makefile @@ -12,6 +12,8 @@ DISTNAME= ${PORTNAME}114 MAINTAINER= matt@bdd.net COMMENT= X11 trippy color-cycling toy +LICENSE= GPLv2 + USES= imake xorg USE_XORG= x11 xext PLIST_FILES= bin/xtacy man/man1/xtacy.1.gz diff --git a/x11/xtacy/files/patch-Imakefile b/x11/xtacy/files/patch-Imakefile index 3867bfb393a6..b69778d42e8b 100644 --- a/x11/xtacy/files/patch-Imakefile +++ b/x11/xtacy/files/patch-Imakefile @@ -1,26 +1,21 @@ ---- Imakefile.orig Fri Dec 18 23:35:27 1998 -+++ Imakefile Fri Dec 18 23:39:50 1998 -@@ -1,20 +1,16 @@ +--- Imakefile.orig 1998-12-15 17:54:32 UTC ++++ Imakefile +@@ -1,7 +1,6 @@ # Imakefile -# For RedHat Linux , uncomment -lcrypt -LOCAL_LIBRARIES = $(XLIB) -lm # -lcrypt +LOCAL_LIBRARIES = $(XLIB) -lm -lcrypt --SRCS = bezier.c blob.c color.c cursor.c fields.c frame.c gravity.c\ -+SRCS= bezier.c blob.c color.c cursor.c fields.c frame.c gravity.c\ + SRCS = bezier.c blob.c color.c cursor.c fields.c frame.c gravity.c\ kaleid.c life.c lightning.c lunch.c math.c password.c plasma.c\ - rose.c rotate.c starback.c swarm.c tag.c trippy.c waves.c xguts.c\ - mirrors.c fractals.c modes.c - --OBJS=bezier.o blob.o color.o cursor.o fields.o frame.o gravity.o kaleid.o \ -+OBJS= bezier.o blob.o color.o cursor.o fields.o frame.o gravity.o kaleid.o \ - life.o lightning.o lunch.o math.o password.o plasma.o rose.o rotate.o \ +@@ -13,8 +12,7 @@ OBJS=bezier.o blob.o color.o cursor.o fields.o frame.o starback.o swarm.o tag.o trippy.o waves.o xguts.o mirrors.o \ fractals.o modes.o -- + -CDEBUGFLAGS = -O3 -Wall -g -CFLAGS = -O3 ++CFLAGS += -fcommon ComplexProgramTarget(xtacy) |