svn commit: r543974 - in head/x11/dmenu: . files
Mateusz Piotrowski
0mp at FreeBSD.org
Sun Aug 2 16:34:26 UTC 2020
Author: 0mp
Date: Sun Aug 2 16:34:25 2020
New Revision: 543974
URL: https://svnweb.freebsd.org/changeset/ports/543974
Log:
x11/dmenu: Get the latest bug fixes from upstream
Users are still reporting issues with the dmenu version 4.9. The patch we
have currently in the ports tree was meant to be a temporary fix as we
waited for a new dmenu release. A new release is not coming apparently,
so let's just get the latest patches from upstream.
Also, switch to a GitHub-hosted mirror of the dmenu repository
as it is painful to get artifacts from https://git.suckless.org/
without a Git client.
While here, replace REINPLACE_CMD with patches.
Reported by: Scott Robbins
MFH: 2020Q3
Added:
head/x11/dmenu/files/patch-config.mk (contents, props changed)
Deleted:
head/x11/dmenu/files/patch-dmenu.c
Modified:
head/x11/dmenu/Makefile
head/x11/dmenu/distinfo
Modified: head/x11/dmenu/Makefile
==============================================================================
--- head/x11/dmenu/Makefile Sun Aug 2 16:04:58 2020 (r543973)
+++ head/x11/dmenu/Makefile Sun Aug 2 16:34:25 2020 (r543974)
@@ -2,11 +2,9 @@
# $FreeBSD$
PORTNAME= dmenu
-DISTVERSION= 4.9
-PORTREVISION= 1
+DISTVERSION= 4.9-6
+DISTVERSIONSUFFIX= -g9b38fda
CATEGORIES= x11
-MASTER_SITES= http://dl.suckless.org/tools/ \
- http://schot.a-eskwadraat.nl/files/
MAINTAINER= 0mp at FreeBSD.org
COMMENT= X11 menu application designed for the dwm window manager
@@ -20,6 +18,9 @@ OPTIONS_DEFINE= XINERAMA
OPTIONS_DEFAULT= XINERAMA
USES= xorg
+USE_GITHUB= yes
+GH_ACCOUNT= 0mp
+GH_PROJECT= freebsd-${PORTNAME}
USE_XORG= x11 xft
MAKE_ARGS= CC="${CC}" PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}/man" \
X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib" \
@@ -30,13 +31,6 @@ PLIST_FILES= bin/dmenu bin/dmenu_path bin/dmenu_run bi
XINERAMA_USE= XORG=xinerama
XINERAMA_MAKE_ARGS_OFF= XINERAMAFLAGS= XINERAMALIBS=
-
-post-configure:
- @${REINPLACE_CMD} -E \
- -e "s|(CFLAGS[[:space:]]*)= |\1+= |" \
- -e "s|(CPPFLAGS[[:space:]]*)= |\1+= |" \
- -e "s|(LDFLAGS[[:space:]]*)= |\1+= |" \
- ${WRKSRC}/config.mk
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dmenu \
Modified: head/x11/dmenu/distinfo
==============================================================================
--- head/x11/dmenu/distinfo Sun Aug 2 16:04:58 2020 (r543973)
+++ head/x11/dmenu/distinfo Sun Aug 2 16:34:25 2020 (r543974)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1551305095
-SHA256 (dmenu-4.9.tar.gz) = b3971f4f354476a37b2afb498693649009b201550b0c7c88e866af8132b64945
-SIZE (dmenu-4.9.tar.gz) = 15972
+TIMESTAMP = 1596384435
+SHA256 (0mp-freebsd-dmenu-4.9-6-g9b38fda_GH0.tar.gz) = b111ecec87cdd1191e711ded09ba2d33b4b69fb2cc9ea2b90fd86d64ab87943a
+SIZE (0mp-freebsd-dmenu-4.9-6-g9b38fda_GH0.tar.gz) = 16012
Added: head/x11/dmenu/files/patch-config.mk
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/dmenu/files/patch-config.mk Sun Aug 2 16:34:25 2020 (r543974)
@@ -0,0 +1,15 @@
+--- config.mk.orig 2020-08-02 16:25:39 UTC
++++ config.mk
+@@ -23,9 +23,9 @@ INCS = -I$(X11INC) -I$(FREETYPEINC)
+ LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS)
+
+ # flags
+-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS)
+-CFLAGS = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS)
+-LDFLAGS = $(LIBS)
++CPPFLAGS += -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS)
++CFLAGS += -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS)
++LDFLAGS += $(LIBS)
+
+ # compiler and linker
+ CC = cc
More information about the svn-ports-all
mailing list