- 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
This commit is contained in:
Alexey Dokuchaev 2020-09-01 11:55:32 +00:00
parent 77132aba6f
commit 3b01af5b89
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547266
2 changed files with 9 additions and 12 deletions

View File

@ -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

View File

@ -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)