From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 23 08:00:21 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 037671065677 for ; Mon, 23 May 2011 08:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C729F8FC12 for ; Mon, 23 May 2011 08:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4N80KFf071949 for ; Mon, 23 May 2011 08:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4N80K78071948; Mon, 23 May 2011 08:00:20 GMT (envelope-from gnats) Resent-Date: Mon, 23 May 2011 08:00:20 GMT Resent-Message-Id: <201105230800.p4N80K78071948@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeroen Schot Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD683106566B for ; Mon, 23 May 2011 07:50:27 +0000 (UTC) (envelope-from schot@A-Eskwadraat.nl) Received: from square.phys.uu.nl (square.phys.uu.nl [131.211.39.72]) by mx1.freebsd.org (Postfix) with ESMTP id 824408FC15 for ; Mon, 23 May 2011 07:50:27 +0000 (UTC) Received: from werner.localdomain ([10.14.0.16]) by square.phys.uu.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1QOPf1-0006kq-Nw for FreeBSD-gnats-submit@freebsd.org; Mon, 23 May 2011 09:34:43 +0200 Received: from schot by werner.localdomain with local (Exim 4.72) (envelope-from ) id 1QOPf1-0007nS-Mc for FreeBSD-gnats-submit@freebsd.org; Mon, 23 May 2011 09:34:43 +0200 Message-Id: <20110523073443.GA29883@A-Eskwadraat.nl> Date: Mon, 23 May 2011 09:34:43 +0200 From: Jeroen Schot To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/157263: Update port: x11/dmenu to 4.3.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2011 08:00:21 -0000 >Number: 157263 >Category: ports >Synopsis: Update port: x11/dmenu to 4.3.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon May 23 08:00:20 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jeroen Schot >Release: FreeBSD 8.2-RELEASE i386 >Organization: >Environment: System: FreeBSD maxwell.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Update port: x11/dmenu Attached diff updates the port of x11/dmenu from 4.2.1 to 4.3.1 and adds the LICENSE and LICENSE_FILE variables to the Makefile. >How-To-Repeat: >Fix: diff -ruN dmenu.orig/Makefile dmenu/Makefile --- dmenu.orig/Makefile 2011-03-25 14:23:32.000000000 +0100 +++ dmenu/Makefile 2011-05-23 09:23:50.000000000 +0200 @@ -6,8 +6,7 @@ # PORTNAME= dmenu -PORTVERSION= 4.2.1 -PORTREVISION= 1 +PORTVERSION= 4.3.1 CATEGORIES= x11 MASTER_SITES= http://dl.suckless.org/tools/ \ http://schot.a-eskwadraat.nl/files/ @@ -22,6 +21,9 @@ MAN1= dmenu.1 PLIST_FILES= bin/dmenu bin/dmenu_path bin/dmenu_run +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + .include .if defined(WITH_XINERAMA) diff -ruN dmenu.orig/distinfo dmenu/distinfo --- dmenu.orig/distinfo 2011-03-09 17:55:56.000000000 +0100 +++ dmenu/distinfo 2011-05-20 20:24:34.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (dmenu-4.2.1.tar.gz) = 30bd5ff7d54befcfeb5d5e0bc9316bc4752f4fd125d30c1ed8127eaa668ff069 -SIZE (dmenu-4.2.1.tar.gz) = 9426 +SHA256 (dmenu-4.3.1.tar.gz) = 7da646228b52a2a5966b27190701e9514c08ee16ac538404b5dfa13b10b3c0ca +SIZE (dmenu-4.3.1.tar.gz) = 8905 diff -ruN dmenu.orig/files/patch-Makefile dmenu/files/patch-Makefile --- dmenu.orig/files/patch-Makefile 2011-03-25 14:23:32.000000000 +0100 +++ dmenu/files/patch-Makefile 2011-05-20 22:59:12.000000000 +0200 @@ -1,28 +1,6 @@ ---- Makefile.orig 2010-11-20 10:24:33.000000000 +0100 -+++ Makefile 2011-03-24 17:16:32.000000000 +0100 -@@ -12,16 +12,17 @@ - @echo "CC = ${CC}" - - dmenu: dmenu.o draw.o -+ @echo CC -o $@ -+ @${CC} -o $@ dmenu.o draw.o ${LDFLAGS} -+ - dmenu_path: dmenu_path.o -+ @echo CC -o $@ -+ @${CC} -o $@ dmenu_path.o ${LDFLAGS} - - .c.o: config.mk - @echo CC -c $< - @${CC} -c $< ${CFLAGS} - --dmenu dmenu_path: -- @echo CC -o $@ -- @${CC} -o $@ $+ ${LDFLAGS} -- - clean: - @echo cleaning - @rm -f dmenu dmenu.o draw.o dmenu_path dmenu_path.o dmenu-${VERSION}.tar.gz -@@ -41,17 +42,17 @@ +--- Makefile.orig 2011-05-18 18:02:16.000000000 +0200 ++++ Makefile 2011-05-20 22:52:15.000000000 +0200 +@@ -43,17 +43,17 @@ @chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu @chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu_path @chmod 755 ${DESTDIR}${PREFIX}/bin/dmenu_run diff -ruN dmenu.orig/files/patch-config.mk dmenu/files/patch-config.mk --- dmenu.orig/files/patch-config.mk 2011-03-25 14:23:32.000000000 +0100 +++ dmenu/files/patch-config.mk 2011-05-20 22:58:52.000000000 +0200 @@ -1,7 +1,7 @@ ---- config.mk.orig 2010-11-20 10:24:33.000000000 +0100 -+++ config.mk 2011-03-24 17:19:41.000000000 +0100 -@@ -4,11 +4,11 @@ - # Customize below to fit your system +--- config.mk.orig 2011-05-18 18:02:16.000000000 +0200 ++++ config.mk 2011-05-20 22:58:36.000000000 +0200 +@@ -2,11 +2,11 @@ + VERSION = 4.3.1 # paths -PREFIX = /usr/local @@ -16,15 +16,15 @@ # Xinerama, comment if you don't want it XINERAMALIBS = -lXinerama -@@ -19,9 +19,9 @@ +@@ -17,9 +17,9 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} # flags -CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} --CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +-CFLAGS = -ansi -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -LDFLAGS = -s ${LIBS} +CPPFLAGS+= -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -+CFLAGS += -std=c99 ${INCS} ${CPPFLAGS} ++CFLAGS += -ansi ${INCS} ${CPPFLAGS} +LDFLAGS += ${LIBS} # compiler and linker >Release-Note: >Audit-Trail: >Unformatted: