aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-02-15 11:06:42 +0800
committerasami <asami@FreeBSD.org>1995-02-15 11:06:42 +0800
commit5ed8c31db785dcfdd96db716c2e615e65a9c5bfb (patch)
treee3847b5cdd1d4cf4c8c929df4c974c1a3ae98739
parent5a55cc327c109e25cbff2a4fc4f0e6c862e593c1 (diff)
downloadfreebsd-ports-gnome-5ed8c31db785dcfdd96db716c2e615e65a9c5bfb.tar.gz
freebsd-ports-gnome-5ed8c31db785dcfdd96db716c2e615e65a9c5bfb.tar.zst
freebsd-ports-gnome-5ed8c31db785dcfdd96db716c2e615e65a9c5bfb.zip
Patch to make xv call ghostscript (assumed to be in /usr/local/bin/gs)
to render .ps files. Also calls gunzip to uncompress compressed files. Submitted by: "Philippe Charnier" <charnier@lirmm.fr>
-rw-r--r--graphics/xv/files/patch-ac52
1 files changed, 52 insertions, 0 deletions
diff --git a/graphics/xv/files/patch-ac b/graphics/xv/files/patch-ac
new file mode 100644
index 000000000000..0d4217fb1bb9
--- /dev/null
+++ b/graphics/xv/files/patch-ac
@@ -0,0 +1,52 @@
+*** /tmp/T0a03151 Mon Feb 13 18:35:11 1995
+--- config.h Mon Feb 13 18:34:49 1995
+***************
+*** 13,25 ****
+ * definition appropriately. (use 'which gunzip' to find if you have gunzip,
+ * and where it lives)
+ */
+! #undef USE_GUNZIP
+
+ #ifdef USE_GUNZIP
+ # ifdef VMS
+ # define GUNZIP "UNCOMPRESS"
+ # else
+! # define GUNZIP "/usr/local/bin/gunzip -q"
+ # endif
+ #endif
+
+--- 13,25 ----
+ * definition appropriately. (use 'which gunzip' to find if you have gunzip,
+ * and where it lives)
+ */
+! #define USE_GUNZIP
+
+ #ifdef USE_GUNZIP
+ # ifdef VMS
+ # define GUNZIP "UNCOMPRESS"
+ # else
+! # define GUNZIP "/usr/bin/gunzip -q"
+ # endif
+ #endif
+
+***************
+*** 88,96 ****
+ * should not need to be changed
+ */
+
+! /* #define GS_PATH "/usr/local/bin/gs" */
+! /* #define GS_LIB "." */
+! /* #define GS_DEV "ppmraw" */
+
+
+ /***************************************************************************
+--- 88,96 ----
+ * should not need to be changed
+ */
+
+! #define GS_PATH "/usr/local/bin/gs"
+! #define GS_LIB "/usr/local/lib/ghostscript"
+! #define GS_DEV "ppmraw"
+
+
+ /***************************************************************************