Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
xxxterm
0002-Fix-resources-dir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Fix-resources-dir.patch of Package xxxterm
From: Luis Henriques <henrix@camandro.org> Date: Wed, 4 Jan 2012 23:52:47 +0000 Subject: Fix resources dir Resources path is hard-coded both on the source code and on the configuration file. This patch updates these references as Debian does not use /usr/local for packages installation. . Upstream is not interested in changing this as its main target OS (OpenBSD) uses this location for its packages. . Forwarded: yes --- xxxterm.c | 2 +- xxxterm.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xxxterm.c b/xxxterm.c index 63c3344..63d388b 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -7717,7 +7717,7 @@ main(int argc, char **argv) /* set default string settings */ home = g_strdup(""); search_string = g_strdup("https://ssl.scroogle.org/cgi-bin/nbbwssl.cgi?Gw=%s"); - resource_dir = g_strdup("/usr/local/share/xxxterm/"); + resource_dir = g_strdup("/usr/share/xxxterm/"); strlcpy(runtime_settings, "runtime", sizeof runtime_settings); cmd_font_name = g_strdup("monospace normal 9"); oops_font_name = g_strdup("monospace normal 9"); diff --git a/xxxterm.conf b/xxxterm.conf index 191ec72..bea8669 100644 --- a/xxxterm.conf +++ b/xxxterm.conf @@ -168,7 +168,7 @@ ## ADVANCED SETTINGS ## -# resource_dir = /usr/local/share/xxxterm/ +# resource_dir = /usr/share/xxxterm/ # refresh_interval = 10 # url_regex = ^[[:blank:]]*[^[:blank:]]*([[:alnum:]-]+\.)+[[:alnum:]-][^[:blank:]]*[[:blank:]]*$ --
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor