diff options
author | dholland <dholland@pkgsrc.org> | 2015-11-08 22:06:52 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2015-11-08 22:06:52 +0000 |
commit | 073c655b3dc048e6e6d62cbacda6b4e83f980765 (patch) | |
tree | 7794062c16b7b2237f8aea184fbb93d819e4cddd /net | |
parent | 1533f4a7bcbb7392736680b37f9dbc833e54ef29 (diff) | |
download | pkgsrc-073c655b3dc048e6e6d62cbacda6b4e83f980765.tar.gz |
Fix build with non-netbsd cdefs.h
Diffstat (limited to 'net')
-rw-r--r-- | net/uucp/distinfo | 3 | ||||
-rw-r--r-- | net/uucp/patches/patch-uucpd_uucpd.c | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/net/uucp/distinfo b/net/uucp/distinfo index b56a54563f7..0f2e69fa8d4 100644 --- a/net/uucp/distinfo +++ b/net/uucp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2015/11/04 00:35:43 agc Exp $ +$NetBSD: distinfo,v 1.6 2015/11/08 22:06:52 dholland Exp $ SHA1 (uucp-1.07.tar.gz) = e7c93c3aa6468f1b26dd4d9104dbbe8c2949e9ee RMD160 (uucp-1.07.tar.gz) = e265ecd08245dd2510db20430a7a0e387ef4df51 @@ -24,3 +24,4 @@ SHA1 (patch-aq) = bb6bcaa133ddda48ad24a94ed690afb5934b96d0 SHA1 (patch-ar) = d71d7e016d840d06c52bd88c507450111cf02e2c SHA1 (patch-as) = 76773cbfccec131b3eb0adfad43c6d4e9d54a99b SHA1 (patch-rmail_rmail.c) = 3010f4dcc2ef05b1563658b3c2ec769229a253bb +SHA1 (patch-uucpd_uucpd.c) = 98bba1b26c0fd22c2f09d90838c4ba5ffc2f6ee3 diff --git a/net/uucp/patches/patch-uucpd_uucpd.c b/net/uucp/patches/patch-uucpd_uucpd.c new file mode 100644 index 00000000000..62a3b2bf862 --- /dev/null +++ b/net/uucp/patches/patch-uucpd_uucpd.c @@ -0,0 +1,19 @@ +$NetBSD: patch-uucpd_uucpd.c,v 1.1 2015/11/08 22:06:52 dholland Exp $ + +Fix build on platforms that don't have a NetBSD cdefs.h. + +--- uucpd/uucpd.c~ 2015-11-08 21:56:30.000000000 +0000 ++++ uucpd/uucpd.c +@@ -34,6 +34,12 @@ + + #include <sys/cdefs.h> + #ifndef lint ++#ifndef __COPYRIGHT ++#define __COPYRIGHT(x) char rmail_copyright[] = x ++#endif ++#ifndef __RCSID ++#define __RCSID(x) char rmail_rcsid[] = x ++#endif + __COPYRIGHT("@(#) Copyright (c) 1985 The Regents of the University of California.\n\ + All rights reserved.\n"); + #if 0 |