diff options
author | joerg <joerg@pkgsrc.org> | 2014-11-10 18:05:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-11-10 18:05:45 +0000 |
commit | 3237cf6d95b9975f9981017fbaf4118c2cb9e459 (patch) | |
tree | e8a1987d6843372c9539dff4bb018ce1d9c0437f | |
parent | 24e1a117993d59a32c732b127a38bbc6b413ee7b (diff) | |
download | pkgsrc-3237cf6d95b9975f9981017fbaf4118c2cb9e459.tar.gz |
Fix use of C11 _Noreturn.
-rw-r--r-- | devel/rcs/distinfo | 5 | ||||
-rw-r--r-- | devel/rcs/patches/patch-src_b-fb.h | 16 | ||||
-rw-r--r-- | devel/rcs/patches/patch-src_base.h | 24 |
3 files changed, 44 insertions, 1 deletions
diff --git a/devel/rcs/distinfo b/devel/rcs/distinfo index a1db0651267..860e5653259 100644 --- a/devel/rcs/distinfo +++ b/devel/rcs/distinfo @@ -1,5 +1,8 @@ -$NetBSD: distinfo,v 1.14 2013/11/29 18:23:45 wiz Exp $ +$NetBSD: distinfo,v 1.15 2014/11/10 18:05:45 joerg Exp $ SHA1 (rcs-5.9.2.tar.xz) = cb053f6ba87ab6ea03306d6241e1cde67182100b RMD160 (rcs-5.9.2.tar.xz) = 7f78faebd941581a8b5f2d8daef1cb3d6b20d999 Size (rcs-5.9.2.tar.xz) = 795096 bytes +SHA1 (patch-src_b-complain.h) = 5e0f688e59692b115f5a4ce1d9d571c4081325f3 +SHA1 (patch-src_b-fb.h) = ede2d0ef5af0b16eada75a95e09451d9efa41077 +SHA1 (patch-src_base.h) = 721a2cede835ca897f040e14e63548f110cbc50a diff --git a/devel/rcs/patches/patch-src_b-fb.h b/devel/rcs/patches/patch-src_b-fb.h new file mode 100644 index 00000000000..478b6ea45b4 --- /dev/null +++ b/devel/rcs/patches/patch-src_b-fb.h @@ -0,0 +1,16 @@ +$NetBSD: patch-src_b-fb.h,v 1.1 2014/11/10 18:05:45 joerg Exp $ + +--- src/b-fb.h.orig 2014-11-10 12:51:30.000000000 +0000 ++++ src/b-fb.h +@@ -21,9 +21,9 @@ + */ + + extern int change_mode (int fd, mode_t mode); +-extern void Ierror (void) exiting; ++extern exiting void Ierror (void); + extern void testIerror (FILE *f); +-extern void Oerror (void) exiting; ++extern exiting void Oerror (void); + extern void testOerror (FILE *o); + extern FILE *fopen_safer (char const *filename, char const *type); + extern void Ozclose (FILE **p); diff --git a/devel/rcs/patches/patch-src_base.h b/devel/rcs/patches/patch-src_base.h new file mode 100644 index 00000000000..5f278fa22af --- /dev/null +++ b/devel/rcs/patches/patch-src_base.h @@ -0,0 +1,24 @@ +$NetBSD: patch-src_base.h,v 1.1 2014/11/10 18:05:45 joerg Exp $ + +--- src/base.h.orig 2014-11-10 12:50:39.000000000 +0000 ++++ src/base.h +@@ -753,8 +753,7 @@ int dorewrite (bool lockflag, int change + int donerewrite (int changed, time_t newRCStime); + void ORCSclose (void); + void ORCSerror (void); +-void unexpected_EOF (void) +- exiting; ++exiting void unexpected_EOF (void); + void initdiffcmd (struct diffcmd *dc); + int getdiffcmd (struct fro *finfile, bool delimiter, + FILE *foutfile, struct diffcmd *dc); +@@ -829,8 +828,7 @@ char const *date2str (char const date[da + char datebuf[datesize + zonelenmax]); + + /* rcsutil */ +-void thank_you_and_goodnight (int const how) +- exiting; ++exiting void thank_you_and_goodnight (int const how); + /* These are for ‘thank_you_and_goodnight’. */ + #define TYAG_ORCSERROR (1 << 3) + #define TYAG_DIRTMPUNLINK (1 << 2) |