svn commit: r460499 - head/sysutils/synergy/files

Sean Bruno sbruno at FreeBSD.org
Wed Jan 31 16:37:44 UTC 2018


Author: sbruno
Date: Wed Jan 31 16:37:43 2018
New Revision: 460499
URL: https://svnweb.freebsd.org/changeset/ports/460499

Log:
  Fix nullptr definition buildfailure on current with clang6
  
  PR:		225549
  Submitted by:	jhb
  Differential Revision:	https://reviews.freebsd.org/D14131

Added:
  head/sysutils/synergy/files/patch-src_lib_common_common.h   (contents, props changed)

Added: head/sysutils/synergy/files/patch-src_lib_common_common.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/synergy/files/patch-src_lib_common_common.h	Wed Jan 31 16:37:43 2018	(r460499)
@@ -0,0 +1,11 @@
+--- src/lib/common/common.h.orig	2018-01-28 08:03:58.996880000 -0800
++++ src/lib/common/common.h	2018-01-28 08:04:48.899097000 -0800
+@@ -137,7 +137,7 @@
+ #include <stddef.h>
+ 
+ // if not c++0x, future proof code by allowing use of nullptr
+-#ifndef nullptr
++#if __cplusplus < 201103L
+ #	define nullptr NULL
+ #endif
+ 


More information about the svn-ports-head mailing list