Allow to specify the full path for the menu.
Somewhat related and where this patch comes from: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644756 maintainer (benoit@) ok.
This commit is contained in:
parent
992adee7cb
commit
57a48e1b38
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.64 2011/11/11 10:59:17 benoit Exp $
|
||||
# $OpenBSD: Makefile,v 1.65 2012/05/29 15:52:08 fgsch Exp $
|
||||
|
||||
COMMENT = small, fast & usable window manager
|
||||
|
||||
V = 3.5.0
|
||||
DISTNAME = openbox-${V}
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
SHARED_LIBS += obt 0.0 # 0.1
|
||||
SHARED_LIBS += obrender 10.0 # 27.1
|
||||
|
||||
|
12
x11/openbox/patches/patch-obt_xml_c
Normal file
12
x11/openbox/patches/patch-obt_xml_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-obt_xml_c,v 1.1 2012/05/29 15:52:08 fgsch Exp $
|
||||
--- obt/xml.c.orig Tue May 29 01:49:56 2012
|
||||
+++ obt/xml.c Tue May 29 01:51:19 2012
|
||||
@@ -129,6 +129,8 @@ static gboolean load_file(ObtXmlInst *i,
|
||||
|
||||
if (!domain && !filename) /* given a full path to the file */
|
||||
path = g_strdup(it->data);
|
||||
+ else if (stat(filename, &s) == 0)
|
||||
+ path = g_strdup(filename);
|
||||
else
|
||||
path = g_build_filename(it->data, domain, filename, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user