diff options
-rw-r--r-- | x11-wm/openbox/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/openbox/files/patch-data-xsession-openbox-gnome-session.in | 11 |
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) |