View | Details | Raw Unified | Return to bug 252178 | Differences between
and this patch

Collapse All | Expand All

(-)emulators/ucon64/Makefile (-3 / +12 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	ucon64
3
PORTNAME=	ucon64
4
PORTVERSION=	2.2.0
4
PORTVERSION=	2.2.1
5
CATEGORIES=	emulators
5
CATEGORIES=	emulators
6
MASTER_SITES=	SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME:tl}-${PORTVERSION}
6
MASTER_SITES=	SF/${PORTNAME:tl}/${PORTNAME:tl}/${PORTNAME:tl}-${PORTVERSION}
7
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
7
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
Lines 17-30 Link Here
17
17
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
19
20
MAKE_ARGS=	CC=${CC}
21
20
WRKSRC_SUBDIR=	src
22
WRKSRC_SUBDIR=	src
21
23
22
PLIST_FILES=	bin/ucon64
24
PLIST_FILES=	bin/ucon64
23
25
24
OPTIONS_DEFINE=	COLOR DEBUG DISCMAGE PARALLEL USB ZLIB
26
OPTIONS_DEFINE=	CD64 COLOR DEBUG DISCMAGE PARALLEL USB ZLIB
25
OPTIONS_DEFAULT=COLOR DISCMAGE PARALLEL USB ZLIB
27
OPTIONS_DEFAULT=CD64 COLOR DISCMAGE PARALLEL USB ZLIB
26
OPTIONS_SUB=	yes
28
OPTIONS_SUB=	yes
27
29
30
CD64_DESC=	CD64 backup unit support
28
COLOR_DESC=	ANSI-colored output
31
COLOR_DESC=	ANSI-colored output
29
DEBUG_DESC=	Additional debugging output
32
DEBUG_DESC=	Additional debugging output
30
DISCMAGE_DESC=	ISO/BIN/CDI format support
33
DISCMAGE_DESC=	ISO/BIN/CDI format support
Lines 32-37 Link Here
32
USB_DESC=	USB backup unit support
35
USB_DESC=	USB backup unit support
33
ZLIB_DESC=	ZIP/gzip archive support
36
ZLIB_DESC=	ZIP/gzip archive support
34
37
38
CD64_CONFIGURE_WITH=		libcd64
39
CD64_PLIST_FILES=		lib/libcd64.so
35
COLOR_CONFIGURE_ENABLE=		ansi-color
40
COLOR_CONFIGURE_ENABLE=		ansi-color
36
DEBUG_CONFIGURE_ENABLE=		debug
41
DEBUG_CONFIGURE_ENABLE=		debug
37
DISCMAGE_CONFIGURE_WITH=	libdiscmage
42
DISCMAGE_CONFIGURE_WITH=	libdiscmage
Lines 48-53 Link Here
48
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
53
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
49
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
54
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
50
55
56
do-install-CD64-on:
57
	${INSTALL_LIB} ${WRKSRC}/backup/libcd64/libcd64.so \
58
		${STAGEDIR}${PREFIX}/lib/libcd64.so
59
51
do-install-DISCMAGE-on:
60
do-install-DISCMAGE-on:
52
	${INSTALL_LIB} ${WRKSRC}/libdiscmage/discmage.so \
61
	${INSTALL_LIB} ${WRKSRC}/libdiscmage/discmage.so \
53
		${STAGEDIR}${PREFIX}/lib/libdiscmage.so
62
		${STAGEDIR}${PREFIX}/lib/libdiscmage.so
(-)emulators/ucon64/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1559378280
1
TIMESTAMP = 1608717049
2
SHA256 (ucon64-2.2.0-src.tar.gz) = 5727e0be9ee878bba84d204135a7ca25662db6b56fee6895301e50c1bdda70af
2
SHA256 (ucon64-2.2.1-src.tar.gz) = e814f427a59866e16fe757bf4af51004ac68be29cabd78944590878f1df73f79
3
SIZE (ucon64-2.2.0-src.tar.gz) = 1488002
3
SIZE (ucon64-2.2.1-src.tar.gz) = 1476080
(-)emulators/ucon64/files/patch-Makefile (+15 lines)
Line 0 Link Here
1
Remove some hardcoded optimization/warnings flags.
2
3
--- Makefile.orig	2020-12-26 22:51:37 UTC
4
+++ Makefile
5
@@ -9,8 +9,8 @@ endif
6
 
7
 CC=gcc
