mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
673 B

  1. --- ./lib/gvc/gvconfig.c.orig 2005-08-18 11:25:03.000000000 +0200
  2. +++ ./lib/gvc/gvconfig.c 2005-08-18 11:28:17.000000000 +0200
  3. @@ -235,7 +235,11 @@
  4. gvplugin_library_t *library;
  5. char *plugin_glob = "libgvplugin*.so.?";
  6. - if (config_path) {
  7. + // this so-called "config file" should be in /var/cache, morrons!
  8. + // I'm going to change the config file location, so here is a little
  9. + // hack which skips updating the file when graphviz is called in a
  10. + // Build-Pkg process tree... - clifford
  11. + if (config_path && !getenv("ROCKCFG_ID")) {
  12. f = fopen(config_path,"w");
  13. if (!f) {
  14. agerr(AGERR,"failed to open %s for write.\n", config_path);