diff options
author | wiedi <wiedi> | 2014-02-08 12:44:05 +0000 |
---|---|---|
committer | wiedi <wiedi> | 2014-02-08 12:44:05 +0000 |
commit | e0c8ec4aaa3e5da2adc2a674cfaedefdd1f651d4 (patch) | |
tree | 2189133f14b44b458b3d283c2c914f987969edb8 /converters/uudeview | |
parent | ccc2b4b3db878b714c8a0c5182ac302feb67b99a (diff) | |
download | pkgsrc-e0c8ec4aaa3e5da2adc2a674cfaedefdd1f651d4.tar.gz |
fix build on SunOS (included paths.h)
Diffstat (limited to 'converters/uudeview')
-rw-r--r-- | converters/uudeview/distinfo | 4 | ||||
-rw-r--r-- | converters/uudeview/patches/patch-ac | 18 |
2 files changed, 13 insertions, 9 deletions
diff --git a/converters/uudeview/distinfo b/converters/uudeview/distinfo index d2cf2ce47a8..2a218ce3862 100644 --- a/converters/uudeview/distinfo +++ b/converters/uudeview/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.8 2008/06/01 21:49:56 dholland Exp $ +$NetBSD: distinfo,v 1.9 2014/02/08 12:44:05 wiedi Exp $ SHA1 (uudeview-0.5.20.tar.gz) = 2c6ab7d355b545218bd0877d598bd5327d9fd125 RMD160 (uudeview-0.5.20.tar.gz) = 9bb52fa3ad4979383ff16d1e8d8a302c5c794c66 Size (uudeview-0.5.20.tar.gz) = 261574 bytes SHA1 (patch-aa) = bf7e281b7e0e2ceae6bc8c19c9e64cdb7d5a9d64 SHA1 (patch-ab) = bdd62a84d0f62c697dd4440df861c343ffeb683a -SHA1 (patch-ac) = 2ae6579816e2ee1273c2c8db6bf82b8954a3d16c +SHA1 (patch-ac) = 3b8088de56468837b6518b32c468184fcf4a735c diff --git a/converters/uudeview/patches/patch-ac b/converters/uudeview/patches/patch-ac index 13b4606fc7c..4dc6f9d5c14 100644 --- a/converters/uudeview/patches/patch-ac +++ b/converters/uudeview/patches/patch-ac @@ -1,16 +1,20 @@ -$NetBSD: patch-ac,v 1.5 2008/06/01 21:49:56 dholland Exp $ +$NetBSD: patch-ac,v 1.6 2014/02/08 12:44:05 wiedi Exp $ ---- unix/uudeview.c.orig 2003-04-12 19:33:55.000000000 -0400 -+++ unix/uudeview.c 2008-06-01 17:02:31.000000000 -0400 -@@ -31,6 +31,7 @@ +--- unix/uudeview.c.orig 2003-04-12 23:33:55.000000000 +0000 ++++ unix/uudeview.c +@@ -31,6 +31,11 @@ #include <stdio.h> #include <ctype.h> #include <signal.h> -+#include <paths.h> ++#if defined(__sun) ++# define _PATH_TMP "/tmp/" ++#else ++# include <paths.h> ++#endif #ifdef HAVE_FCNTL_H #include <fcntl.h> -@@ -440,6 +441,7 @@ +@@ -440,6 +445,7 @@ proc_stdin (void) { static char buffer[1024]; char *stdfile; @@ -18,7 +22,7 @@ $NetBSD: patch-ac,v 1.5 2008/06/01 21:49:56 dholland Exp $ FILE *target; size_t bytes; int res; -@@ -449,11 +451,20 @@ +@@ -449,11 +455,20 @@ proc_stdin (void) return 0; } |