pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/faces Make build on Interix.
details: https://anonhg.NetBSD.org/pkgsrc/rev/50b6824a995c
branches: trunk
changeset: 490554:50b6824a995c
user: tv <tv%pkgsrc.org@localhost>
date: Tue Mar 15 03:59:38 2005 +0000
description:
Make build on Interix.
diffstat:
mail/faces/Makefile | 6 +++++-
mail/faces/distinfo | 8 ++++----
mail/faces/patches/patch-ab | 11 +----------
mail/faces/patches/patch-af | 20 ++++++++++++++------
mail/faces/patches/patch-av | 18 +++++++++++++-----
5 files changed, 37 insertions(+), 26 deletions(-)
diffs (153 lines):
diff -r 2771078f2cb0 -r 50b6824a995c mail/faces/Makefile
--- a/mail/faces/Makefile Tue Mar 15 02:05:49 2005 +0000
+++ b/mail/faces/Makefile Tue Mar 15 03:59:38 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2004/12/04 04:43:12 tron Exp $
+# $NetBSD: Makefile,v 1.41 2005/03/15 03:59:38 tv Exp $
DISTNAME= faces-1.6.1
PKGREVISION= 3
@@ -33,6 +33,10 @@
MAKE_ENV+= CPPFLAGS=
.endif
+.if ${OPSYS} != "Interix"
+MAKE_ENV+= NISLOOKUP=-DNISLOOKUP
+.endif
+
REPLACE_PERL= scripts/addxface scripts/deepen scripts/facesaddr \
scripts/facesall scripts/from.faces scripts/lpqall.faces \
scripts/mailq.faces scripts/mailqto scripts/mailqto.faces \
diff -r 2771078f2cb0 -r 50b6824a995c mail/faces/distinfo
--- a/mail/faces/distinfo Tue Mar 15 02:05:49 2005 +0000
+++ b/mail/faces/distinfo Tue Mar 15 03:59:38 2005 +0000
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.9 2005/03/12 12:53:56 schwarz Exp $
+$NetBSD: distinfo,v 1.10 2005/03/15 03:59:38 tv Exp $
SHA1 (faces-1.6.1.tar.Z) = 8402a74e43e78345c23a975a417c2407322db65f
RMD160 (faces-1.6.1.tar.Z) = fdf0d1eca4d094b0b50c00c627082c78ae5dd195
Size (faces-1.6.1.tar.Z) = 249469 bytes
SHA1 (patch-aa) = 99012a91d3ac39bdd0ad8b5ab454812ace346dbb
-SHA1 (patch-ab) = e4a30df1518dd16014330f119a1590865fee47fb
+SHA1 (patch-ab) = 2cd5dc0291d690060ad24aafa85d69fd9c8a4dee
SHA1 (patch-ac) = adb2718262027b4ba68425ffd4bef37192ff6d0c
SHA1 (patch-ad) = 8383d81ea922122c5fc1fa23fd44c4a45b376c68
SHA1 (patch-ae) = 0a7e57277e0e8133c81997258ef7f7a656834088
-SHA1 (patch-af) = 676c018ecf02ccdd103b113dfde77875cededf7c
+SHA1 (patch-af) = b49060da7e929c4136e4b9b761eec553eef926db
SHA1 (patch-ag) = df1e715582dd8f76fabed97ceb994d77d6d14ab7
SHA1 (patch-ah) = 0333bb755c9fb3f71bc17c963eaa9c0b1322a6d6
SHA1 (patch-ai) = 37ac5631b842794f5f6d24f33fad44573a186114
@@ -24,7 +24,7 @@
SHA1 (patch-as) = 3751bb0603637db885263d49a50769c7d6c39377
SHA1 (patch-at) = ee84e7a191c0db0f278be753562ba086050a7f8c
SHA1 (patch-au) = 582e9ad10b44e2e8af10c5c5e8682a7bfe508318
-SHA1 (patch-av) = 1ef88ca0a9b72d783f318242d152d23510f7949a
+SHA1 (patch-av) = 856c345ff16873b39ea4e0fdf1df0e6bdfcdd95b
SHA1 (patch-aw) = a53df4bc5b1eb696bc9416f7109d152d735b76f7
SHA1 (patch-ax) = d815d247fbbfe9a0553bd3c2187d842269d36000
SHA1 (patch-ay) = 47cfbfb581fcfb9a781c76dd9dfdcd410ce39a93
diff -r 2771078f2cb0 -r 50b6824a995c mail/faces/patches/patch-ab
--- a/mail/faces/patches/patch-ab Tue Mar 15 02:05:49 2005 +0000
+++ b/mail/faces/patches/patch-ab Tue Mar 15 03:59:38 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.11 2002/09/21 12:13:44 jlam Exp $
+$NetBSD: patch-ab,v 1.12 2005/03/15 03:59:38 tv Exp $
--- Makefile.dist.orig Sun Nov 24 18:55:28 1991
+++ Makefile.dist
@@ -58,15 +58,6 @@
CFACEDIR = -DFACEDIR=\"$(FACEDIR)\"
#------------------------------------------------------------------------
# It is possible to determine what type of monitoring faces does at
-@@ -123,7 +126,7 @@
- # Note that the domain name will be converted to lower case before
- # attempting to match in the machines file, or create an icon filename.
- #
--#NISLOOKUP = -DNISLOOKUP
-+NISLOOKUP = -DNISLOOKUP
- #------------------------------------------------------------------------
- # If you don't want faces to use full domain names for extracting face
- # icons, then you should uncomment the NODOMAINS definition below.
@@ -188,7 +191,7 @@
# to the select call are different, and this definition should be
# uncommented. You need to uncomment this for SunOS v3.x.
diff -r 2771078f2cb0 -r 50b6824a995c mail/faces/patches/patch-af
--- a/mail/faces/patches/patch-af Tue Mar 15 02:05:49 2005 +0000
+++ b/mail/faces/patches/patch-af Tue Mar 15 03:59:38 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-af,v 1.4 2000/09/06 12:31:50 tron Exp $
+$NetBSD: patch-af,v 1.5 2005/03/15 03:59:38 tv Exp $
---- compface/uncmain.c.orig Thu Oct 24 03:28:07 1991
-+++ compface/uncmain.c Wed Sep 6 14:28:50 2000
+--- compface/uncmain.c.orig Wed Oct 23 22:28:07 1991
++++ compface/uncmain.c
@@ -18,6 +18,8 @@
#include <fcntl.h>
#include "compface.h"
@@ -11,11 +11,11 @@
/* the buffer is longer than needed to handle sparse input formats */
#define FACEBUFLEN 2048
char fbuf[FACEBUFLEN];
-@@ -33,8 +35,12 @@
+@@ -33,12 +35,20 @@ char *cmdname;
/* error handling definitions follow */
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__INTERIX)
+#include <errno.h>
+#else
extern int errno, sys_nerr;
@@ -24,7 +24,15 @@
extern void exit P((int)) ;
-@@ -59,6 +65,13 @@
++#ifdef __INTERIX
++#define ERR strerror(errno)
++#else
+ #define ERR ((errno < sys_nerr) ? sys_errlist[errno] : "")
++#endif
+ #define INITERR(s) {(void)strcpy(fbuf, cmdname); (void)strcat(fbuf, ": ");\
+ (void)strcat(fbuf, (s));}
+ #define ADDERR(s) (void)strcat(fbuf, (s));
+@@ -59,6 +69,13 @@ char *argv[];
while (**argv)
if (*((*argv)++) == '/')
cmdname = *argv; /* find the command's basename */
diff -r 2771078f2cb0 -r 50b6824a995c mail/faces/patches/patch-av
--- a/mail/faces/patches/patch-av Tue Mar 15 02:05:49 2005 +0000
+++ b/mail/faces/patches/patch-av Tue Mar 15 03:59:38 2005 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-av,v 1.1 2000/09/06 12:31:50 tron Exp $
+$NetBSD: patch-av,v 1.2 2005/03/15 03:59:38 tv Exp $
---- compface/cmain.c.orig Thu Oct 24 03:28:07 1991
-+++ compface/cmain.c Wed Sep 6 14:26:33 2000
-@@ -33,8 +33,12 @@
+--- compface/cmain.c.orig Wed Oct 23 22:28:07 1991
++++ compface/cmain.c
+@@ -33,12 +33,20 @@ char *cmdname;
/* error handling definitions follow */
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__INTERIX)
+#include <errno.h>
+#else
extern int errno, sys_nerr;
@@ -15,3 +15,11 @@
extern void exit P((int)) ;
++#ifdef __INTERIX
++#define ERR strerror(errno)
++#else
+ #define ERR ((errno < sys_nerr) ? sys_errlist[errno] : "")
++#endif
+ #define INITERR(s) {(void)strcpy(fbuf, cmdname); (void)strcat(fbuf, ": ");\
+ (void)strcat(fbuf, (s));}
+ #define ADDERR(s) (void)strcat(fbuf, (s));
Home |
Main Index |
Thread Index |
Old Index