summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-pkgview/files/patch-src_config-path.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-26 14:06:07 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-01-26 14:06:07 +0800
commit1e70059bbae7773d93867dd9a638183d5f1d5e6a (patch)
tree1933a3a73c0372c21767b24330d760b02380d32c /sysutils/gnome-pkgview/files/patch-src_config-path.c
parentc117f90c814bfc6e67560f533fb056e5cd60d777 (diff)
downloadmarcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar
marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar.gz
marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar.bz2
marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar.lz
marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar.xz
marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.tar.zst
marcuscom-ports-1e70059bbae7773d93867dd9a638183d5f1d5e6a.zip
Add gnome-pkgview.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@460 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gnome-pkgview/files/patch-src_config-path.c')
-rw-r--r--sysutils/gnome-pkgview/files/patch-src_config-path.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/gnome-pkgview/files/patch-src_config-path.c b/sysutils/gnome-pkgview/files/patch-src_config-path.c
new file mode 100644
index 000000000..2eed9821d
--- /dev/null
+++ b/sysutils/gnome-pkgview/files/patch-src_config-path.c
@@ -0,0 +1,13 @@
+--- src/config-path.c.orig Thu Nov 14 02:23:41 2002
++++ src/config-path.c Thu Nov 14 02:29:54 2002
+@@ -14,9 +14,7 @@
+ pkgs_found = 0;
+
+ /* parse the PKG_CONFIG_PATH env var, and add a terminator */
+- if ( getenv ("PKG_CONFIG_PATH") ) {
+- path = g_strconcat(getenv("PKG_CONFIG_PATH"),":DIRS_DONE",NULL);
+- }
++ path = "%%LOCALBASE%%/libdata/pkgconfig:%%X11BASE%%/libdata/pkgconfig:DIRS_DONE";
+
+ /* walk the PKG_CONFIG_PATH for other files */
+ if ( path ) {