pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/dosbox dosbox: Fix build with Clang 7svn



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2de217ea4b53
branches:  trunk
changeset: 377732:2de217ea4b53
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Wed Mar 21 13:48:48 2018 +0000

description:
dosbox: Fix build with Clang 7svn

Correct C++11 syntax with a literal.

diffstat:

 emulators/dosbox/distinfo                               |   3 +-
 emulators/dosbox/patches/patch-src_ints_int10__vesa.cpp |  20 +++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r e0de39408aaf -r 2de217ea4b53 emulators/dosbox/distinfo
--- a/emulators/dosbox/distinfo Wed Mar 21 13:42:41 2018 +0000
+++ b/emulators/dosbox/distinfo Wed Mar 21 13:48:48 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2017/09/16 03:27:20 maya Exp $
+$NetBSD: distinfo,v 1.24 2018/03/21 13:48:48 kamil Exp $
 
 SHA1 (dosbox-0.74.tar.gz) = 2d99f0013350efb29b769ff19ddc8e4d86f4e77e
 RMD160 (dosbox-0.74.tar.gz) = 4534d87206de8401cd0de471d8172726f2c6b788
@@ -9,3 +9,4 @@
 SHA1 (patch-src_dosbox.cpp) = f96771b9a478d116a10f868cb29aaea7c909ead5
 SHA1 (patch-src_gui_sdl__mapper.cpp) = 030a05b6036f28063a42f4fc601dc7add5a85d6b
 SHA1 (patch-src_gui_sdlmain.cpp) = 317cd169e6b75a238bb1a4a72812654d36049227
+SHA1 (patch-src_ints_int10__vesa.cpp) = ef8130d934e9eb7fc1582f6500aed089674c9ed1
diff -r e0de39408aaf -r 2de217ea4b53 emulators/dosbox/patches/patch-src_ints_int10__vesa.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/dosbox/patches/patch-src_ints_int10__vesa.cpp   Wed Mar 21 13:48:48 2018 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_ints_int10__vesa.cpp,v 1.1 2018/03/21 13:48:48 kamil Exp $
+
+Fix C++11 syntax of a literal.
+
+--- src/ints/int10_vesa.cpp.orig       2010-05-10 17:43:54.000000000 +0000
++++ src/ints/int10_vesa.cpp
+@@ -39,7 +39,7 @@ static struct {
+ static char string_oem[]="S3 Incorporated. Trio64";
+ static char string_vendorname[]="DOSBox Development Team";
+ static char string_productname[]="DOSBox - The DOS Emulator";
+-static char string_productrev[]="DOSBox "VERSION;
++static char string_productrev[]="DOSBox " VERSION;
+ 
+ #ifdef _MSC_VER
+ #pragma pack (1)
+@@ -518,4 +518,3 @@ void INT10_SetupVESA(void) {
+       phys_writew( Real2Phys(int10.rom.pmode_interface) + 6, 0);
+       int10.rom.pmode_interface_size=int10.rom.used - RealOff( int10.rom.pmode_interface );
+ }
+-



Home | Main Index | Thread Index | Old Index