pkgsrc-WIP-changes archive

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

8cc: NetBSD-current acquired <stdnoreturn.h>



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Oct 2 15:55:35 2016 +0200
Changeset:	4fca067f821faf7c08c3cef311630a867a87ed50

Modified Files:
	8cc/TODO
	8cc/distinfo
Removed Files:
	8cc/patches/patch-8cc.h

Log Message:
8cc: NetBSD-current acquired <stdnoreturn.h>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4fca067f821faf7c08c3cef311630a867a87ed50

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

diffstat:
 8cc/TODO                |  1 -
 8cc/distinfo            |  1 -
 8cc/patches/patch-8cc.h | 31 -------------------------------
 3 files changed, 33 deletions(-)

diffs:
diff --git a/8cc/TODO b/8cc/TODO
index df8b6c7..5a0b514 100644
--- a/8cc/TODO
+++ b/8cc/TODO
@@ -1,3 +1,2 @@
-- Upstream C11 support in NetBSD.
 - Add support for NetBSD headers (be able to declare __GNUC__ and support
   extensions)
diff --git a/8cc/distinfo b/8cc/distinfo
index a9bc268..afc7651 100644
--- a/8cc/distinfo
+++ b/8cc/distinfo
@@ -1,3 +1,2 @@
 $NetBSD$
 
-SHA1 (patch-8cc.h) = 948965804814e2428bee21e191cb0c86cdfb363a
diff --git a/8cc/patches/patch-8cc.h b/8cc/patches/patch-8cc.h
deleted file mode 100644
index bb39fa3..0000000
--- a/8cc/patches/patch-8cc.h
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD$
-
-Add support for NetBSD.
-
---- 8cc.h.orig	2016-10-01 19:32:15.000000000 +0000
-+++ 8cc.h
-@@ -7,7 +7,10 @@
- #include <inttypes.h>
- #include <stdbool.h>
- #include <stdio.h>
-+#include <stdarg.h>
-+#if !defined(__NetBSD__)
- #include <stdnoreturn.h>
-+#endif
- #include <time.h>
- 
- enum {
-@@ -348,7 +351,12 @@ extern bool warning_is_error;
- #define warn(...)        warnf(__FILE__ ":" STR(__LINE__), NULL, __VA_ARGS__)
- #define warnt(tok, ...)  warnf(__FILE__ ":" STR(__LINE__), token_pos(tok), __VA_ARGS__)
- 
--noreturn void errorf(char *line, char *pos, char *fmt, ...);
-+#if defined(__NetBSD__)
-+__dead
-+#else
-+noreturn 
-+#endif
-+void errorf(char *line, char *pos, char *fmt, ...);
- void warnf(char *line, char *pos, char *fmt, ...);
- char *token_pos(Token *tok);
- 


Home | Main Index | Thread Index | Old Index