From 9684b20847311f06408fe606dbbe3d5075eedfb6 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Tue, 1 Feb 2022 18:02:54 +0000 Subject: user/abiword: bump { 3.0.4 --> 3.0.5 }. patch bad cast. fixes #477. --- user/abiword/fix-bad-cast.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 user/abiword/fix-bad-cast.patch (limited to 'user/abiword/fix-bad-cast.patch') diff --git a/user/abiword/fix-bad-cast.patch b/user/abiword/fix-bad-cast.patch new file mode 100644 index 000000000..fdecb21c5 --- /dev/null +++ b/user/abiword/fix-bad-cast.patch @@ -0,0 +1,12 @@ +diff -ur a/src/af/xap/xp/xap_Dialog.cpp b/src/af/xap/xp/xap_Dialog.cpp +--- a/src/af/xap/xp/xap_Dialog.cpp 2022-02-01 17:49:27.650000000 +0000 ++++ b/src/af/xap/xp/xap_Dialog.cpp 2022-02-01 17:52:14.000000000 +0000 +@@ -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; // https://gitlab.gnome.org/World/AbiWord/-/commit/857cd86def49fe8557cfe123830c4d5a61eee732.patch + UT_UTF8String wn = UT_UTF8String(pDialogName); + + XAP_Frame* pFrame = getActiveFrame(); -- cgit v1.2.3-60-g2f50