Skip to content

Commit 67feae5

Browse files
committed
update SDL
1 parent 8629e37 commit 67feae5

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

build.zig

+8
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,9 @@ pub fn build(b: *std.Build) !void {
350350
.SDL_DISABLE_LSX = 1,
351351
.SDL_DISABLE_LASX = 1,
352352
.SDL_DISABLE_NEON = 1,
353+
354+
.SDL_PROCESS_POSIX = 1,
355+
.SDL_PROCESS_DUMMY = 1,
353356
};
354357
lib.installConfigHeader(b.addConfigHeader(.{
355358
.style = .{ .cmake = sdl_dep.path(
@@ -947,6 +950,9 @@ const generic_src_files = [_][]const u8{
947950

948951
"src/power/SDL_power.c",
949952

953+
"src/process/SDL_process.c",
954+
"src/process/dummy/SDL_dummyprocess.c",
955+
950956
"src/render/SDL_d3dmath.c",
951957
"src/render/SDL_render.c",
952958
"src/render/SDL_render_unsupported.c",
@@ -1174,6 +1180,8 @@ const linux_src_files = [_][]const u8{
11741180
// "src/power/psp/SDL_syspower.c",
11751181
// "src/power/vita/SDL_syspower.c",
11761182

1183+
"src/process/SDL_process.c",
1184+
11771185
// "src/sensor/android/SDL_androidsensor.c",
11781186
// "src/sensor/n3ds/SDL_n3dssensor.c",
11791187
// "src/sensor/vita/SDL_vitasensor.c",

build.zig.zon

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
.paths = .{""},
99
.dependencies = .{
1010
.sdl = .{
11-
.url = "git+https://github.com/libsdl-org/SDL?ref=main#575d9cda6f169b06e8f500acb8d3534408216185",
12-
.hash = "122094e5a48874587352f80fb1ebf7016bc585f6e82645c3b8b9cf5a6f815ab36baa",
11+
.url = "git+https://github.com/libsdl-org/SDL?ref=main#27862907c65453e53828e9d892df81c8ce536ea7",
12+
.hash = "12201ead5039f3cda212c6dbe0f293de87c25d8a859169187c63d5756b22b39768fa",
1313
},
1414
.sdl_ttf = .{
1515
.url = "git+https://github.com/libsdl-org/SDL_ttf?ref=main#28e2a1126b8bcf97693d024dbd034f62fe373965",

0 commit comments

Comments
 (0)