diff options
author | makc <makc@FreeBSD.org> | 2010-09-04 17:31:08 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2010-09-04 17:31:08 +0800 |
commit | c287bc21273cde79693b398cddf7368bd9381e7f (patch) | |
tree | 57d77dd75bdd1f86dab4cc38f3b7b34690530acf /emulators/bsnes | |
parent | c26416b0667dd1413696745042afe306492a6599 (diff) | |
download | freebsd-ports-graphics-c287bc21273cde79693b398cddf7368bd9381e7f.tar.gz freebsd-ports-graphics-c287bc21273cde79693b398cddf7368bd9381e7f.tar.zst freebsd-ports-graphics-c287bc21273cde79693b398cddf7368bd9381e7f.zip |
Update ports to 0.68
PR: ports/150220
Submitted by: Emmanuel Vadot (maintainer)
Diffstat (limited to 'emulators/bsnes')
-rw-r--r-- | emulators/bsnes/Makefile | 16 | ||||
-rw-r--r-- | emulators/bsnes/distinfo | 6 | ||||
-rw-r--r-- | emulators/bsnes/files/patch-function.hpp | 15 | ||||
-rw-r--r-- | emulators/bsnes/files/patch-serialization.cpp | 11 | ||||
-rw-r--r-- | emulators/bsnes/files/patch-snesfilter-Makefile | 4 | ||||
-rw-r--r-- | emulators/bsnes/files/patch-snesreader-Makefile | 4 | ||||
-rw-r--r-- | emulators/bsnes/files/patch-src-Makefile | 18 | ||||
-rw-r--r-- | emulators/bsnes/files/patch-src-nall-Makefile | 11 | ||||
-rw-r--r-- | emulators/bsnes/files/patch-src-ui_qt-Makefile | 4 | ||||
-rw-r--r-- | emulators/bsnes/files/patch-supergameboy-Makefile | 4 |
10 files changed, 53 insertions, 40 deletions
diff --git a/emulators/bsnes/Makefile b/emulators/bsnes/Makefile index 2485e41b8a5..be5796edf84 100644 --- a/emulators/bsnes/Makefile +++ b/emulators/bsnes/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= bsnes -PORTVERSION= 0.67 +PORTVERSION= 0.68 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTNAME= ${PORTNAME}_v${PORTVERSION:S/.//} @@ -97,22 +97,22 @@ IGNORE= you have to choose at least an input driver first .endif post-patch: - ${REINPLACE_CMD} -e 's|VIDEO|${VIDEO_DRIVER}|' ${WRKSRC}/src/ui_qt/Makefile - ${REINPLACE_CMD} -e 's|AUDIO|${AUDIO_DRIVER}|' ${WRKSRC}/src/ui_qt/Makefile - ${REINPLACE_CMD} -e 's|INPUT|${INPUT_DRIVER}|' ${WRKSRC}/src/ui_qt/Makefile + ${REINPLACE_CMD} -e 's|VIDEO|${VIDEO_DRIVER}|' ${WRKSRC}/bsnes/qt/Makefile + ${REINPLACE_CMD} -e 's|AUDIO|${AUDIO_DRIVER}|' ${WRKSRC}/bsnes/qt/Makefile + ${REINPLACE_CMD} -e 's|INPUT|${INPUT_DRIVER}|' ${WRKSRC}/bsnes/qt/Makefile do-build: - (cd ${WRKSRC}/src && ${GMAKE} ${MAKE_ENV}) + (cd ${WRKSRC}/bsnes && ${GMAKE} ${MAKE_ENV}) (cd ${WRKSRC}/snesreader && ${GMAKE} ${MAKE_ENV}) (cd ${WRKSRC}/snesfilter && ${GMAKE} ${MAKE_ENV}) (cd ${WRKSRC}/supergameboy && ${GMAKE} ${MAKE_ENV}) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/bsnes/out/bsnes-compatibility ${PREFIX}/bin/bsnes ${MKDIR} ${PREFIX}/share/pixmaps - ${INSTALL_DATA} ${WRKSRC}/src/data/bsnes.png ${PREFIX}/share/pixmaps/bsnes.png + ${INSTALL_DATA} ${WRKSRC}/bsnes/qt/data/bsnes.png ${PREFIX}/share/pixmaps/bsnes.png ${MKDIR} ${PREFIX}/share/applications - ${INSTALL_DATA} ${WRKSRC}/src/data/bsnes.desktop ${PREFIX}/share/applications/bsnes.desktop + ${INSTALL_DATA} ${WRKSRC}/bsnes/qt//data/bsnes.desktop ${PREFIX}/share/applications/bsnes.desktop ${INSTALL_DATA} ${WRKSRC}/snesreader/libsnesreader.so ${PREFIX}/lib/ ${INSTALL_DATA} ${WRKSRC}/snesfilter/libsnesfilter.so ${PREFIX}/lib/ ${INSTALL_DATA} ${WRKSRC}/supergameboy/libsupergameboy.so ${PREFIX}/lib/ diff --git a/emulators/bsnes/distinfo b/emulators/bsnes/distinfo index 280c0fe3c01..f87d44b388c 100644 --- a/emulators/bsnes/distinfo +++ b/emulators/bsnes/distinfo @@ -1,3 +1,3 @@ -MD5 (bsnes_v067.tar.bz2) = c0cc823fe0b15a892af9e6d864214e29 -SHA256 (bsnes_v067.tar.bz2) = a44650db00bbf87b2f5fd4fe4b6279904c00642acfbf3dcb46df6aafeb3e74cf -SIZE (bsnes_v067.tar.bz2) = 928328 +MD5 (bsnes_v068.tar.bz2) = 9ff2f6dc64f54f0da538cefade64b3a7 +SHA256 (bsnes_v068.tar.bz2) = a92cd604674e3beed9a1a3153e9fdf9cbbdc29aff62482e4d2a29c47bd8cffe2 +SIZE (bsnes_v068.tar.bz2) = 945351 diff --git a/emulators/bsnes/files/patch-function.hpp b/emulators/bsnes/files/patch-function.hpp new file mode 100644 index 00000000000..9bdff9b7c5a --- /dev/null +++ b/emulators/bsnes/files/patch-function.hpp @@ -0,0 +1,15 @@ +--- bsnes/nall/function.hpp.orig 2010-09-02 13:10:15.000000000 +0200 ++++ bsnes/nall/function.hpp 2010-09-02 13:10:34.000000000 +0200 +@@ -1,7 +1,11 @@ + #ifndef NALL_FUNCTION_HPP + #define NALL_FUNCTION_HPP + +-#include <malloc.h> ++#ifdef __FreeBSD__ ++# include <stdlib.h> ++#else ++# include <malloc.h> ++#endif + #include <functional> + #include <type_traits> + diff --git a/emulators/bsnes/files/patch-serialization.cpp b/emulators/bsnes/files/patch-serialization.cpp new file mode 100644 index 00000000000..e58520a0642 --- /dev/null +++ b/emulators/bsnes/files/patch-serialization.cpp @@ -0,0 +1,11 @@ +--- bsnes/snes/system/serialization.cpp.orig 2010-09-02 13:16:20.000000000 +0200 ++++ bsnes/snes/system/serialization.cpp 2010-09-02 13:23:12.000000000 +0200 +@@ -7,7 +7,7 @@ + char profile[16], description[512]; + memset(&profile, 0, sizeof profile); + memset(&description, 0, sizeof description); +- strlcpy(profile, Info::Profile, sizeof profile); ++ nall::strlcpy(profile, Info::Profile, sizeof profile); + + s.integer(signature); + s.integer(version); diff --git a/emulators/bsnes/files/patch-snesfilter-Makefile b/emulators/bsnes/files/patch-snesfilter-Makefile index 1f2873b9271..118507fcb67 100644 --- a/emulators/bsnes/files/patch-snesfilter-Makefile +++ b/emulators/bsnes/files/patch-snesfilter-Makefile @@ -1,5 +1,5 @@ ---- snesfilter/Makefile.orig 2010-02-28 08:05:38.000000000 +0100 -+++ snesfilter/Makefile 2010-05-17 08:18:59.000000000 +0200 +--- snesfilter/Makefile.orig 2010-09-02 13:28:07.000000000 +0200 ++++ snesfilter/Makefile 2010-09-02 13:28:17.000000000 +0200 @@ -3,8 +3,8 @@ qtlibs := QtCore QtGui include nall/qt/Makefile diff --git a/emulators/bsnes/files/patch-snesreader-Makefile b/emulators/bsnes/files/patch-snesreader-Makefile index 60b715e7d8a..b0ddbe812bd 100644 --- a/emulators/bsnes/files/patch-snesreader-Makefile +++ b/emulators/bsnes/files/patch-snesreader-Makefile @@ -1,5 +1,5 @@ ---- snesreader/Makefile.orig 2010-05-17 07:48:27.000000000 +0200 -+++ snesreader/Makefile 2010-05-17 07:48:45.000000000 +0200 +--- snesreader/Makefile.orig 2010-09-02 13:26:29.000000000 +0200 ++++ snesreader/Makefile 2010-09-02 13:26:42.000000000 +0200 @@ -3,8 +3,8 @@ qtlibs := QtCore QtGui include nall/qt/Makefile diff --git a/emulators/bsnes/files/patch-src-Makefile b/emulators/bsnes/files/patch-src-Makefile index 3464307c81a..8eefb4bbe58 100644 --- a/emulators/bsnes/files/patch-src-Makefile +++ b/emulators/bsnes/files/patch-src-Makefile @@ -1,19 +1,17 @@ ---- src/Makefile.orig 2010-04-14 07:41:49.000000000 +0200 -+++ src/Makefile 2010-05-17 07:46:17.000000000 +0200 -@@ -2,9 +2,9 @@ - ui := ui_qt +--- bsnes/Makefile.orig 2010-09-02 13:02:47.000000000 +0200 ++++ bsnes/Makefile 2010-09-02 13:04:10.000000000 +0200 +@@ -4,8 +4,8 @@ + ui := qt # compiler -c := $(compiler) -std=gnu99 -cpp := $(subst cc,++,$(compiler)) -std=gnu++0x --flags := -O3 -fomit-frame-pointer -I. +c := $(CC) -+cpp := $(CXX) -+flags := -O3 -fomit-frame-pointer -I. -std=c++0x ++cpp := $(CXX) -std=gnu++0x + flags := -O3 -fomit-frame-pointer -I. -I$(snes) link := objects := - -@@ -17,7 +17,7 @@ +@@ -19,7 +19,7 @@ # platform ifeq ($(platform),x) @@ -21,4 +19,4 @@ + link += -s -lX11 -lXext else ifeq ($(platform),osx) else ifeq ($(platform),win) - link += -mwindows -mthreads + link += -mwindows diff --git a/emulators/bsnes/files/patch-src-nall-Makefile b/emulators/bsnes/files/patch-src-nall-Makefile deleted file mode 100644 index 2f80523cfd9..00000000000 --- a/emulators/bsnes/files/patch-src-nall-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- src/nall/Makefile.orig 2010-04-16 07:04:44.000000000 +0200 -+++ src/nall/Makefile 2010-04-16 07:05:00.000000000 +0200 -@@ -32,7 +32,7 @@ - ifeq ($(platform),osx) - compiler := gcc-4.2 - else -- compiler := gcc -+ compiler := ${CC} - endif - endif - diff --git a/emulators/bsnes/files/patch-src-ui_qt-Makefile b/emulators/bsnes/files/patch-src-ui_qt-Makefile index 48b0278ed8d..2b4e08f8349 100644 --- a/emulators/bsnes/files/patch-src-ui_qt-Makefile +++ b/emulators/bsnes/files/patch-src-ui_qt-Makefile @@ -1,5 +1,5 @@ ---- src/ui_qt/Makefile.orig 2010-04-16 07:06:22.000000000 +0200 -+++ src/ui_qt/Makefile 2010-04-16 07:06:38.000000000 +0200 +--- bsnes/qt/Makefile.orig 2010-09-02 13:05:33.000000000 +0200 ++++ bsnes/qt/Makefile 2010-09-02 13:05:50.000000000 +0200 @@ -13,9 +13,9 @@ # platform diff --git a/emulators/bsnes/files/patch-supergameboy-Makefile b/emulators/bsnes/files/patch-supergameboy-Makefile index 0030054b800..e1ea9342d0d 100644 --- a/emulators/bsnes/files/patch-supergameboy-Makefile +++ b/emulators/bsnes/files/patch-supergameboy-Makefile @@ -1,5 +1,5 @@ ---- supergameboy/Makefile.orig 2010-05-17 07:50:35.000000000 +0200 -+++ supergameboy/Makefile 2010-05-17 07:50:45.000000000 +0200 +--- supergameboy/Makefile.orig 2010-09-02 13:28:45.000000000 +0200 ++++ supergameboy/Makefile 2010-09-02 13:28:55.000000000 +0200 @@ -1,7 +1,7 @@ include nall/Makefile |