FreeBSD Bugzilla – Attachment 134713 Details for
Bug 179421
[Update] emulators/mednafen to 0.8.D.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 5.32 KB, created by
fiziologus
on 2013-06-08 02:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
fiziologus
Created:
2013-06-08 02:10:00 UTC
Size:
5.32 KB
patch
obsolete
>diff -ruN mednafen/Makefile mednafen/Makefile >--- mednafen/Makefile 2013-04-26 20:39:14.000000000 +0400 >+++ mednafen/Makefile 2013-06-08 00:58:04.000000000 +0400 >@@ -1,8 +1,7 @@ > # $FreeBSD: emulators/mednafen/Makefile 316624 2013-04-26 16:39:14Z bapt $ > > PORTNAME= mednafen >-PORTVERSION= 0.8.B >-PORTREVISION= 8 >+PORTVERSION= 0.8.D.3 > PORTEPOCH= 1 > CATEGORIES= emulators games > MASTER_SITES= SF/${PORTNAME}/Mednafen/${PORTVERSION} >@@ -10,42 +9,125 @@ > MAINTAINER= acm@FreeBSD.org > COMMENT= Portable multi-system emulator > >-LIB_DEPENDS= cdio.13:${PORTSDIR}/sysutils/libcdio \ >- sndfile.1:${PORTSDIR}/audio/libsndfile \ >- vorbis.4:${PORTSDIR}/audio/libvorbis >+LIB_DEPENDS= cdio:${PORTSDIR}/sysutils/libcdio \ >+ sndfile:${PORTSDIR}/audio/libsndfile \ >+ vorbis:${PORTSDIR}/audio/libvorbis > > USE_BZIP2= yes >-USE_GMAKE= yes > GNU_CONFIGURE= yes > USE_SDL= sdl net >-USE_XORG= x11 >-USE_GL= glut >+USE_GL= gl glu > CPPFLAGS+= -I${LOCALBASE}/include >-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD} >+LDFLAGS+= -L${LOCALBASE}/lib > WRKSRC= ${WRKDIR}/${PORTNAME} > SUB_FILES= pkg-message > >-OPTIONS_DEFINE= NLS DOCS >+CONFIGURE_ARGS+= --disable-alsa --disable-alsatest \ >+ --with-sdl-prefix=${LOCALBASE} >+USES+= iconv pkgconfig:build >+ >+MAKE_JOBS_SAFE= yes >+ >+OPTIONS_DEFINE= NLS DOCS JACK >+OPTIONS_MULTI= EMU >+ >+OPTIONS_MULTI_EMU= GB GBA LINX NES NGP PCE PCFX SMS SWAN >+ >+OPTIONS_DEFAULT= GB GBA LINX NES NGP PCE PCFX SMS SWAN >+ >+GB_DESC= build with GameBoy emulation >+GBA_DESC= build with GameBoy Advance emulation >+LINX_DESC= build with Atari Lynx emulation >+NES_DESC= build with Nintendo Entertainment System emulation >+NGP_DESC= build with Neo Geo Pocket emulation >+PCE_DESC= build with PC Engine(TurboGrafx 16) emulation >+PCFX_DESC= build with PC-FX emulation >+SMS_DESC= build with SMS+GG emulation >+SWAN_DESC= build with WonderSwan emulation >+JACK_DESC= support the JACK audio API > > .include <bsd.port.options.mk> > > .if ${PORT_OPTIONS:MNLS} > USES+= gettext > PLIST_SUB+= NLS="" >-FLAG_NLS= true >+CONFIGURE_ARGS+= --enable-nls > .else > CONFIGURE_ARGS+= --disable-nls > PLIST_SUB+= NLS="@comment " > .endif > >+.if ${PORT_OPTIONS:MJACK} >+CONFIGURE_ARGS+= --enable-jack >+LIB_DEPENDS+= jack:${PORTSDIR}/audio/jack >+.else >+CONFIGURE_ARGS+= --disable-jack >+.endif >+ >+.if ${PORT_OPTIONS:MGB} >+CONFIGURE_ARGS+= --enable-gb >+.else >+CONFIGURE_ARGS+= --disable-gb >+.endif >+ >+.if ${PORT_OPTIONS:MGBA} >+CONFIGURE_ARGS+= --enable-gba >+.else >+CONFIGURE_ARGS+= --disable-gba >+.endif >+ >+.if ${PORT_OPTIONS:MLINX} >+CONFIGURE_ARGS+= --enable-lynx >+.else >+CONFIGURE_ARGS+= --disable-lynx >+.endif >+ >+.if ${PORT_OPTIONS:MNES} >+CONFIGURE_ARGS+= --enable-nes >+.else >+CONFIGURE_ARGS+= --disable-nes >+.endif >+ >+.if ${PORT_OPTIONS:MNGP} >+CONFIGURE_ARGS+= --enable-ngp >+.else >+CONFIGURE_ARGS+= --disable-ngp >+.endif >+ >+.if ${PORT_OPTIONS:MPCE} >+CONFIGURE_ARGS+= --enable-pce >+.else >+CONFIGURE_ARGS+= --disable-pce >+.endif >+ >+.if ${PORT_OPTIONS:MPCFX} >+CONFIGURE_ARGS+= --enable-pcfx >+.else >+CONFIGURE_ARGS+= --disable-pcfx >+.endif >+ >+.if ${PORT_OPTIONS:MSMS} >+CONFIGURE_ARGS+= --enable-sms >+.else >+CONFIGURE_ARGS+= --disable-sms >+.endif >+ >+.if ${PORT_OPTIONS:MSWAN} >+CONFIGURE_ARGS+= --enable-wswan >+.else >+CONFIGURE_ARGS+= --disable-wswan >+.endif >+ > .if ${ARCH}==sparc64 > BROKEN= does not compile on ${ARCH} due to internal compiler error > .endif > > pre-configure: >- @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' -e \ >- 's|/usr/local|${LOCALBASE}|g' -e 's|/usr/X11R6|${LOCALBASE}|g' \ >+ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ >+ -e 's|/usr/X11R6|${LOCALBASE}|g' \ > ${WRKSRC}/configure >+ @${REINPLACE_CMD} -e 's|NetBSD|FreeBSD|' \ >+ ${WRKSRC}/include/trio/triodef.h > > post-install: > .if ${PORT_OPTIONS:MDOCS} >diff -ruN mednafen/distinfo mednafen/distinfo >--- mednafen/distinfo 2012-07-14 17:54:48.000000000 +0400 >+++ mednafen/distinfo 2013-06-03 22:31:04.000000000 +0400 >@@ -1,2 +1,2 @@ >-SHA256 (mednafen-0.8.B.tar.bz2) = d7f5122ddab321f971833733f20858e2300693b1b489cc78f06aa7fd08f0b892 >-SIZE (mednafen-0.8.B.tar.bz2) = 2414246 >+SHA256 (mednafen-0.8.D.3.tar.bz2) = d678178f0dc03c89c7a0c83bf0c721af406ee53dfa79295432ab13722ed0eea2 >+SIZE (mednafen-0.8.D.3.tar.bz2) = 2442705 >diff -ruN mednafen/files/patch-src__file.cpp mednafen/files/patch-src__file.cpp >--- mednafen/files/patch-src__file.cpp 1970-01-01 03:00:00.000000000 +0300 >+++ mednafen/files/patch-src__file.cpp 2013-06-07 18:54:34.000000000 +0400 >@@ -0,0 +1,29 @@ >+--- src/file.cpp.orig 2009-05-15 06:12:55.000000000 +0400 >++++ src/file.cpp 2013-06-07 18:52:21.000000000 +0400 >+@@ -229,7 +229,7 @@ >+ goto doret; >+ } >+ >+- while((howmany = gzread(tz, tmp->data + cur_size, cur_alloced - cur_size)) > 0) >++ while((howmany = gzread((gzFile)tz, tmp->data + cur_size, cur_alloced - cur_size)) > 0) >+ { >+ cur_size += howmany; >+ cur_alloced <<= 1; >+@@ -282,7 +282,7 @@ >+ } >+ else if(type == MDFN_FILETYPE_GZIP) >+ { >+- gzclose(tz); >++ gzclose((gzFile)tz); >+ } >+ else if(type == MDFN_FILETYPE_ZIP) >+ { >+@@ -444,7 +444,7 @@ >+ >+ if(!(fceufp = MakeMemWrap(t, 1))) >+ { >+- gzclose(t); >++ gzclose((gzFile)t); >+ return(0); >+ } >+ >diff -ruN mednafen/pkg-descr mednafen/pkg-descr >--- mednafen/pkg-descr 2012-07-14 17:54:48.000000000 +0400 >+++ mednafen/pkg-descr 2013-06-08 00:54:44.000000000 +0400 >@@ -13,4 +13,4 @@ > slightly less latency, although the latency differences may not be perceptible > to most people. > >-WWW: http://mednafen.sf.net/ >+WWW: http://mednafen.sf.net/
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 179421
: 134713