1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

- Update to 0.7.1

This commit is contained in:
Dmitry Marakasov 2015-03-27 09:33:31 +00:00
parent 09e627a363
commit 1c80ae886b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382384
3 changed files with 3 additions and 31 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= sdl2pp
PORTVERSION= 0.7.0
PORTVERSION= 0.7.1
CATEGORIES= devel
MAINTAINER= amdmi3@FreeBSD.org
@ -14,8 +14,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt
USE_GITHUB= yes
GH_ACCOUNT= AMDmi3
GH_PROJECT= libSDL2pp
GH_COMMIT= e5210da
GH_TAGNAME= ${GH_COMMIT}
USES= compiler:c++11-lib cmake
CMAKE_ARGS= -DRUN_GUI_TESTS=OFF \

View File

@ -1,2 +1,2 @@
SHA256 (sdl2pp-0.7.0.tar.gz) = d26eac59b9823c2a2b28ce327c15fcb46fdeef570b94810957f03a84b8d16781
SIZE (sdl2pp-0.7.0.tar.gz) = 191199
SHA256 (sdl2pp-0.7.1_GH0.tar.gz) = feac209d2e1c214b502b148dc8cbeba48748c80bcefb7d290396875bac38ad50
SIZE (sdl2pp-0.7.1_GH0.tar.gz) = 191440

View File

@ -1,26 +0,0 @@
commit a31677af6a501c7986a6070a0cf1471fe3ca57fd
Author: Dmitry Marakasov <amdmi3@amdmi3.ru>
Date: Fri Jan 30 20:06:19 2015 +0300
Disable self-assignment warning for tests
As we deliberately do these self-assignments. Fixes -Werror build with clang 3.6.
diff --git tests/CMakeLists.txt tests/CMakeLists.txt
index d9b1af4..103ec2e 100644
--- tests/CMakeLists.txt
+++ tests/CMakeLists.txt
@@ -12,6 +12,13 @@ SET(GUI_TESTS
gui_rendering
)
+# disable self-move warning: it's deliberately used in tests
+INCLUDE(CheckCXXCompilerFlag)
+CHECK_CXX_COMPILER_FLAG("-Wno-self-move" COMPILER_SUPPORTS_WNOSELFMOVE)
+IF(COMPILER_SUPPORTS_WNOSELFMOVE)
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-self-move")
+ENDIF(COMPILER_SUPPORTS_WNOSELFMOVE)
+
ADD_DEFINITIONS(-DTESTDATA_DIR="${PROJECT_SOURCE_DIR}/testdata")
# header tests: these just include specific headers to check if