Skip to content

Commit

Permalink
user/snes9x: update to 1.63
Browse files Browse the repository at this point in the history
  • Loading branch information
z-erica authored and q66 committed Jul 10, 2024
1 parent 651e3f7 commit cdaace0
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 8 deletions.
45 changes: 45 additions & 0 deletions user/snes9x/patches/format_strings.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
--- a/gtk/src/gtk_s9x.cpp
+++ b/gtk/src/gtk_s9x.cpp
@@ -383,35 +383,35 @@
case S9X_TRACE:
case S9X_DEBUG:
{
- g_debug(message);
+ g_debug("%s", message);
break;
}
case S9X_WARNING:
{
- g_warning(message);
+ g_warning("%s", message);
break;
}
case S9X_INFO:
{
- g_info(message);
- g_message(message);
+ g_info("%s", message);
+ g_message("%s", message);
break;
}
case S9X_ERROR:
{
// GLib’s g_critical() does not terminate the process
- g_critical(message);
+ g_critical("%s", message);
break;
}
case S9X_FATAL_ERROR:
{
// GLib’s g_error() terminates the process
- g_error(message);
+ g_error("%s", message);
break;
}
default:
{
- g_message(message);
+ g_message("%s", message);
}
}
}
16 changes: 8 additions & 8 deletions user/snes9x/template.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname = "snes9x"
pkgver = "1.62.3"
pkgver = "1.63"
pkgrel = 0
build_style = "cmake"
configure_args = [
Expand Down Expand Up @@ -27,9 +27,9 @@
maintainer = "Erica Z <zerica@callcc.eu>"
license = "custom:snes9x"
url = "https://www.snes9x.com"
_commit_spirv_cross = "4e2fdb25671c742a9fbe93a6034eb1542244c7e1"
_commit_glslang = "6d41bb9c557c5a0eec61ffba1f775dc5f717a8f7"
_commit_vkheaders = "a3dd2655a3a68c2a67c55a0f8b77dcb8b166ada2"
_commit_spirv_cross = "bccaa94db814af33d8ef05c153e7c34d8bd4d685"
_commit_glslang = "9c7fd1a33e5cecbe465e1cd70170167d5e40d398"
_commit_vkheaders = "577baa05033cf1d9236b3d078ca4b3269ed87a2b"
source = [
f"https://github.com/snes9xgit/snes9x/archive/refs/tags/{pkgver}.tar.gz",
f"https://github.com/KhronosGroup/SPIRV-Cross/archive/{_commit_spirv_cross}.tar.gz",
Expand All @@ -43,10 +43,10 @@
"external/vulkan-headers",
]
sha256 = [
"6912c69290ae854ea22b1b2c917d885b1c4a1a95acbe73cd4243ccb2071600fe",
"775c3105effe232a8848f57cdab9baccb8c3ca00ac4363c35212fc5f087c2659",
"c2c8e72c8ae247da76e19ecbf7e688a201565dd297689fa80d18b137ac213d77",
"a43534974d6e4163da549abb073598b7461cbed13cc7acc52b8eeac3c88e5e32",
"84560ce38a734ac8299645883d8e0c0423b7da2430bde5f88276bba1be6d5330",
"b2455457ff31704c4a2ad22f58387fd57b76f0c342ddf9c50af94f13e241268f",
"a0aebec9795e41818f31cc3e2d3e0e320ba7e6686f16d069428c18437af573a4",
"82bb2262cfb72d2f6029533f757173b55b5fa866de224183cbaab17e179174b7",
]
options = ["!cross"]

Expand Down

0 comments on commit cdaace0

Please sign in to comment.