aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2013-09-08 08:54:25 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2013-09-08 08:54:25 +0000
commit04c771e5327727db145c7d7290030c49166581c6 (patch)
treec3ec4db7a59c17e7b9f72570966a76a0cbc4635a /x11-wm
parent658660e7f2b487bd4d07f8f159e4d38248e5584b (diff)
downloadports-04c771e5327727db145c7d7290030c49166581c6.tar.gz
ports-04c771e5327727db145c7d7290030c49166581c6.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/openbox/Makefile1
-rw-r--r--x11-wm/openbox/files/patch-data-xsession-openbox-gnome-session.in11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-wm/openbox/Makefile b/x11-wm/openbox/Makefile
index 9f1c26bd9181..e35fae8243fe 100644
--- a/x11-wm/openbox/Makefile
+++ b/x11-wm/openbox/Makefile
@@ -3,6 +3,7 @@
PORTNAME= openbox
PORTVERSION= 3.5.2
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= http://openbox.org/dist/openbox/
diff --git a/x11-wm/openbox/files/patch-data-xsession-openbox-gnome-session.in b/x11-wm/openbox/files/patch-data-xsession-openbox-gnome-session.in
new file mode 100644
index 000000000000..c2c0509b8246
--- /dev/null
+++ b/x11-wm/openbox/files/patch-data-xsession-openbox-gnome-session.in
@@ -0,0 +1,11 @@
+--- data/xsession/openbox-gnome-session.in.orig 2013-09-08 07:16:28.000000000 +0400
++++ data/xsession/openbox-gnome-session.in 2013-09-08 07:17:08.000000000 +0400
+@@ -13,7 +13,7 @@
+ -remove _NET_CURRENT_DESKTOP 2> /dev/null
+
+ VER=$(gnome-session --version 2>/dev/null | \
+- sed -e 's/[^0-9.]*\([0-9.]\+\)/\1/')
++ awk '{ print $2 }')
+
+ MAJOR=$(echo $VER | cut -d . -f 1)
+ MINOR=$(echo $VER | cut -d . -f 2)