Index: head/games/doomsday/Makefile =================================================================== --- head/games/doomsday/Makefile (revision 408962) +++ head/games/doomsday/Makefile (revision 408963) @@ -1,50 +1,51 @@ # Created by: Igor Pokrovsky # $FreeBSD$ PORTNAME= doomsday PORTVERSION= 1.15.8 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/deng/Doomsday%20Engine/${PORTVERSION} DISTNAME= ${PORTNAME}-stable-${PORTVERSION} MAINTAINER= danilo@FreeBSD.org COMMENT= Enhanced Doom, Heretic, and Hexen source port LICENSE= GPLv2 BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ libassimp.so:${PORTSDIR}/multimedia/assimp RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity USE_GL= gl glu USE_LDCONFIG= yes USE_SDL= sdl2 mixer2 net2 USE_XORG= x11 USES= compiler:c++11-lib execinfo pkgconfig python:build qmake:outsource USE_QT4= corelib network opengl moc_build QMAKE_SOURCE_PATH= ${WRKSRC}/doomsday QMAKE_ARGS+= QMAKE_LFLAGS+="-Wl,--export-dynamic" \ CONFIG+="deng_notools deng_nosnowberry" \ SCRIPT_PYTHON=${PYTHON_CMD} LDFLAGS+= -lm OPTIONS_DEFINE= OPENAL OPTIONS_SUB= yes OPENAL_DESC= Build OpenAL sound plugin OPENAL_USES= openal:al OPENAL_QMAKE_ON= CONFIG+=deng_openal OPENAL_QMAKE_OFF= CONFIG+=deng_noopenal PORTSCOUT= limit:^\d+\.\d+\.\d+$$ post-patch: @${REINPLACE_CMD} 's,share/man,man,' \ ${WRKSRC}/doomsday/client/client.pro \ ${WRKSRC}/doomsday/server/server.pro # Removing (three) non-ascii bytes from the beginning of the file @LANG=C ${REINPLACE_CMD} '1s,^...,,' \ ${WRKSRC}/doomsday/client/src/client/cl_sound.cpp .include Index: head/games/doomsday/files/patch-doomsday_libgui_src_displaymode__x11.cpp =================================================================== --- head/games/doomsday/files/patch-doomsday_libgui_src_displaymode__x11.cpp (nonexistent) +++ head/games/doomsday/files/patch-doomsday_libgui_src_displaymode__x11.cpp (revision 408963) @@ -0,0 +1,16 @@ +--- doomsday/libgui/src/displaymode_x11.cpp.orig 2016-02-01 03:37:12 UTC ++++ doomsday/libgui/src/displaymode_x11.cpp +@@ -54,8 +54,12 @@ public: + /** + * Queries all the available modes in the display configuration. + */ +- RRInfo() : _numSizes(0) ++ RRInfo() : _conf(NULL), _numSizes(0) + { ++ int dummy; ++ if (!XRRQueryExtension(QX11Info::display(), &dummy, &dummy)) ++ return; // Not available. ++ + _conf = XRRGetScreenInfo(QX11Info::display(), QX11Info::appRootWindow()); + if(!_conf) return; // Not available. + Property changes on: head/games/doomsday/files/patch-doomsday_libgui_src_displaymode__x11.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property