[UPDATE] emulators/xnp2 xnp2-0.86

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[UPDATE] emulators/xnp2 xnp2-0.86

SASANO Takayoshi
Hello,

Here is the diff for xnp2-20140607 to xnp2-0.86.
It requires gcc4.9 to build.

ok?

--
SASANO Takayoshi <[hidden email]>

Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/xnp2/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile 19 Dec 2015 23:09:28 -0000 1.4
+++ Makefile 31 Dec 2016 03:31:35 -0000
@@ -2,7 +2,7 @@
 
 COMMENT = PC-9801 emulator
 
-DISTNAME = xnp2-20140607
+DISTNAME = xnp2-0.86
 
 CATEGORIES = emulators
 
@@ -17,10 +17,13 @@ WANTLIB += c cairo fontconfig freetype g
 WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 m pango-1.0
 WANTLIB += pangocairo-1.0 pangoft2-1.0 pthread z
 
-MASTER_SITES = http://www.nonakap.org/np2/
+MASTER_SITES = http://www.nonakap.org/np2/release/
 EXTRACT_SUFX = .tar.bz2
 
-MODULES = devel/gettext
+MODULES = devel/gettext \
+ gcc4
+MODGCC4_ARCHS = *
+MODGCC4_LANGS = c++
 
 LIB_DEPENDS = devel/sdl-mixer \
  x11/gtk+2
Index: distinfo
===================================================================
RCS file: /cvs/ports/emulators/xnp2/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 19 Dec 2015 23:09:28 -0000 1.2
+++ distinfo 31 Dec 2016 03:31:35 -0000
@@ -1,2 +1,2 @@
-SHA256 (xnp2-20140607.tar.bz2) = cOMXsh5EMdFIJKx38uEd4L75z3nGAEw56Tcc06yivwk=
-SIZE (xnp2-20140607.tar.bz2) = 1687088
+SHA256 (xnp2-0.86.tar.bz2) = 4LjJP1RoKkszc5B/2f/ngJT5X3Qw3/xQOOzLzEw/eP0=
+SIZE (xnp2-0.86.tar.bz2) = 1215186
Index: patches/patch-x11_soundmng_c
===================================================================
RCS file: /cvs/ports/emulators/xnp2/patches/patch-x11_soundmng_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-x11_soundmng_c
--- patches/patch-x11_soundmng_c 8 Jan 2014 15:43:41 -0000 1.1
+++ patches/patch-x11_soundmng_c 31 Dec 2016 03:31:35 -0000
@@ -2,9 +2,9 @@ $OpenBSD: patch-x11_soundmng_c,v 1.1 201
 
 disable asm on i386, PIE uses registers used by asm code.
 
---- x11/soundmng.c.orig Wed Jan  8 08:40:12 2014
-+++ x11/soundmng.c Wed Jan  8 08:40:30 2014
-@@ -346,7 +346,7 @@ soundmng_setreverse(BOOL reverse)
+--- x11/soundmng.c.orig Wed Mar  9 02:25:50 2016
++++ x11/soundmng.c Sat Dec 31 06:21:29 2016
+@@ -401,7 +401,7 @@ soundmng_setreverse(BOOL reverse)
  } else {
  fnmix = satuation_s16x;
  }
@@ -13,7 +13,7 @@ disable asm on i386, PIE uses registers
  if (!reverse) {
  if (mmxflag & (MMXFLAG_NOTSUPPORT|MMXFLAG_DISABLE)) {
  fnmix = _saturation_s16;
-@@ -727,7 +727,7 @@ saturation_s16mmx(SINT16 *dst, const SINT32 *src, UINT
+@@ -801,7 +801,7 @@ saturation_s16mmx(SINT16 *dst, const SINT32 *src, UINT
  : /* output */
  : "m" (dst), "m" (src), "m" (size));
  }