diff --git a/multimedia/kew/Makefile b/multimedia/kew/Makefile index a1abf2490b68..90c96ad73c9e 100644 --- a/multimedia/kew/Makefile +++ b/multimedia/kew/Makefile @@ -1,40 +1,39 @@ PORTNAME= kew DISTVERSIONPREFIX= v -DISTVERSION= 3.0.0 -PORTREVISION= 1 +DISTVERSION= 3.0.1 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Command-line music player with the terminal user interface (TUI) WWW= https://github.com/ravachol/kew LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= compilation fails with incompatible pointer, see https://github.com/ravachol/kew/issues/118 LIB_DEPENDS= libchafa.so:graphics/chafa \ libfaad.so:audio/faad \ libfftw3f.so:math/fftw3-float \ libnotify.so:devel/libnotify \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libopusfile.so:audio/opusfile \ libtag.so:audio/taglib \ libvorbis.so:audio/libvorbis USES= gettext-runtime gmake gnome pkgconfig USE_GNOME= glib20 USE_GITHUB= yes GH_ACCOUNT= ravachol MAKE_ARGS= CC=${CC} PREFIX=${PREFIX} PLIST_FILES= bin/kew \ share/man/man1/kew.1.gz post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kew .include diff --git a/multimedia/kew/distinfo b/multimedia/kew/distinfo index c9a1d1d85392..fd9653214706 100644 --- a/multimedia/kew/distinfo +++ b/multimedia/kew/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1729804278 -SHA256 (ravachol-kew-v3.0.0_GH0.tar.gz) = 3a6dad87b76ecd59a4c6a2517738cd3b7bd831fcafe1d741fcc5b285532bdbd4 -SIZE (ravachol-kew-v3.0.0_GH0.tar.gz) = 1106107 +TIMESTAMP = 1733449266 +SHA256 (ravachol-kew-v3.0.1_GH0.tar.gz) = 3b91d8cc661284b6f89ff54e59493fd3cf76f6e71f1d182c14b55a695ac47839 +SIZE (ravachol-kew-v3.0.1_GH0.tar.gz) = 1106253 diff --git a/multimedia/kew/files/patch-Makefile b/multimedia/kew/files/patch-Makefile new file mode 100644 index 000000000000..4af6c68096fe --- /dev/null +++ b/multimedia/kew/files/patch-Makefile @@ -0,0 +1,20 @@ +--- Makefile.orig 2024-12-06 01:44:59 UTC ++++ Makefile +@@ -58,7 +58,7 @@ COMMONFLAGS += -fstack-protector-strong -Wformat -Werr + + COMMONFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --cflags gio-2.0 chafa fftw3f opus opusfile vorbis ogg glib-2.0 taglib) + COMMONFLAGS += -fstack-protector-strong -Wformat -Werror=format-security -fPIE -D_FORTIFY_SOURCE=2 +-COMMONFLAGS += -Wall -Wextra -Wpointer-arith -flto ++COMMONFLAGS += -Wall -Wextra -Wpointer-arith + + CFLAGS = $(COMMONFLAGS) + +@@ -69,7 +69,7 @@ LIBS += -lstdc++ + LIBS = -L/usr/lib -lm -lopusfile -lglib-2.0 -lpthread $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs gio-2.0 chafa fftw3f opus opusfile ogg vorbis vorbisfile glib-2.0 taglib) + LIBS += -lstdc++ + +-LDFLAGS = -logg -lz -flto ++LDFLAGS = -logg -lz + + ifeq ($(UNAME_S), Linux) + CFLAGS += -fPIE