openbsd-ports/x11/gnustep/gspdf/patches/patch-GSPdf_m
sebastia 1fc2096a2e import gspdf: PDF, PS and EPS viewer for GNUstep
pkg/DESCR:
GSPdf is a PDF and PostScript file viewer for GNUstep. GSPdf is a
frond-end for GhostScript, which is required at runtime to properly
render the pages.

OK, jasper@
2010-10-26 14:56:01 +00:00

16 lines
406 B
Plaintext

$OpenBSD: patch-GSPdf_m,v 1.1.1.1 2010/10/26 14:56:01 sebastia Exp $
Fix default location of where to find ghostscript
--- GSPdf.m.orig Tue Oct 26 02:47:33 2010
+++ GSPdf.m Tue Oct 26 02:48:45 2010
@@ -129,7 +129,7 @@ static GSPdf *gspdf = nil;
#if defined __NetBSD__
gsPathStr = @"/usr/pkg/bin/gs";
#else
- gsPathStr = @"/usr/bin/gs";
+ gsPathStr = @"${LOCALBASE}/bin/gs";
#endif
}