aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-wm/dwm/Makefile4
-rw-r--r--x11-wm/dwm/distinfo6
-rw-r--r--x11-wm/dwm/files/patch-config.mk18
3 files changed, 16 insertions, 12 deletions
diff --git a/x11-wm/dwm/Makefile b/x11-wm/dwm/Makefile
index 23c1c2dbab44..2107204ece50 100644
--- a/x11-wm/dwm/Makefile
+++ b/x11-wm/dwm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dwm
-PORTVERSION= 4.5
+PORTVERSION= 4.6
CATEGORIES= x11-wm
MASTER_SITES= http://www.suckless.org/download/ \
http://schot.a-eskwadraat.nl/files/
@@ -25,7 +25,7 @@ PORTDOCS= LICENSE README
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-4.5 config.h-files no longer work."
+ @${ECHO_MSG} "Note: Pre-4.6 config.h-files no longer work."
post-extract:
.if defined(DWM_CONF)
diff --git a/x11-wm/dwm/distinfo b/x11-wm/dwm/distinfo
index 2b995c2477d0..a1a16bbdb14f 100644
--- a/x11-wm/dwm/distinfo
+++ b/x11-wm/dwm/distinfo
@@ -1,3 +1,3 @@
-MD5 (dwm-4.5.tar.gz) = b178fefb55f015b648d756e70fcccccc
-SHA256 (dwm-4.5.tar.gz) = 00ee8229f56deeaff5be25a1f27c0fa07669e4cc827c0d38ff4b3e415f020752
-SIZE (dwm-4.5.tar.gz) = 17338
+MD5 (dwm-4.6.tar.gz) = a4cf0d788f12bcc6cd1897079990ad45
+SHA256 (dwm-4.6.tar.gz) = 0421595e3599bacab0b4f087bbfb5ca60d1f30209d79f757abd1e37dee45c78e
+SIZE (dwm-4.6.tar.gz) = 17558
diff --git a/x11-wm/dwm/files/patch-config.mk b/x11-wm/dwm/files/patch-config.mk
index 9aefee3dce5f..e4a3294a78ee 100644
--- a/x11-wm/dwm/files/patch-config.mk
+++ b/x11-wm/dwm/files/patch-config.mk
@@ -1,7 +1,7 @@
---- config.mk.orig Mon Aug 20 00:36:39 2007
-+++ config.mk Mon Aug 20 00:48:16 2007
-@@ -7,19 +7,19 @@
- SRC = tile.c
+--- config.mk.orig 2007-10-25 20:24:37.000000000 +0200
++++ config.mk 2007-10-27 00:42:50.000000000 +0200
+@@ -4,21 +4,21 @@
+ # Customize below to fit your system
# paths
-PREFIX = /usr/local
@@ -21,12 +21,16 @@
# flags
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-LDFLAGS = -s ${LIBS}
+-CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
+-LDFLAGS = -g ${LIBS}
+CFLAGS+= ${INCS} -DVERSION=\"${VERSION}\"
+LDFLAGS+= ${LIBS}
- #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
- #LDFLAGS = -g ${LIBS}
++#CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
++#LDFLAGS = -g ${LIBS}
-@@ -29,4 +29,4 @@
+ # Solaris
+ #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
+@@ -26,4 +26,4 @@
#CFLAGS += -xtarget=ultra
# compiler and linker