aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/pekwm
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-31 19:18:17 +0800
committerbapt <bapt@FreeBSD.org>2012-12-31 19:18:17 +0800
commitce46d2fd240437d2124c9ef19cf7b28e744eafe3 (patch)
tree8d3e32830981aaeb71cbe857cbd53f74c6b12266 /x11-wm/pekwm
parent8fb4a7f3ab56137426c2609ba1fb961341e34fc0 (diff)
downloadfreebsd-ports-gnome-ce46d2fd240437d2124c9ef19cf7b28e744eafe3.tar.gz
freebsd-ports-gnome-ce46d2fd240437d2124c9ef19cf7b28e744eafe3.tar.zst
freebsd-ports-gnome-ce46d2fd240437d2124c9ef19cf7b28e744eafe3.zip
- update to 0.1.16
- add a patch to fix complication with our old gcc 4.2.1 PR: ports/174847 Submitted by: "Herbert J. Skuhra" <h.skuhra@gmail.com>
Diffstat (limited to 'x11-wm/pekwm')
-rw-r--r--x11-wm/pekwm/Makefile16
-rw-r--r--x11-wm/pekwm/distinfo4
-rw-r--r--x11-wm/pekwm/files/patch-src_x11.cc25
3 files changed, 30 insertions, 15 deletions
diff --git a/x11-wm/pekwm/Makefile b/x11-wm/pekwm/Makefile
index 21b189f00559..3e99aee24ba1 100644
--- a/x11-wm/pekwm/Makefile
+++ b/x11-wm/pekwm/Makefile
@@ -1,12 +1,8 @@
-# Ports collection makefile for: pekwm
-# Date created: Nov 1, 2002
-# Whom: anders@hack.org
-#
+# Created by: anders@hack.org
# $FreeBSD$
-#
PORTNAME= pekwm
-PORTVERSION= 0.1.15
+PORTVERSION= 0.1.16
PORTEPOCH= 1
CATEGORIES= x11-wm
MASTER_SITES= http://pekwm.org/projects/3/files/
@@ -14,7 +10,7 @@ MASTER_SITES= http://pekwm.org/projects/3/files/
MAINTAINER= bapt@FreeBSD.org
COMMENT= Light, Unobtrusive, and configurable windowmanager
-LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
+LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png
USE_XORG= xft xpm x11
@@ -32,10 +28,4 @@ LDFLAGS+= -L${LOCALBASE}/lib -liconv
MAN1= pekwm.1
MANCOMPRESSED= no
-# replace calls to obsolete libpng12 functions
-post-extract:
- @${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|; \
- s|png_check_sig(sig, PImageLoaderPng::PNG_SIG_BYTES) !=|png_sig_cmp(sig, 0, PImageLoaderPng::PNG_SIG_BYTES) ==|' \
- ${WRKSRC}/src/PImageLoaderPng.cc
-
.include <bsd.port.mk>
diff --git a/x11-wm/pekwm/distinfo b/x11-wm/pekwm/distinfo
index 6000b37b8436..cb51bfe86f7b 100644
--- a/x11-wm/pekwm/distinfo
+++ b/x11-wm/pekwm/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pekwm-0.1.15.tar.bz2) = 56d405b87f3d858ebc53a227e4de23b9273067707251145c90af08d35bc7582f
-SIZE (pekwm-0.1.15.tar.bz2) = 395557
+SHA256 (pekwm-0.1.16.tar.bz2) = 899eef35d5d1f472dd65a08c180b9719935cb1f42eda7fada6f9b8b551c79c96
+SIZE (pekwm-0.1.16.tar.bz2) = 401550
diff --git a/x11-wm/pekwm/files/patch-src_x11.cc b/x11-wm/pekwm/files/patch-src_x11.cc
new file mode 100644
index 000000000000..7501fc88932d
--- /dev/null
+++ b/x11-wm/pekwm/files/patch-src_x11.cc
@@ -0,0 +1,25 @@
+--- src/x11.cc.orig 2012-12-31 01:07:34.000000000 +0100
++++ src/x11.cc 2012-12-31 01:11:01.000000000 +0100
+@@ -993,6 +993,8 @@
+ /**
+ * Wrapper for XKeycodeToKeysym and XkbKeycodeToKeysym depending on which one is available.
+ */
++#pragma GCC diagnostic push
++#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+ KeySym
+ X11::getKeysymFromKeycode(KeyCode keycode)
+ {
+@@ -1001,12 +1003,9 @@
+ return XkbKeycodeToKeysym(_dpy, keycode, 0, 0);
+ else
+ #endif
+-
+-#pragma GCC diagnostic push
+-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+ return XKeycodeToKeysym(_dpy, keycode, 0);
+-#pragma GCC diagnostic pop
+ }
++#pragma GCC diagnostic pop
+
+ Display *X11::_dpy;
+ bool X11::_honour_randr = false; \ No newline at end of file