Hello community,

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

Package is "libretro-blastem"

Sun Jun  7 21:39:04 2020 rev:3 rq:812219 version:0~git20190620

Changes:
--------
--- /work/SRC/openSUSE:Factory/libretro-blastem/libretro-blastem.changes        
2020-02-19 12:41:41.915758413 +0100
+++ 
/work/SRC/openSUSE:Factory/.libretro-blastem.new.3606/libretro-blastem.changes  
    2020-06-07 21:39:09.689610466 +0200
@@ -1,0 +2,7 @@
+Sat Jun  6 12:06:10 UTC 2020 - Yunhe Guo <[email protected]>
+
+- Exclude android source
+- Add fix-enum-syntax.patch to fix Tumbleweed build
+- Exclude unsupported CPU architecture
+
+-------------------------------------------------------------------

New:
----
  fix-enum-syntax.patch

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

Other differences:
------------------
++++++ libretro-blastem.spec ++++++
--- /var/tmp/diff_new_pack.jLUebL/_old  2020-06-07 21:39:10.601613357 +0200
+++ /var/tmp/diff_new_pack.jLUebL/_new  2020-06-07 21:39:10.605613370 +0200
@@ -24,7 +24,8 @@
 Group:          System/Emulators/Other
 URL:            http://www.retroarch.com
 Source:         %{name}-%{version}.tar.xz
-
+Patch0:         fix-enum-syntax.patch
+ExclusiveArch:  x86_64 i586
 BuildRequires:  gcc-c++
 BuildRequires:  make
 
@@ -34,6 +35,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %ifarch x86_64

++++++ _service ++++++
--- /var/tmp/diff_new_pack.jLUebL/_old  2020-06-07 21:39:10.629613446 +0200
+++ /var/tmp/diff_new_pack.jLUebL/_new  2020-06-07 21:39:10.633613459 +0200
@@ -6,6 +6,7 @@
     <param name="revision">master</param>
     <param name="versionformat">0~git%cd</param>
     <param name="changesgenerate">enable</param>
+    <param name="exclude">android</param>
   </service>
   <service name="recompress" mode="localonly">
     <param name="file">*.tar</param>

++++++ fix-enum-syntax.patch ++++++
>From 8e107d5c9c91613a9d2acbefd6f03364eb956d66 Mon Sep 17 00:00:00 2001
From: Guo Yunhe <[email protected]>
Date: Sun, 7 Jun 2020 14:02:37 +0300
Subject: [PATCH] Fix enum syntax

C enum name should be placed before {
---
 gen_x86.h | 16 ++++++++--------
 vdp.h     |  4 ++--
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/gen_x86.h b/gen_x86.h
index 6ff0da9..4df06e9 100644
--- a/gen_x86.h
+++ b/gen_x86.h
@@ -9,7 +9,7 @@
 #include <stdint.h>
 #include "gen.h"
 
-enum {
+enum x86_regs{
        RAX = 0,
        RCX,
        RDX,
@@ -30,9 +30,9 @@ enum {
        R13,
        R14,
        R15
-} x86_regs;
+};
 
-enum {
+enum x86_cc{
        CC_O = 0,
        CC_NO,
        CC_C,
@@ -51,14 +51,14 @@ enum {
        CC_GE,
        CC_LE,
        CC_G
-} x86_cc;
+};
 
-enum {
+enum x86_size{
        SZ_B = 0,
        SZ_W,
        SZ_D,
        SZ_Q
-} x86_size;
+};
 
 #ifdef X86_64
 #define SZ_PTR SZ_Q
@@ -75,7 +75,7 @@ enum {
 #define MAX_INST_LEN 11
 #endif
 
-enum {
+enum x86_modes{
        MODE_REG_INDIRECT = 0,
        MODE_REG_INDEXED = 4,
        MODE_REG_DISPLACE8 = 0x40,
@@ -85,7 +85,7 @@ enum {
        MODE_REG_DIRECT = 0xC0,
 //"phony" mode
        MODE_IMMED = 0xFF
-} x86_modes;
+};
 
 void rol_ir(code_info *code, uint8_t val, uint8_t dst, uint8_t size);
 void ror_ir(code_info *code, uint8_t val, uint8_t dst, uint8_t size);
diff --git a/vdp.h b/vdp.h
index 46400e6..1633281 100644
--- a/vdp.h
+++ b/vdp.h
@@ -68,7 +68,7 @@
 
 #define DISPLAY_ENABLE 0x40
 
-enum {
+enum vdp_regs{
        REG_MODE_1=0,
        REG_MODE_2,
        REG_SCROLL_A,
@@ -93,7 +93,7 @@ enum {
        REG_DMASRC_L,
        REG_DMASRC_M,
        REG_DMASRC_H
-} vdp_regs;
+};
 
 //Mode reg 1
 #define BIT_VSCRL_LOCK 0x80
++++++ libretro-blastem-0~git20190620.tar.xz ++++++
++++ 3012 lines of diff (skipped)


Reply via email to