FreeBSD Bugzilla – Attachment 132702 Details for
Bug 177042
[new port] emulators/ucon64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 6.98 KB, created by
Nicole Reid
on 2013-03-17 04:10:00 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Nicole Reid
Created:
2013-03-17 04:10:00 UTC
Size:
6.98 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># ucon64 ># ucon64/distinfo ># ucon64/pkg-descr ># ucon64/Makefile ># ucon64/files ># ucon64/files/patch-misc-unzip.h ># ucon64/files/patch-misc-archive.c ># ucon64/files/patch-ucon64_misc.c ># ucon64/files/patch-ucon64.c ># ucon64/files/patch-libdiscimage-unzip.h ># ucon64/files/patch-Makefile.in ># ucon64/files/patch-backup-lynxit.c ># ucon64/files/patch-libdiscimage-misc_z.c ># >echo c - ucon64 >mkdir -p ucon64 > /dev/null 2>&1 >echo x - ucon64/distinfo >sed 's/^X//' >ucon64/distinfo << 'd57af4214d018f30081ca783fcddc859' >XSHA256 (ucon64-2.0.0-src.tar.gz) = 62064324a1912387f84ac9d4c521c5d5e7b80f2567e9f61bf0ab3e1d976c0127 >XSIZE (ucon64-2.0.0-src.tar.gz) = 1188488 >d57af4214d018f30081ca783fcddc859 >echo x - ucon64/pkg-descr >sed 's/^X//' >ucon64/pkg-descr << 'dceb7d6d4564ef53740953057265e5be' >XuCON64 is the video game backup tool and emulator Swiss Army knife program. >XIt supports almost every system (Consoles, Handheld, and Arcade) with very >Xverbose ROM information, ROM and SRAM convertion to various backup tool >Xformats, IPS/APS/BSL/PPF patching, bad dump detection via RomCenter DAT files, >Xand more. >X >XWWW: http://ucon64.sourceforge.net/ >dceb7d6d4564ef53740953057265e5be >echo x - ucon64/Makefile >sed 's/^X//' >ucon64/Makefile << '1d2a9e6e0f2cd7b02305dbab8103b11b' >X# $FreeBSD$ >X >XPORTNAME= ucon64 >XPORTVERSION= 2.0.0 >XCATEGORIES= emulators >XMASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/${PORTNAME:L}-${PORTVERSION} >XDISTNAME= ${PORTNAME}-${PORTVERSION}-src >X >XMAINTAINER= root@cooltrainer.org >XCOMMENT= Multipurpose video game ROM image and backup utility >X >XGNU_CONFIGURE= yes >XUSE_GMAKE= yes >XUSE_LDCONFIG= yes >XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/ucon64.c >X @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/ucon64_misc.c >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} >X ${INSTALL_PROGRAM} ${WRKSRC}/libdiscmage/discmage.so ${PREFIX}/lib/libdiscmage.so >X >XPLIST_FILES= bin/ucon64 \ >X lib/libdiscmage.so >X >X.include <bsd.port.mk> >1d2a9e6e0f2cd7b02305dbab8103b11b >echo c - ucon64/files >mkdir -p ucon64/files > /dev/null 2>&1 >echo x - ucon64/files/patch-misc-unzip.h >sed 's/^X//' >ucon64/files/patch-misc-unzip.h << 'b45f1c619bb3caf53ee2d8a92fa567b0' >X--- misc/unzip.h.orig 2013-02-24 18:47:37.112077049 -0800 >X+++ misc/unzip.h 2013-02-24 18:48:46.040942781 -0800 >X@@ -49,6 +49,10 @@ >X #include "zlib.h" >X #endif >X >X+#ifndef OF >X+#define OF(x) x >X+#endif >X+ >X #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) >X /* like the STRICT of WIN32, we define a pointer that cannot be converted >X from (void*) without cast */ >b45f1c619bb3caf53ee2d8a92fa567b0 >echo x - ucon64/files/patch-misc-archive.c >sed 's/^X//' >ucon64/files/patch-misc-archive.c << '78182c69275cecc3e00b74de377481e6' >X--- misc/archive.c.orig 2013-02-24 18:51:23.157943222 -0800 >X+++ misc/archive.c 2013-02-24 18:55:00.666943043 -0800 >X@@ -27,6 +27,7 @@ >X #include <string.h> >X #include <errno.h> >X #include <sys/stat.h> >X+#define Z_SOLO >X #include <zlib.h> >X #ifdef HAVE_BYTESWAP_H >X #include <byteswap.h> >78182c69275cecc3e00b74de377481e6 >echo x - ucon64/files/patch-ucon64_misc.c >sed 's/^X//' >ucon64/files/patch-ucon64_misc.c << '602023fc377936af7a52d697e5af2614' >X--- ucon64_misc.c.orig 2013-02-24 22:48:15.577943937 -0800 >X+++ ucon64_misc.c 2013-02-24 22:51:28.521008805 -0800 >X@@ -1698,7 +1698,7 @@ >X #elif defined __APPLE__ // Mac OS X actually >X "~/.ucon64/discmage.dylib", >X #elif defined __unix__ || defined __BEOS__ >X- "~/.ucon64/discmage.so", >X+ "%%PREFIX%%/lib/libdiscmage.so", >X #else >X "", >X #endif >602023fc377936af7a52d697e5af2614 >echo x - ucon64/files/patch-ucon64.c >sed 's/^X//' >ucon64/files/patch-ucon64.c << '811e598a677fc92fe75eef06287a8ee2' >X--- ucon64.c.orig 2005-01-06 15:43:44.000000000 -0800 >X+++ ucon64.c 2013-02-24 23:25:47.094966291 -0800 >X@@ -1394,17 +1394,7 @@ >X #ifdef DLOPEN >X ucon64.discmage_path; >X #else >X-#if defined __MSDOS__ >X- "discmage.dxe"; >X-#elif defined __CYGWIN__ || defined _WIN32 >X- "discmage.dll"; >X-#elif defined __APPLE__ // Mac OS X actually >X- "libdiscmage.dylib"; >X-#elif defined __unix__ || defined __BEOS__ >X- "libdiscmage.so"; >X-#else >X- "unknown"; >X-#endif >X+ "%%PREFIX%%/lib/libdiscmage.so"; >X #endif >X >X if (!ucon64.discmage_enabled) >811e598a677fc92fe75eef06287a8ee2 >echo x - ucon64/files/patch-libdiscimage-unzip.h >sed 's/^X//' >ucon64/files/patch-libdiscimage-unzip.h << '6a280f5ca095d765d24e0e776b809c36' >X--- libdiscmage/unzip.h.orig 2013-02-24 18:48:58.073946338 -0800 >X+++ libdiscmage/unzip.h 2013-02-24 18:50:15.451943149 -0800 >X@@ -49,6 +49,10 @@ >X #include "zlib.h" >X #endif >X >X+#ifndef OF >X+#define OF(x) x >X+#endif >X+ >X #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) >X /* like the STRICT of WIN32, we define a pointer that cannot be converted >X from (void*) without cast */ >6a280f5ca095d765d24e0e776b809c36 >echo x - ucon64/files/patch-Makefile.in >sed 's/^X//' >ucon64/files/patch-Makefile.in << 'f28fc1d961008ea20cad6719cca096c3' >X--- Makefile.in.orig 2013-02-24 19:04:22.959942880 -0800 >X+++ Makefile.in 2013-02-24 19:04:55.927943650 -0800 >X@@ -68,7 +68,7 @@ >X ifneq ($(OSTYPE),beos) >X ifeq ($(findstring freebsd,$(OSTYPE)),) # false if OSTYPE contains "freebsd" >X ifeq ($(findstring openbsd,$(OSTYPE)),) # false if OSTYPE contains "openbsd" >X-LDFLAGS+=-ldl >X+#LDFLAGS+=-ldl >X endif >X endif >X endif >f28fc1d961008ea20cad6719cca096c3 >echo x - ucon64/files/patch-backup-lynxit.c >sed 's/^X//' >ucon64/files/patch-backup-lynxit.c << 'bd974904a667af301ba22e98c6d71f47' >X--- backup/lynxit.c.orig 2013-02-24 18:40:11.525942823 -0800 >X+++ backup/lynxit.c 2013-02-24 18:46:25.101942911 -0800 >X@@ -561,7 +561,7 @@ >X return FALSE; >X } >X >X- if (strcmp (header.magic, "LYNX") != 0) >X+ if (memcmp (header.magic, "LYNX", sizeof(header.magic)) != 0) >X { >X MESSAGE (("ERROR : %s is not a lynx image\n", filename)); >X fclose (fp); >X@@ -682,7 +682,7 @@ >X #endif >X >X memset (&header, 0, sizeof (st_lnx_header_t)); >X- strcpy (header.magic, MAGIC_STRING); >X+ memcpy (header.magic, MAGIC_STRING, sizeof(header.magic)); >X strcpy (header.cartname, cartname); >X strcpy (header.manufname, manufname); >X header.page_size_bank0 = cart_analyse (BANK0); >bd974904a667af301ba22e98c6d71f47 >echo x - ucon64/files/patch-libdiscimage-misc_z.c >sed 's/^X//' >ucon64/files/patch-libdiscimage-misc_z.c << '874f75b598de85c41b963bceb707cb24' >X--- libdiscmage/misc_z.c.orig 2013-02-24 18:50:29.788944291 -0800 >X+++ libdiscmage/misc_z.c 2013-02-24 18:51:00.403942771 -0800 >X@@ -27,6 +27,7 @@ >X #include <string.h> >X #include <errno.h> >X #include <sys/stat.h> >X+#define Z_SOLO >X #include <zlib.h> >X #include "misc_z.h" >X #include "misc.h" >874f75b598de85c41b963bceb707cb24 >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 177042
: 132702