Ticket #23680: neverball-1.5.4.diff
File neverball-1.5.4.diff, 2.2 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
files/patch-share-fs.c.diff
1 --- share/fs.c.orig 2009-09-20 05:06:00.000000000 -0500 2 +++ share/fs.c 2010-03-26 18:35:06.000000000 -0500 3 @@ -389,16 +389,9 @@ 4 5 /* -------------------------------------------------------------------------- */ 6 7 -/* 8 - * Trying to avoid defining a feature test macro for every platform by 9 - * declaring vsnprintf with the C99 signature. This is probably bad. 10 - */ 11 - 12 #include <stdio.h> 13 #include <stdarg.h> 14 15 -extern int vsnprintf(char *, size_t, const char *, va_list); 16 - 17 int fs_printf(fs_file fh, const char *fmt, ...) 18 { 19 char *buff; -
Portfile
3 3 PortSystem 1.0 4 4 5 5 name neverball 6 version 1.4.0 7 revision 1 6 version 1.5.4 8 7 categories games 9 8 platforms darwin 10 9 maintainers gmail.com:mvitocruz … … 14 13 course before time runs out. Neverball is part puzzle \ 15 14 game, part action game, and entirely a test of skill. 16 15 17 homepage http:// icculus.org/neverball/16 homepage http://neverball.org/ 18 17 master_sites ${homepage} 19 checksums md5 a6cd860f1c2b7d8cecbcfc05ff228ef020 patchfiles patch-Makefile.diff patch-ball-main.c patch-putt-main.c21 18 19 checksums md5 c523b0f72c2035831310e821162f7bd7 \ 20 sha1 619c227e1958bd60738f12dbbde9b30c91dd79a7 \ 21 rmd160 f546b5e6c12df1a125976a7e23fa55146480241d 22 22 23 depends_lib path:lib/pkgconfig/sdl.pc:libsdl \ 23 24 port:libsdl_image \ 24 25 port:libsdl_mixer \ 25 port:libsdl_ttf 26 port:libsdl_ttf \ 27 port:mesa 26 28 29 patchfiles patch-share-fs.c.diff 30 27 31 post-patch { 28 reinplace "s|./data|${prefix}/share/${name}|g" ${worksrcpath}/share/config.h 32 reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Makefile 33 reinplace "s|./data|${prefix}/share/${name}|g" ${worksrcpath}/share/base_config.h 29 34 } 30 35 31 36 use_configure no … … 40 45 } 41 46 42 47 platform darwin { 43 p re-destroot {48 post-destroot { 44 49 xinstall -d -m 755 \ 45 50 ${destroot}${applications_dir}/Neverball.app/Contents/MacOS \ 46 51 ${destroot}${applications_dir}/Neverputt.app/Contents/MacOS