openbsd-ports/graphics/xv/patches/patch-config_h
2005-06-23 20:23:05 +00:00

27 lines
939 B
Plaintext

$OpenBSD: patch-config_h,v 1.3 2005/06/23 20:23:06 sturm Exp $
--- config.h.orig Thu Jun 23 21:59:31 2005
+++ config.h Thu Jun 23 21:59:31 2005
@@ -20,7 +20,7 @@
# ifdef VMS
# define GUNZIP "UNCOMPRESS"
# else
-# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__)
+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__linux__)
# define GUNZIP "/usr/bin/gzip -dq"
# else
# define GUNZIP "/usr/local/bin/gzip -dq" /* is full path truly needed? */
@@ -116,10 +116,9 @@
* should not need to be changed
*/
-/* #define GS_PATH "/usr/local/bin/gs" */
-#define GS_PATH "/usr/bin/gs"
-/* #define GS_LIB "." */
-/* #define GS_DEV "ppmraw" */
+#define GS_PATH "/usr/local/bin/gs"
+#define GS_LIB "/usr/local/share/ghostscript"
+#define GS_DEV "ppmraw"
/***************************************************************************