diff options
author | agc <agc> | 1997-10-15 15:42:54 +0000 |
---|---|---|
committer | agc <agc> | 1997-10-15 15:42:54 +0000 |
commit | f3a521e9dda04d487b4c258027c90aec3a7f80c5 (patch) | |
tree | 58c3f2b71fb714c417e10d7cc5b97f210257aed2 /graphics/netpbm | |
parent | 14cfbab4a54c5e08bf52c5e07829d47f6edbb862 (diff) | |
download | pkgsrc-f3a521e9dda04d487b4c258027c90aec3a7f80c5.tar.gz |
/usr/local -> /usr/pkg (like the amanda package, we need to preprocess
this).
NetBSD defines sys_errlist in <errno.h>, so include this file if we're
on NetBSD.
Diffstat (limited to 'graphics/netpbm')
-rw-r--r-- | graphics/netpbm/patches/patch-ad | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/graphics/netpbm/patches/patch-ad b/graphics/netpbm/patches/patch-ad index c9161fd6873..961b370f955 100644 --- a/graphics/netpbm/patches/patch-ad +++ b/graphics/netpbm/patches/patch-ad @@ -68,7 +68,7 @@ */ +/* + * Note: I changed this file and some Imakefiles to use the installed -+ * libtiff in /usr/local instad FreeBSD. - Satoshi ++ * libtiff in /usr/pkg instad FreeBSD. - Satoshi + */ #ifndef BuildLibTiff #define BuildLibTiff YES @@ -109,10 +109,10 @@ #endif #ifndef TiffDir -#define TiffDir TOPDIR/libtiff -+#define TiffDir /usr/local/lib ++#define TiffDir /usr/pkg/lib +#endif +#ifndef TiffIncDir -+#define TiffIncDir /usr/local/include ++#define TiffIncDir /usr/pkg/include #endif /* Libraries: */ @@ -241,3 +241,16 @@ #endif #if InstallLibraries +--- pbm/libpbm1.c 1997/10/15 15:28:18 1.1 ++++ pbm/libpbm1.c 1997/10/15 15:28:44 +@@ -20,6 +20,10 @@ + #include <varargs.h> + #endif /*__STDC__*/ + ++#ifdef __NetBSD__ ++#include <errno.h> ++#endif ++ + + /* Variable-sized arrays. */ + |