FreeBSD Bugzilla – Attachment 148839 Details for
Bug 194341
[UPDATE] Proposed update for games/pingus
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
SVN diff for pingus 0.7.6 no PORTREVISION
pingus.0.7.6.diff (text/plain), 9.50 KB, created by
Ben Fiedler
on 2014-10-31 22:20:06 UTC
(
hide
)
Description:
SVN diff for pingus 0.7.6 no PORTREVISION
Filename:
MIME Type:
Creator:
Ben Fiedler
Created:
2014-10-31 22:20:06 UTC
Size:
9.50 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 370827) >+++ Makefile (working copy) >@@ -2,19 +2,22 @@ > # $FreeBSD$ > > PORTNAME= pingus >-PORTVERSION= 0.7.2 >-PORTREVISION= 13 >+PORTVERSION= 0.7.6 > CATEGORIES= games >-MASTER_SITES= http://pingus.seul.org/files/ >+MASTER_SITES= http://pingus.seul.org/files/ \ >+ ${MASTER_SITE_GOOGLE_CODE} > > MAINTAINER= acm@FreeBSD.org > COMMENT= Free Lemmings-like game > >+LICENSE= GPLv3 >+ > LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ >- libboost_regex.so:${PORTSDIR}/devel/boost-libs \ >+ libboost_signals.so:${PORTSDIR}/devel/boost-libs \ > libphysfs.so:${PORTSDIR}/devel/physfs > >-USES= iconv scons tar:bzip2 >+USES= iconv scons tar:bzip2 compiler:features > MAKE_ARGS= with_linuxusbmouse=0 \ > with_linuxevdev=0 > USE_SDL= sdl image mixer >@@ -21,17 +24,35 @@ > > DESKTOP_ENTRIES="Pingus" "${COMMENT}" \ > "${PREFIX}/share/pixmaps/${PORTNAME}.ico" \ >- "pingus" "" "false" >+ "pingus" "" false > > PLIST= ${WRKDIR}/pkg-plist > >+.include <bsd.port.pre.mk> >+ >+.if !${COMPILER_FEATURES:Mc++0x} >+IGNORE_MSG= pingus needs a compiler supporting c++0x. Try gcc 4.6 \ >+ or clang 3.2 (or greater) and specify CC and CXX in /etc/make.conf >+IGNORE= ${IGNORE_MSG} >+.endif >+ > post-patch: >- @${REINPLACE_CMD} -e 's|add_path("data")|add_path("${DATADIR}")|g' \ >- ${WRKSRC}/src/pingus_main.cpp >+ ${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/SConscript >+ ${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/SConscript >+ ${REINPLACE_CMD} -r 's|(CPPPATH.*)\[\]|\1\["${LOCALBASE}/include", \ >+ "${LOCALBASE}/include/SDL"\]|' ${WRKSRC}/SConscript >+ ${REINPLACE_CMD} -r 's|(LIBPATH.*)\[\]|\1\["${LOCALBASE}/lib"\]|' \ >+ ${WRKSRC}/SConscript > >+do-build: >+# shouldn't be necessary, but scons will fail to build without this >+ cd ${WRKSRC} && ${MAKE_CMD} >+ > pre-install: > @${RM} -f ${PLIST} >+ @${PRINTF} "#!/bin/sh\nexec \"${DATADIR}/pingus\" --datadir \"${DATADIR}\"" > ${WRKSRC}/build/${PORTNAME}.sh > @${ECHO_CMD} "bin/${PORTNAME}" >> ${PLIST} >+ @${ECHO_CMD} "%%DATADIR%%/${PORTNAME}" >> ${PLIST} > @${ECHO_CMD} "share/pixmaps/${PORTNAME}.ico" >> ${PLIST} > @cd ${WRKSRC}/data && \ > ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ >@@ -42,7 +63,8 @@ > @${MKDIR} ${STAGEDIR}${DATADIR} > @cd ${WRKSRC}/data && \ > ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} >- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} >- ${INSTALL_DATA} ${WRKSRC}/src/win32/icon1.ico ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico >+ ${INSTALL_SCRIPT} ${WRKSRC}/build/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} >+ ${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} ${STAGEDIR}${DATADIR} >+ ${INSTALL_DATA} ${WRKSRC}/data/images/icons/pingus.ico ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.ico > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 370827) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (pingus-0.7.2.tar.bz2) = 8d24fbab29ca9401ae1a6a34f7a52eda5de0a9320940e771c6f04f991f5d0052 >-SIZE (pingus-0.7.2.tar.bz2) = 11055748 >+SHA256 (pingus-0.7.6.tar.bz2) = 759c1253075d1e72691bc1e770b24cdd51917041fd1857c1daf85b65a6686460 >+SIZE (pingus-0.7.6.tar.bz2) = 12622268 >Index: files/patch-SConstruct >=================================================================== >--- files/patch-SConstruct (revision 370827) >+++ files/patch-SConstruct (working copy) >@@ -1,29 +0,0 @@ >---- SConstruct 2007-12-21 22:00:22.000000000 -0500 >-+++ SConstruct 2007-12-21 22:03:19.000000000 -0500 >-@@ -409,7 +409,7 @@ >- not (os.path.exists('config.py') and os.path.exists('config.h')) and \ >- not GetOption('clean'): >- opts = DefineOptions(None, ARGUMENTS) >-- env = Environment(options = opts) >-+ env = Environment(ENV = os.environ, options = opts) >- Help(opts.GenerateHelpText(env)) >- >- opts.Update(env) >-@@ -422,7 +422,8 @@ >- if os.environ.has_key('PKG_CONFIG_PATH'): >- env['ENV']['PKG_CONFIG_PATH'] = os.environ['PKG_CONFIG_PATH'] >- >-- env['CPPPATH'] += ['.', 'src/'] >-+ env['CPPPATH'] = Split(env['CPPPATH']) >-+ env['LIBPATH'] = Split(env['LIBPATH']) >- >- config_h_defines = [] >- >-@@ -510,7 +511,6 @@ >- >- config_h = open('config.h', 'w') >- config_h.write('#define VERSION "0.7.2"\n') >-- config_h.write('#define ENABLE_BINRELOC 1\n') >- config_h.write('#define ICONV_CONST %s\n' % iconv_const) >- for (v,k) in config_h_defines: >- config_h.write('#define %s %s\n' % (v, k)) >Index: files/patch-src-editor-editor__screen.hpp >=================================================================== >--- files/patch-src-editor-editor__screen.hpp (revision 370827) >+++ files/patch-src-editor-editor__screen.hpp (working copy) >@@ -1,11 +0,0 @@ >---- src/editor/editor_screen.hpp.orig 2007-09-30 20:07:08.000000000 +0400 >-+++ src/editor/editor_screen.hpp 2013-08-23 23:08:40.689231327 +0400 >-@@ -27,7 +27,7 @@ >- >- class DrawingContext; >- class FileDialog; >--class GUI::GUIManager; >-+namespace GUI { class GUIManager; } >- class Pathname; >- >- namespace Editor { >Index: files/patch-src-pingus-pingus_main.cpp >=================================================================== >--- files/patch-src-pingus-pingus_main.cpp (revision 0) >+++ files/patch-src-pingus-pingus_main.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- src/pingus/pingus_main.cpp 2014-07-15 15:03:31.000000000 -0700 >++++ src/pingus/pingus_main.cpp 2014-07-15 15:03:53.000000000 -0700 >+@@ -465,7 +465,7 @@ >+ void >+ PingusMain::print_greeting_message() >+ { >+- std::string greeting = "Welcome to Pingus "VERSION; >++ std::string greeting = "Welcome to Pingus " VERSION; >+ greeting += "!"; >+ std::cout << greeting << std::endl; >+ for (unsigned int i = 0; i < greeting.length(); ++i) > >Property changes on: files/patch-src-pingus-pingus_main.cpp >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >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 >Index: files/patch-src-pingus-screens-pingus_menu.cpp >=================================================================== >--- files/patch-src-pingus-screens-pingus_menu.cpp (revision 0) >+++ files/patch-src-pingus-screens-pingus_menu.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- src/pingus/screens/pingus_menu.cpp 2014-07-15 15:07:05.000000000 -0700 >++++ src/pingus/screens/pingus_menu.cpp 2014-07-15 15:07:22.000000000 -0700 >+@@ -153,7 +153,7 @@ >+ gc.get_height()/2 - 280)); >+ >+ gc.print_left(Fonts::pingus_small, Vector2i(gc.get_width()/2 - 400 + 25, gc.get_height()-140), >+- "Pingus "VERSION" - Copyright (C) 1998-2011 Ingo Ruhnke <grumbel@gmail.com>\n" >++ "Pingus " VERSION " - Copyright (C) 1998-2011 Ingo Ruhnke <grumbel@gmail.com>\n" >+ "See the file AUTHORS for a complete list of contributors.\n" >+ "Pingus comes with ABSOLUTELY NO WARRANTY. This is free software, and you are\n" >+ "welcome to redistribute it under certain conditions; see the file COPYING for details.\n"); > >Property changes on: files/patch-src-pingus-screens-pingus_menu.cpp >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >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 >Index: files/patch-src-screenshot.cpp >=================================================================== >--- files/patch-src-screenshot.cpp (revision 370827) >+++ files/patch-src-screenshot.cpp (working copy) >@@ -1,11 +0,0 @@ >---- src/screenshot.cpp.orig 2007-09-30 18:07:08.000000000 +0200 >-+++ src/screenshot.cpp 2012-04-29 06:49:26.000000000 +0200 >-@@ -159,7 +159,7 @@ >- return; >- } >- >-- if (setjmp(png_ptr->jmpbuf)) >-+ if (setjmp(png_jmpbuf(png_ptr))) >- { >- // If we get here, we had a problem reading the file >- fclose(fp); >Index: files/patch-src-tinygettext_iconv.cpp >=================================================================== >--- files/patch-src-tinygettext_iconv.cpp (revision 370827) >+++ files/patch-src-tinygettext_iconv.cpp (working copy) >@@ -1,11 +0,0 @@ >---- src/tinygettext/iconv.cpp 2007-10-05 11:17:23.000000000 -0500 >-+++ src/tinygettext/iconv.cpp 2007-10-05 11:17:35.000000000 -0500 >-@@ -78,7 +78,7 @@ >- size_t in_size = text.size(); >- size_t out_size = 4*in_size; // Worst case scenario: ASCII -> UTF-32? >- std::string result(out_size, ' '); >-- ICONV_CONST char* in_str = &text[0]; >-+ const char* in_str = &text[0]; >- char* out_str = &result[0]; >- >- // Try to convert the text. >Index: files/patch-src-util-file_reader.hpp >=================================================================== >--- files/patch-src-util-file_reader.hpp (revision 0) >+++ files/patch-src-util-file_reader.hpp (working copy) >@@ -0,0 +1,10 @@ >+--- src/util/file_reader.hpp 2014-07-15 14:54:36.000000000 -0700 >++++ src/util/file_reader.hpp 2014-07-15 14:54:48.000000000 -0700 >+@@ -19,6 +19,7 @@ >+ >+ #include <memory> >+ #include <vector> >++#include <string> >+ >+ class Size; >+ class Color; > >Property changes on: files/patch-src-util-file_reader.hpp >___________________________________________________________________ >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 >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194341
:
148282
| 148839