Hello community,

here is the log from the commit of package libretro-beetle-gba for 
openSUSE:Factory checked in at 2020-06-07 21:35:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libretro-beetle-gba (Old)
 and      /work/SRC/openSUSE:Factory/.libretro-beetle-gba.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libretro-beetle-gba"

Sun Jun  7 21:35:43 2020 rev:2 rq:812075 version:0~git20200518

Changes:
--------
--- /work/SRC/openSUSE:Factory/libretro-beetle-gba/libretro-beetle-gba.changes  
2020-02-11 22:22:33.903474208 +0100
+++ 
/work/SRC/openSUSE:Factory/.libretro-beetle-gba.new.3606/libretro-beetle-gba.changes
        2020-06-07 21:36:00.597011051 +0200
@@ -1,0 +2,6 @@
+Sat May 30 15:07:43 UTC 2020 - i...@guoyunhe.me
+
+- Update to version 0~git20200518:
+  * Silence warnings
+
+-------------------------------------------------------------------

Old:
----
  libretro-beetle-gba-0~git20190911.tar.xz

New:
----
  libretro-beetle-gba-0~git20200518.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libretro-beetle-gba.spec ++++++
--- /var/tmp/diff_new_pack.Ufg3fI/_old  2020-06-07 21:36:01.913015222 +0200
+++ /var/tmp/diff_new_pack.Ufg3fI/_new  2020-06-07 21:36:01.913015222 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libretro-beetle-gba
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,10 @@
 
 
 Name:           libretro-beetle-gba
-Version:        0~git20190911
+Version:        0~git20200518
 Release:        0
 Summary:        Mednafen GBA libretro core for GameBoy Advance emulation
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          System/Emulators/Other
 URL:            http://www.retroarch.com
 Source:         %{name}-%{version}.tar.xz

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Ufg3fI/_old  2020-06-07 21:36:01.949015337 +0200
+++ /var/tmp/diff_new_pack.Ufg3fI/_new  2020-06-07 21:36:01.949015337 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/libretro/beetle-gba-libretro.git</param>
-              <param 
name="changesrevision">2aad1dc8bfb7cabb1d9a25778e4623b54fb83502</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">30ee7923a566f95aa0b2dd14fd21ae1074a89fd4</param></service></servicedata>
\ No newline at end of file

++++++ libretro-beetle-gba-0~git20190911.tar.xz -> 
libretro-beetle-gba-0~git20200518.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-beetle-gba-0~git20190911/libretro.cpp 
new/libretro-beetle-gba-0~git20200518/libretro.cpp
--- old/libretro-beetle-gba-0~git20190911/libretro.cpp  2019-09-11 
06:40:41.000000000 +0200
+++ new/libretro-beetle-gba-0~git20200518/libretro.cpp  2020-05-18 
16:13:59.000000000 +0200
@@ -3800,7 +3800,7 @@
       return false;
 
    MDFN_PixelFormat pix_fmt(MDFN_COLORSPACE_RGB, 16, 8, 0, 24);
-   memset(&last_pixel_format, 0, sizeof(MDFN_PixelFormat));
+   last_pixel_format = MDFN_PixelFormat();
 
    surf = new MDFN_Surface(NULL, FB_WIDTH, FB_HEIGHT, FB_WIDTH, pix_fmt);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libretro-beetle-gba-0~git20190911/mednafen/mempatcher.cpp 
new/libretro-beetle-gba-0~git20200518/mednafen/mempatcher.cpp
--- old/libretro-beetle-gba-0~git20190911/mednafen/mempatcher.cpp       
2019-09-11 06:40:41.000000000 +0200
+++ new/libretro-beetle-gba-0~git20200518/mednafen/mempatcher.cpp       
2020-05-18 16:13:59.000000000 +0200
@@ -282,14 +282,16 @@
  //printf("TR: %s\n", string);
  while(sscanf(string, "%u %c %63s %63s %63s", &bytelen, &endian, address, 
operation, value) == 5 && passed)
  {
-  uint32 v_address;
   uint64 v_value;
   uint64 value_at_address;
+#if 0
+  uint32 v_address;
 
   if(address[0] == '0' && address[1] == 'x')
    v_address = strtoul(address + 2, NULL, 16);
   else
    v_address = strtoul(address, NULL, 10);
+#endif
 
   if(value[0] == '0' && value[1] == 'x')
    v_value = strtoull(value + 2, NULL, 16);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-beetle-gba-0~git20190911/mednafen/state.cpp 
new/libretro-beetle-gba-0~git20200518/mednafen/state.cpp
--- old/libretro-beetle-gba-0~git20190911/mednafen/state.cpp    2019-09-11 
06:40:41.000000000 +0200
+++ new/libretro-beetle-gba-0~git20200518/mednafen/state.cpp    2020-05-18 
16:13:59.000000000 +0200
@@ -207,7 +207,7 @@
    uint8_t sname_tmp[32];
 
    memset(sname_tmp, 0, sizeof(sname_tmp));
-   strncpy((char *)sname_tmp, sname, 32);
+   memcpy((char *)sname_tmp, sname, 32);
 
    if(strlen(sname) > 32)
       printf("Warning: section name is too long: %s\n", sname);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libretro-beetle-gba-0~git20190911/mednafen/video/surface.cpp 
new/libretro-beetle-gba-0~git20200518/mednafen/video/surface.cpp
--- old/libretro-beetle-gba-0~git20190911/mednafen/video/surface.cpp    
2019-09-11 06:40:41.000000000 +0200
+++ new/libretro-beetle-gba-0~git20200518/mednafen/video/surface.cpp    
2020-05-18 16:13:59.000000000 +0200
@@ -46,13 +46,13 @@
 
 MDFN_Surface::MDFN_Surface()
 {
-   memset(&format, 0, sizeof(format));
+   format     = MDFN_PixelFormat();
 
-   pixels = NULL;
-   pixels16 = NULL;
+   pixels     = NULL;
+   pixels16   = NULL;
    pitchinpix = 0;
-   w = 0;
-   h = 0;
+   w          = 0;
+   h          = 0;
 }
 
 MDFN_Surface::MDFN_Surface(void *const p_pixels, const uint32 p_width, const 
uint32 p_height, const uint32 p_pitchinpix, const MDFN_PixelFormat &nf)


Reply via email to