Index: head/games/flyhard/Makefile =================================================================== --- head/games/flyhard/Makefile (revision 473843) +++ head/games/flyhard/Makefile (revision 473844) @@ -1,40 +1,49 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= flyhard PORTVERSION= 0.42 PORTREVISION= 15 CATEGORIES= games MASTER_SITES= http://www.markboyd.me.uk/games/flyhard/ \ http://mirror.amdmi3.ru/distfiles/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Game resembling Thrust, but with lots of shooting and puzzles LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +BROKEN_armv6= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h +BROKEN_armv7= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h + LIB_DEPENDS= libpng.so:graphics/png BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs -BROKEN_armv6= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h -BROKEN_armv7= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h - +USES= gmake localbase GNU_CONFIGURE= yes -USES= gmake USE_SDL= sdl mixer -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +CXXFLAGS+= -Wno-c++11-narrowing PLIST_FILES= bin/${PORTNAME} PORTDOCS= AUTHORS ChangeLog README PORTDATA= * +DESKTOP_ENTRIES="Fly Hard" \ + "" \ + "${DATADIR}/images/ship.png" \ + "${PORTNAME}" \ + "Game;ArcadeGame;" \ + false + OPTIONS_DEFINE= DOCS post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${FIND} ${STAGEDIR}${DATADIR} -type f -exec ${CHMOD} 644 {} + + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include Index: head/games/flyhard/files/patch-src-Makefile.in =================================================================== --- head/games/flyhard/files/patch-src-Makefile.in (revision 473843) +++ head/games/flyhard/files/patch-src-Makefile.in (nonexistent) @@ -1,15 +0,0 @@ ---- src/Makefile.in.orig 2009-02-15 18:44:02.000000000 +0300 -+++ src/Makefile.in 2013-09-30 06:52:38.221519372 +0400 -@@ -597,9 +597,9 @@ - #since automake doesn't directly put anything in $(savedir), it may not exist - install-data-hook: - @echo "Creating blank hi-score file" -- mkdir -p $(savedir) -- touch $(savedir)/scores -- chmod a+rw $(savedir)/scores -+ mkdir -p $(DESTDIR)$(savedir) -+ touch $(DESTDIR)$(savedir)/scores -+ chmod a+rw $(DESTDIR)$(savedir)/scores - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: Property changes on: head/games/flyhard/files/patch-src-Makefile.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/flyhard/files/patch-src_Makefile.in =================================================================== --- head/games/flyhard/files/patch-src_Makefile.in (nonexistent) +++ head/games/flyhard/files/patch-src_Makefile.in (revision 473844) @@ -0,0 +1,15 @@ +--- src/Makefile.in.orig 2009-02-15 15:44:02 UTC ++++ src/Makefile.in +@@ -597,9 +597,9 @@ uninstall-am: uninstall-binPROGRAMS unin + #since automake doesn't directly put anything in $(savedir), it may not exist + install-data-hook: + @echo "Creating blank hi-score file" +- mkdir -p $(savedir) +- touch $(savedir)/scores +- chmod a+rw $(savedir)/scores ++ mkdir -p $(DESTDIR)$(savedir) ++ touch $(DESTDIR)$(savedir)/scores ++ chmod a+rw $(DESTDIR)$(savedir)/scores + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: Property changes on: head/games/flyhard/files/patch-src_Makefile.in ___________________________________________________________________ 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 Index: head/games/flyhard/files/patch-src_arena.h =================================================================== --- head/games/flyhard/files/patch-src_arena.h (nonexistent) +++ head/games/flyhard/files/patch-src_arena.h (revision 473844) @@ -0,0 +1,11 @@ +--- src/arena.h.orig 2008-11-23 10:56:52 UTC ++++ src/arena.h +@@ -60,7 +60,7 @@ class arena_ptr + { + friend class arena; + public: +- operator bool() const {return m_ptr.lock();} ++ operator bool() const {return m_ptr.lock() != nullptr;} + T &operator *() const {return **(m_ptr.lock());} + T *get() const {return *(m_ptr.lock());} + arena_ptr(const arena_ptr &_){m_ptr=_.m_ptr;} Property changes on: head/games/flyhard/files/patch-src_arena.h ___________________________________________________________________ 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 Index: head/games/flyhard/files/patch-src_loadimag.cpp =================================================================== --- head/games/flyhard/files/patch-src_loadimag.cpp (nonexistent) +++ head/games/flyhard/files/patch-src_loadimag.cpp (revision 473844) @@ -0,0 +1,11 @@ +--- src/loadimag.cpp.orig 2009-02-15 14:06:42 UTC ++++ src/loadimag.cpp +@@ -65,7 +65,7 @@ SDL_Surface *load_image(const std::strin + DBG_WHINE("Unknown image extension: "+extension); + } + +- return false; ++ return NULL; + } + + //should this be extern "C"? Property changes on: head/games/flyhard/files/patch-src_loadimag.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