rpms/gv/devel gv-3.6.1-resource.patch,NONE,1.1

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Thu Oct 27 20:24:08 UTC 2005


Author: orion

Update of /cvs/extras/rpms/gv/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1684

Added Files:
	gv-3.6.1-resource.patch 
Log Message:
patch find app defaults file (#171848)


gv-3.6.1-resource.patch:

--- NEW FILE gv-3.6.1-resource.patch ---
--- gv-3.6.1/src/resource.c.orig	2004-12-06 16:36:57.000000000 -0700
+++ gv-3.6.1/src/resource.c	2005-10-27 13:55:29.000000000 -0600
@@ -151,7 +151,8 @@
     //  s = XtResolvePathname(display,"app-defaults",NULL,NULL,NULL,NULL,0,NULL);
     /* #endif */
 
-    String rpath = GV_XtNewString(GV_LIBDIR);
+    sprintf(tmp,"%s/%s",GV_LIBDIR,app_class);
+    String rpath = GV_XtNewString(tmp);
     if (rpath) {
       INFSMESSAGE(merging system resource file into database,rpath)
 	XrmCombineFileDatabase(rpath,&db,True);




More information about the fedora-extras-commits mailing list