8
 CFLAGS0:=$(CFLAGS)
9
-CFLAGS+=-I. -Wall -W -Wno-implicit-fallthrough -Wno-format-truncation \
10
--Wno-stringop-overflow -O3 -fsigned-char
11
+CFLAGS+=-I. -Wall -W -Wno-implicit-fallthrough \
12
+-fsigned-char
13
 # Enable -Wstringop-overflow[=type] when it is no longer a broken, partial
14
 # implementation with false positives for trivial cases.
15
 LDFLAGS0:=$(LDFLAGS)
(-)emulators/ucon64/files/patch-backup_libcd64_Makefile (+18 lines)
Line 0 Link Here
1
Remove some hardcoded optimization/warnings flags.
2
3
--- backup/libcd64/Makefile.orig	2020-12-26 22:52:19 UTC
4
+++ backup/libcd64/Makefile
5
@@ -1,11 +1,11 @@
6
 CC=gcc
7
 
8
 # I think we only use gnu99 instead of c99 due to va_args extensions.
9
-CFLAGS+=-I. -Wall -W -Wno-format-truncation -std=gnu99
10
+CFLAGS+=-I. -Wall -W -std=gnu99
11
 ifdef DEBUG
12
 CFLAGS+=-pg -g -pedantic -ansi -DDEBUG
13
 else
14
-CFLAGS+=-O6 -funroll-loops -fexpensive-optimizations
15
+CFLAGS+=-funroll-loops
16
 endif
17
 
18
 ifndef DJGPP
(-)emulators/ucon64/files/patch-libdiscmage_Makefile.in (+13 lines)
Line 0 Link Here
1
Remove some hardcoded optimization/warnings flags.
2
3
--- libdiscmage/Makefile.in.orig	2020-12-26 22:53:30 UTC
4
+++ libdiscmage/Makefile.in
5
@@ -22,7 +22,7 @@ INSTALL_DATA=@INSTALL_DATA@
6
 
7
 CC=@CC@
8
 CFLAGS0:=$(CFLAGS) -I. -Wall -W -Wno-implicit-fallthrough \
9
--Wno-format-truncation -Wno-stringop-overflow -O3 @DEFS@
10
+@DEFS@
11
 CFLAGS=$(CFLAGS0) -DDLL
12
 ifdef DLOPEN
13
 CFLAGS+=-DDLOPEN
(-)emulators/ucon64/files/patch-libdiscmage_misc.c (+14 lines)
Line 0 Link Here
1
Fixes a crash in change_mem2() on 64-bit platforms.  That function is used for
2
patching functionality.
3
4
--- libdiscmage/misc.c.orig	2020-07-03 08:13:04 UTC
5
+++ libdiscmage/misc.c
6
@@ -1874,7 +1874,7 @@ change_mem2 (char *buf, size_t bufsize, char *searchst
7
 
8
           if (strpos == pos_1st_esc)
9
             setindex = 0;                       // reset argument pointer
10
-          if (pos_1st_esc == (unsigned int) -1)
11
+          if (pos_1st_esc == (size_t) -1)
12
             pos_1st_esc = strpos;
13
 
14
           set = sets[setindex].data;            // get next set of characters
(-)emulators/ucon64/files/patch-misc_misc.c (+14 lines)
Line 0 Link Here
1
Fixes a crash in change_mem2() on 64-bit platforms.  That function is used for
2
patching functionality.
3
4
--- misc/misc.c.orig	2020-07-03 08:09:50 UTC
5
+++ misc/misc.c
6
@@ -501,7 +501,7 @@ change_mem2 (char *buf, size_t bufsize, char *searchst
7
 
8
           if (strpos == pos_1st_esc)
9
             setindex = 0;                       // reset argument pointer
10
-          if (pos_1st_esc == (unsigned int) -1)
11
+          if (pos_1st_esc == (size_t) -1)
12
             pos_1st_esc = strpos;
13
 
14
           set = sets[setindex].data;            // get next set of characters
(-)emulators/ucon64/pkg-descr (-1 / +1 lines)
Lines 4-7 Link Here
4
formats, IPS/APS/BSL/PPF patching, bad dump detection via RomCenter DAT files,
4
formats, IPS/APS/BSL/PPF patching, bad dump detection via RomCenter DAT files,
5
and more.
5
and more.
6
6
7
WWW: http://ucon64.sourceforge.net/
7
WWW: https://ucon64.sourceforge.io

Return to bug 252178