Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/libretro-fbneo Don't lvalue cast temporary v...
details: https://anonhg.NetBSD.org/pkgsrc/rev/059e90138b29
branches: trunk
changeset: 436911:059e90138b29
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Aug 11 18:47:14 2020 +0000
description:
Don't lvalue cast temporary values.
diffstat:
emulators/libretro-fbneo/distinfo | 3 +-
emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h | 15 ++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 5c1e28e9fa35 -r 059e90138b29 emulators/libretro-fbneo/distinfo
--- a/emulators/libretro-fbneo/distinfo Tue Aug 11 18:46:10 2020 +0000
+++ b/emulators/libretro-fbneo/distinfo Tue Aug 11 18:47:14 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2020/05/31 12:28:12 nia Exp $
+$NetBSD: distinfo,v 1.3 2020/08/11 18:47:14 joerg Exp $
SHA1 (libretro-fbneo-20200530-301cf7b6eeb3e7683952b98b66f39008f580b26d.tar.gz) = c7b22edc2ae2ac2fff494dd80acfec6e49b9133c
RMD160 (libretro-fbneo-20200530-301cf7b6eeb3e7683952b98b66f39008f580b26d.tar.gz) = b4d9a8c285aec224e7da70a004e64825548936bf
SHA512 (libretro-fbneo-20200530-301cf7b6eeb3e7683952b98b66f39008f580b26d.tar.gz) =
0ef4a27bd9fa0d49f5ea09777f2144a9b0be9c9fced59593ba15e9f4818a305d2ca85a2ef3850cef77032157265376f5f3204b6c81226001c94d85f346829843
Size (libretro-fbneo-20200530-301cf7b6eeb3e7683952b98b66f39008f580b26d.tar.gz) = 14602038 bytes
SHA1 (patch-src_burner_libretro_burn__endian.h) = 35b3ea13154bd5380ad5d067f3ec5f32ab18ce36
+SHA1 (patch-src_burner_libretro_retro__common.h) = ef3307f225396e8099db06483de07a4f0d3358cc
diff -r 5c1e28e9fa35 -r 059e90138b29 emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h Tue Aug 11 18:47:14 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_burner_libretro_retro__common.h,v 1.1 2020/08/11 18:47:14 joerg Exp $
+
+Don't cast lvalues.
+
+--- src/burner/libretro/retro_common.h.orig 2020-08-10 22:37:10.415674566 +0000
++++ src/burner/libretro/retro_common.h
+@@ -7,7 +7,7 @@
+ #include <vector>
+ #include "burner.h"
+
+-#define SSTR( x ) static_cast< std::ostringstream & >(( std::ostringstream() << std::dec << x ) ).str()
++#define SSTR( x ) ((( std::ostringstream() << std::dec << x ) ).str())
+
+ #define RETRO_GAME_TYPE_CV 1
+ #define RETRO_GAME_TYPE_GG 2
Home |
Main Index |
Thread Index |
Old Index