diff options
author | dholland <dholland@pkgsrc.org> | 2014-06-29 19:18:28 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2014-06-29 19:18:28 +0000 |
commit | e5450efffc0e7469e0f1cf2e8f7eee686bf84516 (patch) | |
tree | 10451bee1d22fd9a0660675f77c2f421f2a35ac9 /net | |
parent | 42cb9dbd03d3609cf5ae4e0c23139458c9318c64 (diff) | |
download | pkgsrc-e5450efffc0e7469e0f1cf2e8f7eee686bf84516.tar.gz |
Provide __COPYRIGHT and __RCSID if missing. This has USE_FEATURES+=cdefs
but it doesn't seem to be adequate. Should fix Linux build.
Diffstat (limited to 'net')
-rw-r--r-- | net/uucp/distinfo | 3 | ||||
-rw-r--r-- | net/uucp/patches/patch-rmail_rmail.c | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/net/uucp/distinfo b/net/uucp/distinfo index 1b720c7263c..6aef87ac905 100644 --- a/net/uucp/distinfo +++ b/net/uucp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2007/03/15 20:02:19 christos Exp $ +$NetBSD: distinfo,v 1.4 2014/06/29 19:18:28 dholland Exp $ SHA1 (uucp-1.07.tar.gz) = e7c93c3aa6468f1b26dd4d9104dbbe8c2949e9ee RMD160 (uucp-1.07.tar.gz) = e265ecd08245dd2510db20430a7a0e387ef4df51 @@ -22,3 +22,4 @@ SHA1 (patch-ap) = e2a7e4d28a7d0e911ed8432f8f3524a1eecd7398 SHA1 (patch-aq) = bb6bcaa133ddda48ad24a94ed690afb5934b96d0 SHA1 (patch-ar) = d71d7e016d840d06c52bd88c507450111cf02e2c SHA1 (patch-as) = 76773cbfccec131b3eb0adfad43c6d4e9d54a99b +SHA1 (patch-rmail_rmail.c) = 3010f4dcc2ef05b1563658b3c2ec769229a253bb diff --git a/net/uucp/patches/patch-rmail_rmail.c b/net/uucp/patches/patch-rmail_rmail.c new file mode 100644 index 00000000000..5d6b47c515f --- /dev/null +++ b/net/uucp/patches/patch-rmail_rmail.c @@ -0,0 +1,19 @@ +$NetBSD: patch-rmail_rmail.c,v 1.1 2014/06/29 19:18:28 dholland Exp $ + +Fix build on platforms that don't have a NetBSD cdefs.h. + +--- rmail/rmail.c~ 2014-06-29 19:13:20.000000000 +0000 ++++ rmail/rmail.c +@@ -31,6 +31,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) 1988, 1993\n\ + The Regents of the University of California. All rights reserved.\n"); + #if 0 |