Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2009 13:40:49 +0200
From:      Jeroen Schot <schot@A-Eskwadraat.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/136926: Update port: x11-wm/dwm to 5.6
Message-ID:  <20090720114049.GA4432@A-Eskwadraat.nl>
Resent-Message-ID: <200907201200.n6KC0HmW046369@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         136926
>Category:       ports
>Synopsis:       Update port: x11-wm/dwm to 5.6
>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 Jul 20 12:00:16 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jeroen Schot
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD emmett.localdomain 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:
13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Update port: x11-wm/dwm to 5.6
Attached diff updates the port of x11-wm/dwm from 5.5 to 5.6.
>How-To-Repeat:
>Fix:
diff -ruN dwm.orig/Makefile dwm/Makefile
--- dwm.orig/Makefile	2009-04-27 21:15:46.000000000 +0200
+++ dwm/Makefile	2009-07-20 13:35:10.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dwm
-PORTVERSION=	5.5
+PORTVERSION=	5.6
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://code.suckless.org/dl/${PORTNAME}/ \
 		http://schot.a-eskwadraat.nl/files/
@@ -25,7 +25,7 @@
 pre-everything::
 	@${ECHO_MSG} "You can build dwm with your own config.h using the DWM_CONF knob:"
 	@${ECHO_MSG} "make DWM_CONF=/path/to/dwm/config.h install clean"
-	@${ECHO_MSG} "Note: Pre-5.5 config.h-files no longer work."
+	@${ECHO_MSG} "Note: Pre-5.6 config.h-files no longer work."
 
 post-extract:
 .if defined(DWM_CONF)
diff -ruN dwm.orig/distinfo dwm/distinfo
--- dwm.orig/distinfo	2009-04-27 21:15:46.000000000 +0200
+++ dwm/distinfo	2009-07-20 13:07:44.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (dwm-5.5.tar.gz) = 352d952e839ab0e2df0b0959a250b098
-SHA256 (dwm-5.5.tar.gz) = ee56b43f3a12c292ae4df2902412ae5a16b345813b9220732e3c48669371b8c8
-SIZE (dwm-5.5.tar.gz) = 17959
+MD5 (dwm-5.6.tar.gz) = 9fcea56d7ead12c445d65482e6d4c3bb
+SHA256 (dwm-5.6.tar.gz) = 5519123de8709703f3783a91f21c06f9f832b07626637851f2806774efbe2be9
+SIZE (dwm-5.6.tar.gz) = 19294
diff -ruN dwm.orig/files/patch-config.mk dwm/files/patch-config.mk
--- dwm.orig/files/patch-config.mk	2009-04-27 21:15:47.000000000 +0200
+++ dwm/files/patch-config.mk	2009-07-20 13:30:12.000000000 +0200
@@ -1,5 +1,5 @@
---- config.mk.orig	2008-07-29 20:18:32.000000000 +0200
-+++ config.mk	2008-08-06 00:31:19.000000000 +0200
+--- config.mk.orig	2009-07-14 20:07:55.000000000 +0200
++++ config.mk	2009-07-20 13:29:40.000000000 +0200
 @@ -4,11 +4,11 @@
  # Customize below to fit your system
  
@@ -14,18 +14,20 @@
 +X11INC = $(LOCALBASE)/include
 +X11LIB = $(LOCALBASE)/lib
  
- # Xinerama, comment if you don't want it
+ # Xinerama, un-comment if you want it
  XINERAMALIBS = -L${X11LIB} -lXinerama
-@@ -19,13 +19,13 @@
+@@ -19,15 +19,15 @@
  LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS}
  
  # flags
 -CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
++CPPFLAGS+= -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+ #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
 -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
++CFLAGS+= -std=c99 ${INCS} ${CPPFLAGS}
+ #LDFLAGS = -g ${LIBS}
 -LDFLAGS = -s ${LIBS}
-+CPPFLAGS+= -std=c99 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-+CFLAGS+= ${INCS} ${CPPFLAGS}
-+LDFLAGS+= ${LIBS}
++LDFLAGS+=  ${LIBS}
  
  # Solaris
  #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090720114049.GA4432>