Home | History | Annotate | Download | only in patches
      1 diff -u ./ps/ps-document.c-orig ./ps/ps-document.c
      2 --- ./ps/ps-document.c-orig	2006-02-20 06:09:32.000000000 +0000
      3 +++ ./ps/ps-document.c	2006-05-29 17:08:30.616063000 +0100
      4 @@ -635,6 +635,10 @@
      5  
      6  	/* set up the args... */
      7  	gs_path = g_find_program_in_path ("gs");
      8 +        /* Temporary fix until gs moves to /usr/bin */
      9 +        if ( gs_path == NULL ) {
     10 +            gs_path = g_find_program_in_path ("/usr/sfw/bin/gs");
     11 +        }
     12  	gs_args = g_strsplit (gs_path, " ", NUM_GS_ARGS);
     13  	g_free (gs_path);
     14  	for(i = 0; i < NUM_GS_ARGS && gs_args[i]; i++, argc++) {
     15 @@ -1073,6 +1077,10 @@
     16  		return FALSE;
     17  
     18  	gs_path = g_find_program_in_path ("gs");
     19 +        /* Temporary fix until gs moves to /usr/bin */
     20 +        if ( gs_path == NULL ) {
     21 +            gs_path = g_find_program_in_path ("/usr/sfw/bin/gs");
     22 +        }
     23  	if (!gs_path) {
     24          	    gchar *filename_dsp;
     25  	    	    filename_dsp = g_filename_display_name (filename);
     26 
     27