svn commit: r460011 - head/devel/sfml/files
Jan Beich
jbeich at FreeBSD.org
Fri Jan 26 17:28:58 UTC 2018
Author: jbeich
Date: Fri Jan 26 17:28:57 2018
New Revision: 460011
URL: https://svnweb.freebsd.org/changeset/ports/460011
Log:
devel/sfml: unbreak build with Clang 6 (C++14 by default)
src/SFML/Window/Unix/WindowImplX11.cpp:1278:36: error: reinterpret_cast from 'nullptr_t' to 'void *' is not allowed
reinterpret_cast<void*>(NULL));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reported by: pkg-fallout (blocks 3 ports)
Approved by: portmgr blanket
Added:
head/devel/sfml/files/patch-src_SFML_Window_Unix_WindowImplX11.cpp (contents, props changed)
Added: head/devel/sfml/files/patch-src_SFML_Window_Unix_WindowImplX11.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/sfml/files/patch-src_SFML_Window_Unix_WindowImplX11.cpp Fri Jan 26 17:28:57 2018 (r460011)
@@ -0,0 +1,15 @@
+src/SFML/Window/Unix/WindowImplX11.cpp:1278:36: error: reinterpret_cast from 'nullptr_t' to 'void *' is not allowed
+ reinterpret_cast<void*>(NULL));
+ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+--- src/SFML/Window/Unix/WindowImplX11.cpp.orig 2017-02-08 11:29:16 UTC
++++ src/SFML/Window/Unix/WindowImplX11.cpp
+@@ -1275,7 +1275,7 @@ void WindowImplX11::initialize()
+ m_window,
+ XNInputStyle,
+ XIMPreeditNothing | XIMStatusNothing,
+- reinterpret_cast<void*>(NULL));
++ static_cast<void*>(NULL));
+ }
+ else
+ {
More information about the svn-ports-all
mailing list