Date: Tue, 19 Jan 2021 11:31:05 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562044 - in head/emulators/ucon64: . files Message-ID: <202101191131.10JBV5MU039352@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Tue Jan 19 11:31:05 2021 New Revision: 562044 URL: https://svnweb.freebsd.org/changeset/ports/562044 Log: emulators/ucon64: Update to 2.2.1 * Add support for CD64 backup units via new default option CD64. [1] * Update WWW field. [1] Changelog: https://ucon64.sourceforge.io/ucon64/changes.html PR: 252178 Reported by: Daniël Hörchner (via e-mail) [1] Approved by: Nicole Reid <root@cooltrainer.org> (maintainer) Added: head/emulators/ucon64/files/patch-Makefile (contents, props changed) head/emulators/ucon64/files/patch-backup_libcd64_Makefile (contents, props changed) head/emulators/ucon64/files/patch-libdiscmage_Makefile.in (contents, props changed) head/emulators/ucon64/files/patch-libdiscmage_misc.c (contents, props changed) head/emulators/ucon64/files/patch-misc_misc.c (contents, props changed) Modified: head/emulators/ucon64/Makefile head/emulators/ucon64/distinfo head/emulators/ucon64/pkg-descr Modified: head/emulators/ucon64/Makefile ============================================================================== --- head/emulators/ucon64/Makefile Tue Jan 19 11:20:56 2021 (r562043) +++ head/emulators/ucon64/Makefile Tue Jan 19 11:31:05 2021 (r562044) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= ucon64 -PORTVERSION= 2.2.0 +PORTVERSION= 2.2.1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME:tl}-${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}-src @@ -17,14 +17,17 @@ USE_LDCONFIG= yes GNU_CONFIGURE= yes +MAKE_ARGS= CC="${CC}" + WRKSRC_SUBDIR= src PLIST_FILES= bin/ucon64 -OPTIONS_DEFINE= COLOR DEBUG DISCMAGE PARALLEL USB ZLIB -OPTIONS_DEFAULT=COLOR DISCMAGE PARALLEL USB ZLIB +OPTIONS_DEFINE= CD64 COLOR DEBUG DISCMAGE PARALLEL USB ZLIB +OPTIONS_DEFAULT=CD64 COLOR DISCMAGE PARALLEL USB ZLIB OPTIONS_SUB= yes +CD64_DESC= CD64 backup unit support COLOR_DESC= ANSI-colored output DEBUG_DESC= Additional debugging output DISCMAGE_DESC= ISO/BIN/CDI format support @@ -32,6 +35,7 @@ PARALLEL_DESC= Parallel port backup unit support USB_DESC= USB backup unit support ZLIB_DESC= ZIP/gzip archive support +CD64_CONFIGURE_WITH= libcd64 COLOR_CONFIGURE_ENABLE= ansi-color DEBUG_CONFIGURE_ENABLE= debug DISCMAGE_CONFIGURE_WITH= libdiscmage Modified: head/emulators/ucon64/distinfo ============================================================================== --- head/emulators/ucon64/distinfo Tue Jan 19 11:20:56 2021 (r562043) +++ head/emulators/ucon64/distinfo Tue Jan 19 11:31:05 2021 (r562044) @@ -1,3 +1,3 @@ -TIMESTAMP = 1559378280 -SHA256 (ucon64-2.2.0-src.tar.gz) = 5727e0be9ee878bba84d204135a7ca25662db6b56fee6895301e50c1bdda70af -SIZE (ucon64-2.2.0-src.tar.gz) = 1488002 +TIMESTAMP = 1608717049 +SHA256 (ucon64-2.2.1-src.tar.gz) = e814f427a59866e16fe757bf4af51004ac68be29cabd78944590878f1df73f79 +SIZE (ucon64-2.2.1-src.tar.gz) = 1476080 Added: head/emulators/ucon64/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/ucon64/files/patch-Makefile Tue Jan 19 11:31:05 2021 (r562044) @@ -0,0 +1,16 @@ +Remove some hardcoded optimization/warnings flags. This will become obsolete +with the next release. + +--- Makefile.orig 2020-12-26 22:51:37 UTC ++++ Makefile +@@ -9,8 +9,8 @@ endif + + CC=gcc + CFLAGS0:=$(CFLAGS) +-CFLAGS+=-I. -Wall -W -Wno-implicit-fallthrough -Wno-format-truncation \ +--Wno-stringop-overflow -O3 -fsigned-char ++CFLAGS+=-I. -Wall -W -Wno-implicit-fallthrough \ ++-fsigned-char + # Enable -Wstringop-overflow[=type] when it is no longer a broken, partial + # implementation with false positives for trivial cases. + LDFLAGS0:=$(LDFLAGS) Added: head/emulators/ucon64/files/patch-backup_libcd64_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/ucon64/files/patch-backup_libcd64_Makefile Tue Jan 19 11:31:05 2021 (r562044) @@ -0,0 +1,19 @@ +Remove some hardcoded optimization/warnings flags. This will become obsolete +with the next release. + +--- backup/libcd64/Makefile.orig 2020-12-26 22:52:19 UTC ++++ backup/libcd64/Makefile +@@ -1,11 +1,11 @@ + CC=gcc + + # I think we only use gnu99 instead of c99 due to va_args extensions. +-CFLAGS+=-I. -Wall -W -Wno-format-truncation -std=gnu99 ++CFLAGS+=-I. -Wall -W -std=gnu99 + ifdef DEBUG + CFLAGS+=-pg -g -pedantic -ansi -DDEBUG + else +-CFLAGS+=-O6 -funroll-loops -fexpensive-optimizations ++CFLAGS+=-funroll-loops + endif + + ifndef DJGPP Added: head/emulators/ucon64/files/patch-libdiscmage_Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/ucon64/files/patch-libdiscmage_Makefile.in Tue Jan 19 11:31:05 2021 (r562044) @@ -0,0 +1,14 @@ +Remove some hardcoded optimization/warnings flags. This will become obsolete +with the next release. + +--- libdiscmage/Makefile.in.orig 2020-12-26 22:53:30 UTC ++++ libdiscmage/Makefile.in +@@ -22,7 +22,7 @@ INSTALL_DATA=@INSTALL_DATA@ + + CC=@CC@ + CFLAGS0:=$(CFLAGS) -I. -Wall -W -Wno-implicit-fallthrough \ +--Wno-format-truncation -Wno-stringop-overflow -O3 @DEFS@ ++@DEFS@ + CFLAGS=$(CFLAGS0) -DDLL + ifdef DLOPEN + CFLAGS+=-DDLOPEN Added: head/emulators/ucon64/files/patch-libdiscmage_misc.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/ucon64/files/patch-libdiscmage_misc.c Tue Jan 19 11:31:05 2021 (r562044) @@ -0,0 +1,17 @@ +Fixes a crash in change_mem2() on 64-bit platforms. That function is used for +patching functionality. + +This patch is already incorporated at upstream and will become obsolete with +the next release. + +--- libdiscmage/misc.c.orig 2020-07-03 08:13:04 UTC ++++ 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 Added: head/emulators/ucon64/files/patch-misc_misc.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/ucon64/files/patch-misc_misc.c Tue Jan 19 11:31:05 2021 (r562044) @@ -0,0 +1,17 @@ +Fixes a crash in change_mem2() on 64-bit platforms. That function is used for +patching functionality. + +This patch is already incorporated at upstream and will become obsolete with +the next release. + +--- misc/misc.c.orig 2020-07-03 08:09:50 UTC ++++ 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 Modified: head/emulators/ucon64/pkg-descr ============================================================================== --- head/emulators/ucon64/pkg-descr Tue Jan 19 11:20:56 2021 (r562043) +++ head/emulators/ucon64/pkg-descr Tue Jan 19 11:31:05 2021 (r562044) @@ -4,4 +4,4 @@ verbose ROM information, ROM and SRAM convertion to va formats, IPS/APS/BSL/PPF patching, bad dump detection via RomCenter DAT files, and more. -WWW: http://ucon64.sourceforge.net/ +WWW: https://ucon64.sourceforge.io
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101191131.10JBV5MU039352>