Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-fbneo libretro-fbneo: Unbreak gcc7 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec80c4e4a472
branches:  trunk
changeset: 438783:ec80c4e4a472
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Sep 10 10:10:17 2020 +0000

description:
libretro-fbneo: Unbreak gcc7 build.

Tried to fix this properly then got confused by C++ nonsense.

diffstat:

 emulators/libretro-fbneo/distinfo                                          |   4 +-
 emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h |  11 ++++++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r 9e4f193b977b -r ec80c4e4a472 emulators/libretro-fbneo/distinfo
--- a/emulators/libretro-fbneo/distinfo Thu Sep 10 10:07:17 2020 +0000
+++ b/emulators/libretro-fbneo/distinfo Thu Sep 10 10:10:17 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.3 2020/08/11 18:47:14 joerg Exp $
+$NetBSD: distinfo,v 1.4 2020/09/10 10:10:17 nia 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
+SHA1 (patch-src_burner_libretro_retro__common.h) = 5bb4c3ff577841e1c89e689a272ad4a188cba5d4
diff -r 9e4f193b977b -r ec80c4e4a472 emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h
--- a/emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h        Thu Sep 10 10:07:17 2020 +0000
+++ b/emulators/libretro-fbneo/patches/patch-src_burner_libretro_retro__common.h        Thu Sep 10 10:10:17 2020 +0000
@@ -1,15 +1,18 @@
-$NetBSD: patch-src_burner_libretro_retro__common.h,v 1.1 2020/08/11 18:47:14 joerg Exp $
+$NetBSD: patch-src_burner_libretro_retro__common.h,v 1.2 2020/09/10 10:10:18 nia 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.orig    2020-05-30 15:55:11.000000000 +0000
 +++ src/burner/libretro/retro_common.h
-@@ -7,7 +7,7 @@
+@@ -7,7 +7,11 @@
  #include <vector>
  #include "burner.h"
  
--#define SSTR( x ) static_cast< std::ostringstream & >(( std::ostringstream() << std::dec << x ) ).str()
++#ifndef __clang__
+ #define SSTR( x ) static_cast< std::ostringstream & >(( std::ostringstream() << std::dec << x ) ).str()
++#else
 +#define SSTR( x ) ((( std::ostringstream() << std::dec << x ) ).str())
++#endif
  
  #define RETRO_GAME_TYPE_CV            1
  #define RETRO_GAME_TYPE_GG            2



Home | Main Index | Thread Index | Old Index