1 diff -u ./backend/ps/ps-document.c-orig ./backend/ps/ps-document.c 2 --- ./backend/ps/ps-document.c-orig 2006-02-20 06:09:32.000000000 +0000 3 +++ ./backend/ps/ps-document.c 2006-05-29 17:08:30.616063000 +0100 4 @@ -223,6 +227,10 @@ 5 return FALSE; 6 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 if (!gs_path) { 13 gchar *filename_dsp; 14 15 diff -u evince-0.8.1/backend/ps/ps-interpreter.c-orig evince-0.8.1/backend/ps/ps-interpreter.c 16 --- evince-0.8.1/backend/ps/ps-interpreter.c-orig 2007-05-09 17:12:39.465323000 +0100 17 +++ evince-0.8.1/backend/ps/ps-interpreter.c 2007-05-09 17:12:47.395430000 +0100 18 @@ -412,6 +412,10 @@ 19 20 /* set up the args... */ 21 gs_path = g_find_program_in_path ("gs"); 22 + /* Temporary fix until gs moves to /usr/bin */ 23 + if ( gs_path == NULL ) { 24 + gs_path = g_find_program_in_path ("/usr/sfw/bin/gs"); 25 + } 26 gs_args = g_strsplit (gs_path, " ", NUM_GS_ARGS); 27 g_free (gs_path); 28 for (i = 0; i < NUM_GS_ARGS && gs_args[i]; i++, argc++) { 29 30