Two days ago the snesrev project tagged a new release of zelda3, fixing several gameplay glitches and crashes. This diff updates our port.
Quick playtesting suggests that this version is working fine Given the nature of the changes made upstream it is unlikely that this update would introduce any major problems. Our build fix has been merged so a local patch can be dropped. Upstream calls this "0.2-beta" and I have followed their naming. ok? diff /usr/ports commit - 4783614d8e624d89a1b6f60755ca79ea91c630fe path + /usr/ports blob - 46f7e5df7b0132900a3b9bc921e6cb0d50dd7c0f file + games/zelda3/Makefile --- games/zelda3/Makefile +++ games/zelda3/Makefile @@ -1,11 +1,11 @@ COMMENT = reimplementation of Zelda - A Link to the Past -DISTNAME = zelda3-0.1pre20221101 +V = 0.2-beta +PKGNAME = zelda3-${V:S/-//g} -# use a commit hash, for now; the latest tag (v0.1-beta) is quite outdated GH_ACCOUNT = snesrev GH_PROJECT = zelda3 -GH_COMMIT = 91d771ecc4532e4e40995b133edd9d82a39d61ac +GH_TAGNAME = v${V} CATEGORIES = games blob - 8aad0c00a804349edb6222698a454cbbf2d149e5 file + games/zelda3/distinfo --- games/zelda3/distinfo +++ games/zelda3/distinfo @@ -1,2 +1,2 @@ -SHA256 (zelda3-0.1pre20221101-91d771ec.tar.gz) = nQ8+nFZQ+PW9nAzYSRuXVVOp+fewoYsbt37ympzqcwc= -SIZE (zelda3-0.1pre20221101-91d771ec.tar.gz) = 3907372 +SHA256 (zelda3-0.2-beta.tar.gz) = igF8TPOKc4vFi7xBAcko6Y9TcFY4GXEn2+rcFujOWuw= +SIZE (zelda3-0.2-beta.tar.gz) = 3908488 blob - 7e8835702bf3496cb17ad0a038d86d8cf561a83b file + /dev/null --- games/zelda3/patches/patch-types_h +++ /dev/null @@ -1,13 +0,0 @@ -Index: types.h ---- types.h.orig -+++ types.h -@@ -63,7 +63,9 @@ static FORCEINLINE uint UintMax(uint a, uint b) { retu - #define DWORD(x) (*(uint32*)&(x)) - #define XY(x, y) ((y)*64+(x)) - -+#ifndef swap16 - static inline uint16 swap16(uint16 v) { return (v << 8) | (v >> 8); } -+#endif - - typedef struct Point16U { - uint16 x, y; blob - 9afb2bbcfafdfa3f2cbcecbafbb6ef7458f94fab file + games/zelda3-data/Makefile --- games/zelda3-data/Makefile +++ games/zelda3-data/Makefile @@ -1,13 +1,11 @@ COMMENT = game data files for zelda3 -DISTNAME = zelda3-0.1pre20221101 -PKGNAME = zelda3-data-0.1pre20221101 -REVISION = 0 +V = 0.2-beta +PKGNAME = zelda3-data-${V:S/-//g} -# use a commit hash, for now; the latest tag (v0.1-beta) is quite outdated GH_ACCOUNT = snesrev GH_PROJECT = zelda3 -GH_COMMIT = 91d771ecc4532e4e40995b133edd9d82a39d61ac +GH_TAGNAME = v${V} CATEGORIES = games blob - 8aad0c00a804349edb6222698a454cbbf2d149e5 file + games/zelda3-data/distinfo --- games/zelda3-data/distinfo +++ games/zelda3-data/distinfo @@ -1,2 +1,2 @@ -SHA256 (zelda3-0.1pre20221101-91d771ec.tar.gz) = nQ8+nFZQ+PW9nAzYSRuXVVOp+fewoYsbt37ympzqcwc= -SIZE (zelda3-0.1pre20221101-91d771ec.tar.gz) = 3907372 +SHA256 (zelda3-0.2-beta.tar.gz) = igF8TPOKc4vFi7xBAcko6Y9TcFY4GXEn2+rcFujOWuw= +SIZE (zelda3-0.2-beta.tar.gz) = 3908488