summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortron <tron>1998-02-05 22:19:21 +0000
committertron <tron>1998-02-05 22:19:21 +0000
commit92076d8c48bf33950805b54c55f74cd282b0153f (patch)
tree6cd276d288686e4d7f655550b20c46d61ca4deff /graphics
parent9014b0714605261fea16ed449386109da92717b7 (diff)
downloadpkgsrc-92076d8c48bf33950805b54c55f74cd282b0153f.tar.gz
Use "/var/tmp" and not "/usr/tmp" as default temporary directory.
Problem pointed out by Mario Kemper.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick/patches/patch-ad19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/ImageMagick/patches/patch-ad b/graphics/ImageMagick/patches/patch-ad
new file mode 100644
index 00000000000..4441607600a
--- /dev/null
+++ b/graphics/ImageMagick/patches/patch-ad
@@ -0,0 +1,19 @@
+--- magick/magick.h.orig Wed Feb 4 19:18:20 1998
++++ magick/magick.h Thu Feb 5 23:02:25 1998
+@@ -14,6 +14,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <paths.h>
+ #if defined(_VISUALC_)
+ #include <direct.h>
+ #else
+@@ -119,7 +120,7 @@
+ #define PICTCommand "|picttoppm %s"
+ #define PostscriptMonoDevice "pbmraw"
+ #define ReadBinaryType "rb"
+-#define TemporaryDirectory "/usr/tmp"
++#define TemporaryDirectory _PATH_VARTMP
+ #define UncompressCommand "|uncompress -c %s"
+ #define UndoCache "16"
+ #define WriteBinaryType "wb"