Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2015 09:39:07 +0000 (UTC)
From:      Vsevolod Stakhov <vsevolod@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379653 - head/devel/libev/files
Message-ID:  <201502230939.t1N9d74C013062@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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__



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502230939.t1N9d74C013062>