svn commit: r379653 - head/devel/libev/files

Vsevolod Stakhov vsevolod at FreeBSD.org
Mon Feb 23 09:39:08 UTC 2015


Author: vsevolod
Date: Mon Feb 23 09:39:07 2015
New Revision: 379653
URL: https://svnweb.freebsd.org/changeset/ports/379653
QAT: https://qat.redports.org/buildarchive/r379653/

Log:
  - Fix positioning of _Noreturn attribute for libev
  - Do not bump portrevision, since a package has not been changed
  
  PR:		197864
  Submitted by:	dim

Modified:
  head/devel/libev/files/patch-ev.c

Modified: head/devel/libev/files/patch-ev.c
==============================================================================
--- head/devel/libev/files/patch-ev.c	Mon Feb 23 09:32:21 2015	(r379652)
+++ head/devel/libev/files/patch-ev.c	Mon Feb 23 09:39:07 2015	(r379653)
@@ -1,6 +1,17 @@
 --- ./ev.c.orig	2011-02-09 00:17:37.000000000 +0100
 +++ ./ev.c	2011-08-19 17:01:35.000000000 +0200
-@@ -1591,10 +1591,12 @@
+@@ -967,8 +967,8 @@
+   #define ecb_unreachable() __builtin_unreachable ()
+ #else
+   /* this seems to work fine, but gcc always emits a warning for it :/ */
+-  ecb_inline void ecb_unreachable (void) ecb_noreturn;
+-  ecb_inline void ecb_unreachable (void) { }
++  ecb_inline ecb_noreturn void ecb_unreachable (void);
++  ecb_inline ecb_noreturn void ecb_unreachable (void) { }
+ #endif
+ 
+ /* try to tell the compiler that some condition is definitely true */
+@@ -2443,10 +2443,12 @@
    unsigned int flags = ev_supported_backends ();
  
  #ifndef __NetBSD__


More information about the svn-ports-all mailing list