FreeBSD Bugzilla – Attachment 186129 Details for
Bug 221890
textproc/xerces-c3: New upstream release 3.2.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0003-games-enigma-Patch-assumptions-which-break-C-11-buil.patch
0003-games-enigma-Patch-assumptions-which-break-C-11-buil.patch (text/plain), 2.00 KB, created by
Roger Leigh
on 2017-09-06 21:45:24 UTC
(
hide
)
Description:
0003-games-enigma-Patch-assumptions-which-break-C-11-buil.patch
Filename:
MIME Type:
Creator:
Roger Leigh
Created:
2017-09-06 21:45:24 UTC
Size:
2.00 KB
patch
obsolete
>From 50df2064f46b1cf83772e0d7fd898b06bfb4a7d4 Mon Sep 17 00:00:00 2001 >From: Roger Leigh <rleigh@codelibre.net> >Date: Wed, 6 Sep 2017 21:42:57 +0100 >Subject: [PATCH 03/13] games/enigma: Patch assumptions which break C++11 > builds > >--- > games/enigma/files/patch-src_Value.cc | 15 +++++++++++++++ > games/enigma/files/patch-src_lev_Proxy.cc | 11 +++++++++++ > 2 files changed, 26 insertions(+) > create mode 100644 games/enigma/files/patch-src_Value.cc > create mode 100644 games/enigma/files/patch-src_lev_Proxy.cc > >diff --git a/games/enigma/files/patch-src_Value.cc b/games/enigma/files/patch-src_Value.cc >new file mode 100644 >index 000000000000..885c8f0c78fc >--- /dev/null >+++ b/games/enigma/files/patch-src_Value.cc >@@ -0,0 +1,15 @@ >+--- src/Value.cc.orig 2017-09-03 15:39:37 UTC >++++ src/Value.cc >+@@ -146,10 +146,10 @@ namespace enigma { >+ val.str[0] = 0; >+ break; >+ case BOOL : >+- val.dval[0] = false; >++ val.dval[0] = 0; >+ break; >+ case OBJECT : >+- val.dval[0] = (double) NULL; >++ val.dval[0] = 0; >+ break; >+ case NAMEDOBJECT: >+ ASSERT(false, XLevelRuntime, "Value: illegal type usage"); >diff --git a/games/enigma/files/patch-src_lev_Proxy.cc b/games/enigma/files/patch-src_lev_Proxy.cc >new file mode 100644 >index 000000000000..4ba1676e9f75 >--- /dev/null >+++ b/games/enigma/files/patch-src_lev_Proxy.cc >@@ -0,0 +1,11 @@ >+--- src/lev/Proxy.cc.orig 2017-09-03 15:54:50 UTC >++++ src/lev/Proxy.cc >+@@ -933,7 +933,7 @@ namespace enigma { namespace lev { >+ } else if (haveLocalCopy) { >+ // plain file >+ basic_ifstream<char> ifs(absExtPath.c_str(), ios::binary | ios::in); >+- if (ifs != NULL) >++ if (ifs) >+ Readfile(ifs, extCode); >+ else >+ haveLocalCopy = false; >-- >2.14.1 >
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 221890
:
185962
|
186127
|
186128
|
186129
|
186130
|
186131
|
186132
|
186133
|
186134
|
186135
|
186136
|
186153