aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2013-09-08 16:54:25 +0800
committernovel <novel@FreeBSD.org>2013-09-08 16:54:25 +0800
commit8c67b06d05567a41cc6605c9718dcacf03c956c9 (patch)
treec3ec4db7a59c17e7b9f72570966a76a0cbc4635a /x11-wm
parent726341138feea9e48372b89878efcaec2c9f0ff9 (diff)
downloadfreebsd-ports-gnome-8c67b06d05567a41cc6605c9718dcacf03c956c9.tar.gz
freebsd-ports-gnome-8c67b06d05567a41cc6605c9718dcacf03c956c9.tar.zst
freebsd-ports-gnome-8c67b06d05567a41cc6605c9718dcacf03c956c9.zip
- Fix openbox-gnome-session script which wasn't functional because
of improper sed usage - Bump PORTREVISION Debugged and tested by: olgeni
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)