diff options
-rw-r--r-- | games/openbor/Makefile | 4 | ||||
-rw-r--r-- | games/openbor/distinfo | 6 | ||||
-rw-r--r-- | games/openbor/files/patch-source_gamelib_packfile.c | 23 |
3 files changed, 5 insertions, 28 deletions
diff --git a/games/openbor/Makefile b/games/openbor/Makefile index 782cd04cc679..a72a5a0cdcf2 100644 --- a/games/openbor/Makefile +++ b/games/openbor/Makefile @@ -2,7 +2,7 @@ PORTNAME= openbor # Hint: svn revision is git rev-list --count ${GH_TAGNAME} -PORTVERSION?= 6263 +PORTVERSION?= 6412 .ifndef PKGNAMESUFFIX PORTREVISION= 0 .endif @@ -31,7 +31,7 @@ PORTSCOUT= ignore:1 USE_GITHUB= yes GH_ACCOUNT= DCurrent -GH_TAGNAME?= cd8df016 +GH_TAGNAME?= d9bfceeb USES+= gmake pkgconfig .if ${PORTVERSION} < 4433 diff --git a/games/openbor/distinfo b/games/openbor/distinfo index c9cc952e0a5a..a6a67fc171e4 100644 --- a/games/openbor/distinfo +++ b/games/openbor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1530889996 -SHA256 (DCurrent-openbor-6263-cd8df016_GH0.tar.gz) = 11493892eecfe5a570e52fa175fec90bdab290f2f1c337acf60f2001ae80da57 -SIZE (DCurrent-openbor-6263-cd8df016_GH0.tar.gz) = 154488044 +TIMESTAMP = 1535545207 +SHA256 (DCurrent-openbor-6412-d9bfceeb_GH0.tar.gz) = 9f7605e49884b1f34656144bd8eb40190d38955d571e3339e724f77938525925 +SIZE (DCurrent-openbor-6412-d9bfceeb_GH0.tar.gz) = 129005393 diff --git a/games/openbor/files/patch-source_gamelib_packfile.c b/games/openbor/files/patch-source_gamelib_packfile.c deleted file mode 100644 index b18a59e0f231..000000000000 --- a/games/openbor/files/patch-source_gamelib_packfile.c +++ /dev/null @@ -1,23 +0,0 @@ -Reset seek position for BGM with more than 128 tracks -Don't crash with more than 256 tracks. - ---- source/gamelib/packfile.c.orig 2018-07-06 15:13:16 UTC -+++ source/gamelib/packfile.c -@@ -1407,7 +1407,7 @@ void packfile_music_read(fileliststruct *filelist, int - getBasePath(packfile, filelist[i].filename, 1); - if(stristr(packfile, ".pak")) - { -- memset(filelist[i].bgmTracks, 0, PACKFILE_PATH_MAX); -+ memset(filelist[i].bgmTracks, 0, sizeof(filelist[i].bgmTracks)); - filelist[i].nTracks = 0; - fd = fopen(packfile, "rb"); - if(fd == NULL) -@@ -1439,7 +1439,7 @@ void packfile_music_read(fileliststruct *filelist, int - { - goto nextpak; - } -- if(filelist[i].nTracks < PACKFILE_PATH_MAX) -+ if(filelist[i].nTracks < 256) - { - packfile_get_titlename(pn.namebuf, filelist[i].bgmFileName[filelist[i].nTracks]); - filelist[i].bgmTracks[filelist[i].nTracks] = off; |