Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2018 16:37:43 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r460499 - head/sysutils/synergy/files
Message-ID:  <201801311637.w0VGbhIX093008@repo.freebsd.org>

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



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