svn commit: r544222 - in branches/2020Q3/x11/dmenu: . files

Mateusz Piotrowski 0mp at FreeBSD.org
Wed Aug 5 14:05:06 UTC 2020


Author: 0mp
Date: Wed Aug  5 14:05:05 2020
New Revision: 544222
URL: https://svnweb.freebsd.org/changeset/ports/544222

Log:
  MFH: r543974
  
  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
  Approved by:	ports-secteam (joneum)

Added:
  branches/2020Q3/x11/dmenu/files/patch-config.mk
     - copied unchanged from r543974, head/x11/dmenu/files/patch-config.mk
Deleted:
  branches/2020Q3/x11/dmenu/files/patch-dmenu.c
Modified:
  branches/2020Q3/x11/dmenu/Makefile
  branches/2020Q3/x11/dmenu/distinfo
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/x11/dmenu/Makefile
==============================================================================
--- branches/2020Q3/x11/dmenu/Makefile	Wed Aug  5 13:12:23 2020	(r544221)
+++ branches/2020Q3/x11/dmenu/Makefile	Wed Aug  5 14:05:05 2020	(r544222)
@@ -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: branches/2020Q3/x11/dmenu/distinfo
==============================================================================
--- branches/2020Q3/x11/dmenu/distinfo	Wed Aug  5 13:12:23 2020	(r544221)
+++ branches/2020Q3/x11/dmenu/distinfo	Wed Aug  5 14:05:05 2020	(r544222)
@@ -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

Copied: branches/2020Q3/x11/dmenu/files/patch-config.mk (from r543974, head/x11/dmenu/files/patch-config.mk)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2020Q3/x11/dmenu/files/patch-config.mk	Wed Aug  5 14:05:05 2020	(r544222, copy of r543974, head/x11/dmenu/files/patch-config.mk)
@@ -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