Hello,
Daniël Hörchner wrote:
> Hi, On OpenBSD Ports (https://openports.se/) some projects are maintained
> by "The OpenBSD ports mailing-list".I would like to see the port of
> uCON64 (https://openports.se/emulators/ucon64) updated, because version
> 2.2.2 was released last month.How does this work? Will one of you just
> pick it up or should I contact someone in particular? Kind regards,Dani?l
The fastest way is to updated it and send the patch to this mailing
list. Otherwise, asking here is good too.
Below the diff for the update to version 2.2.2.
Port changes:
- bump version, removed revision
- patches have been upstreamed
If there are no objections, I'll do more testing in the next days and
commit.
Best Regards,
Stefan
Index: emulators/ucon64/Makefile
===================================================================
RCS file: /home/cvs/ports/emulators/ucon64/Makefile,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 Makefile
--- emulators/ucon64/Makefile 14 Jan 2021 21:55:21 -0000 1.10
+++ emulators/ucon64/Makefile 15 Dec 2021 15:14:20 -0000
@@ -2,9 +2,8 @@
COMMENT = swiss army knife for video game console emulators
-DISTNAME = ucon64-2.2.1-src
+DISTNAME = ucon64-2.2.2-src
PKGNAME = ${DISTNAME:S/-src//}
-REVISION = 1
CATEGORIES = emulators
Index: emulators/ucon64/distinfo
===================================================================
RCS file: /home/cvs/ports/emulators/ucon64/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- emulators/ucon64/distinfo 5 Dec 2020 16:53:25 -0000 1.4
+++ emulators/ucon64/distinfo 15 Dec 2021 15:14:26 -0000
@@ -1,2 +1,2 @@
-SHA256 (ucon64-2.2.1-src.tar.gz) = 6BT0J6WYZuFv51e/SvUQBKxovinKvXiURZCHjx33P3k=
-SIZE (ucon64-2.2.1-src.tar.gz) = 1476080
+SHA256 (ucon64-2.2.2-src.tar.gz) = 4QCtSjD2wZq96Y42HGoOysTkBHf1TPt1SYxczSH7Ohg=
+SIZE (ucon64-2.2.2-src.tar.gz) = 1481087
Index: emulators/ucon64/patches/patch-src_libdiscmage_misc_c
===================================================================
RCS file: emulators/ucon64/patches/patch-src_libdiscmage_misc_c
diff -N emulators/ucon64/patches/patch-src_libdiscmage_misc_c
--- emulators/ucon64/patches/patch-src_libdiscmage_misc_c 18 Dec 2020
15:32:58 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-$OpenBSD: patch-src_libdiscmage_misc_c,v 1.1 2020/12/18 15:32:58 fcambus Exp $
-
-Fixed crash in change_mem2() on 64-bit platforms.
-
-Patch from upstream: https://sourceforge.net/p/ucon64/svn/2822/
-
-Index: src/libdiscmage/misc.c
---- src/libdiscmage/misc.c.orig
-+++ src/libdiscmage/misc.c
-@@ -1874,7 +1874,7 @@ change_mem2 (char *buf, size_t bufsize, char *searchst
-
- if (strpos == pos_1st_esc)
- setindex = 0; // reset argument pointer
-- if (pos_1st_esc == (unsigned int) -1)
-+ if (pos_1st_esc == (size_t) -1)
- pos_1st_esc = strpos;
-
- set = sets[setindex].data; // get next set of characters
Index: emulators/ucon64/patches/patch-src_misc_misc_c
===================================================================
RCS file: emulators/ucon64/patches/patch-src_misc_misc_c
diff -N emulators/ucon64/patches/patch-src_misc_misc_c
--- emulators/ucon64/patches/patch-src_misc_misc_c 18 Dec 2020 15:32:58
-0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-$OpenBSD: patch-src_misc_misc_c,v 1.1 2020/12/18 15:32:58 fcambus Exp $
-
-Fixed crash in change_mem2() on 64-bit platforms.
-
-Patch from upstream: https://sourceforge.net/p/ucon64/svn/2822/
-
-Index: src/misc/misc.c
---- src/misc/misc.c.orig
-+++ src/misc/misc.c
-@@ -501,7 +501,7 @@ change_mem2 (char *buf, size_t bufsize, char *searchst
-
- if (strpos == pos_1st_esc)
- setindex = 0; // reset argument pointer
-- if (pos_1st_esc == (unsigned int) -1)
-+ if (pos_1st_esc == (size_t) -1)
- pos_1st_esc = strpos;
-
- set = sets[setindex].data; // get next set of characters