abiword: add patch to fix incompatibility with musl NULL
This commit is contained in:
parent
2460694e5b
commit
62b219b35f
11
srcpkgs/abiword/patches/musl.patch
Normal file
11
srcpkgs/abiword/patches/musl.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/src/af/xap/xp/xap_Dialog.cpp 2021-07-03 17:46:07.000000000 +0200
|
||||||
|
+++ - 2023-02-23 13:21:03.557255506 +0100
|
||||||
|
@@ -267,7 +267,7 @@
|
||||||
|
// This function constructs and returns the window name of a modeless dialog by
|
||||||
|
// concatenating the active frame with the dialog name
|
||||||
|
|
||||||
|
- *pWindowName = (char) NULL;
|
||||||
|
+ *pWindowName = '\0';
|
||||||
|
UT_UTF8String wn = UT_UTF8String(pDialogName);
|
||||||
|
|
||||||
|
XAP_Frame* pFrame = getActiveFrame();
|
Loading…
x
Reference in New Issue
Block a user