View | Details | Raw Unified | Return to bug 194617 | Differences between
and this patch

Collapse All | Expand All

(-)b/games/openclonk/Makefile (-1 / +1 lines)
Lines 21-27 LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ Link Here
21
		libpng.so:${PORTSDIR}/graphics/png \
21
		libpng.so:${PORTSDIR}/graphics/png \
22
		libvorbis.so:${PORTSDIR}/audio/libvorbis
22
		libvorbis.so:${PORTSDIR}/audio/libvorbis
23
23
24
USES=		cmake iconv pkgconfig tar:bzip2
24
USES=		cmake compiler:c++11-lib iconv pkgconfig tar:bzip2
25
USE_GL=		glew
25
USE_GL=		glew
26
USE_GNOME=	gtk20
26
USE_GNOME=	gtk20
27
USE_SDL=	sdl mixer
27
USE_SDL=	sdl mixer
(-)b/games/openclonk/files/patch-src_platform_StdSync.h (+12 lines)
Added Link Here
1
--- src/platform/StdSync.h.orig	2014-10-05 13:22:07 UTC
2
+++ src/platform/StdSync.h
3
@@ -135,7 +135,8 @@ public:
4
 		{
5
 			// Use pthread_cond_wait or pthread_cond_timedwait depending on wait length. Check return value.
6
 			// Note this will temporarily unlock the mutex, so no deadlock should occur.
7
-			timespec ts = { iMillis / 1000, (iMillis % 1000) * 1000000 };
8
+			timespec ts = { static_cast<time_t>(iMillis / 1000),
9
+				static_cast<long>((iMillis % 1000) * 1000000) };
10
 			if (0 != (iMillis != INFINITE ? pthread_cond_timedwait(&cond, &mutex, &ts) : pthread_cond_wait(&cond, &mutex)))
11
 			{
12
 				pthread_mutex_unlock(&mutex);

Return to bug 194617