diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-13 06:46:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-13 06:46:47 +0000 |
commit | afb19abe0ec73761b4e330ee952a19e98d4bc7e3 (patch) | |
tree | c831ae0927550faddb9a37c12b33f38c1b376073 /dev-libs/libx86/files/libx86-1.1-c99.patch | |
parent | 360468f13add58583c7780bcacafb5452a07851d (diff) |
gentoo auto-resync : 13:03:2024 - 06:46:47
Diffstat (limited to 'dev-libs/libx86/files/libx86-1.1-c99.patch')
-rw-r--r-- | dev-libs/libx86/files/libx86-1.1-c99.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/libx86/files/libx86-1.1-c99.patch b/dev-libs/libx86/files/libx86-1.1-c99.patch new file mode 100644 index 000000000000..619ecfefeb03 --- /dev/null +++ b/dev-libs/libx86/files/libx86-1.1-c99.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/880429 +https://src.fedoraproject.org/rpms/libx86/blob/rawhide/f/libx86-c99-2.patch +--- a/thunk.c ++++ b/thunk.c +@@ -157,10 +157,10 @@ int LRMI_init() { + X86EMU_pioFuncs pioFuncs = { + (&x_inb), + (&x_inw), +- (&x_inl), ++ ((x86emuu32 (*)(X86EMU_pioAddr)) &x_inl), + (&x_outb), + (&x_outw), +- (&x_outl) ++ ((void (*)(X86EMU_pioAddr, x86emuu32)) &x_outl) + }; + + X86EMU_setupPioFuncs(&pioFuncs); |