pkgsrc/net/uucp/patches/patch-uucpd_uucpd.c

20 lines
530 B
C
Raw Normal View History

2015-11-09 00:19:22 +01:00
$NetBSD: patch-uucpd_uucpd.c,v 1.2 2015/11/08 23:19:22 dholland Exp $
2015-11-08 23:06:52 +01:00
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
2015-11-09 00:19:22 +01:00
+#define __COPYRIGHT(x) char uucpd_copyright[] = x
2015-11-08 23:06:52 +01:00
+#endif
+#ifndef __RCSID
2015-11-09 00:19:22 +01:00
+#define __RCSID(x) char uucpd_rcsid[] = x
2015-11-08 23:06:52 +01:00
+#endif
__COPYRIGHT("@(#) Copyright (c) 1985 The Regents of the University of California.\n\
All rights reserved.\n");
#if 0