Ticket #23680: neverball-1.5.4.diff

File neverball-1.5.4.diff, 2.2 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)

not entirely successful update attempt

  • 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

     
    33PortSystem 1.0
    44
    55name            neverball
    6 version         1.4.0
    7 revision        1
     6version         1.5.4
    87categories      games
    98platforms       darwin
    109maintainers     gmail.com:mvitocruz
     
    1413                course before time runs out. Neverball is part puzzle \
    1514                game, part action game, and entirely a test of skill.
    1615
    17 homepage        http://icculus.org/neverball/
     16homepage        http://neverball.org/
    1817master_sites    ${homepage}
    19 checksums       md5 a6cd860f1c2b7d8cecbcfc05ff228ef0
    20 patchfiles      patch-Makefile.diff patch-ball-main.c patch-putt-main.c
    2118
     19checksums       md5     c523b0f72c2035831310e821162f7bd7 \
     20                sha1    619c227e1958bd60738f12dbbde9b30c91dd79a7 \
     21                rmd160  f546b5e6c12df1a125976a7e23fa55146480241d
     22
    2223depends_lib     path:lib/pkgconfig/sdl.pc:libsdl \
    2324                port:libsdl_image \
    2425                port:libsdl_mixer \
    25                 port:libsdl_ttf
     26                port:libsdl_ttf \
     27                port:mesa
    2628
     29patchfiles      patch-share-fs.c.diff
     30
    2731post-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
    2934}
    3035
    3136use_configure   no
     
    4045}
    4146
    4247platform darwin {
    43         pre-destroot {
     48        post-destroot {
    4449                xinstall -d -m 755 \
    4550                        ${destroot}${applications_dir}/Neverball.app/Contents/MacOS \
    4651                        ${destroot}${applications_dir}/Neverputt.app/Contents/MacOS