pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/nbsed/files



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Mar 13 11:13:58 UTC 2024

Modified Files:
        pkgsrc/textproc/nbsed/files: main.c

Log Message:
nbsed: Add __dead compat.  Fixes build on SmartOS.

Test suite looks clean compared to previous nbsed and native sed.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/nbsed/files/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/nbsed/files/main.c
diff -u pkgsrc/textproc/nbsed/files/main.c:1.8 pkgsrc/textproc/nbsed/files/main.c:1.9
--- pkgsrc/textproc/nbsed/files/main.c:1.8      Wed Mar 13 11:09:28 2024
+++ pkgsrc/textproc/nbsed/files/main.c  Wed Mar 13 11:13:58 2024
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.8 2024/03/13 11:09:28 jperkin Exp $ */
+/*     $NetBSD: main.c,v 1.9 2024/03/13 11:13:58 jperkin Exp $ */
 
 /*-
  * Copyright (c) 2013 Johann 'Myrkraverk' Oskarsson.
@@ -45,7 +45,7 @@
 #if HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
 #endif
-__RCSID("$NetBSD: main.c,v 1.8 2024/03/13 11:09:28 jperkin Exp $");
+__RCSID("$NetBSD: main.c,v 1.9 2024/03/13 11:13:58 jperkin Exp $");
 #ifdef __FBSDID
 __FBSDID("$FreeBSD: head/usr.bin/sed/main.c 252231 2013-06-26 04:14:19Z pfg $");
 #endif
@@ -117,6 +117,10 @@ static const char sccsid[] = "@(#)main.c
 #define __UNCONST(a)   ((void *)(unsigned long)(const void *)(a))
 #endif
 
+#ifndef __dead
+#define __dead
+#endif
+
 /*
  * Linked list of units (strings and files) to be compiled
  */



Home | Main Index | Thread Index | Old Index