5fdec5dfeb
- added patches
fix 9a99d2d418
+ foma-gcc14.patch
OBS-URL: https://build.opensuse.org/request/show/1173656
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/foma?expand=0&rev=18
15 lines
371 B
Diff
15 lines
371 B
Diff
diff --git a/foma/io.c b/foma/io.c
|
|
index b7bf69b..da1c57a 100644
|
|
--- a/foma.orig/io.c
|
|
+++ a/foma/io.c
|
|
@@ -999,7 +999,7 @@ static BOM BOM_codes[] = {
|
|
{ { 0x00, 0x00, 0xFE, 0xFF }, 4, "UTF-32BE" },
|
|
{ { 0xFF, 0xFE }, 2, "UTF16-LE" },
|
|
{ { 0xFE, 0xFF }, 2, "UTF16-BE" },
|
|
- { NULL, 0, NULL },
|
|
+ { { 0, } , 0, NULL },
|
|
};
|
|
|
|
BOM *check_BOM(char *buffer) {
|
|
|