summaryrefslogtreecommitdiff
path: root/user/abiword/fix-bad-cast.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-02-01 18:02:54 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:57 -0500
commit9684b20847311f06408fe606dbbe3d5075eedfb6 (patch)
tree2290273ff4b298b4c42f62cd670fe248948f29c8 /user/abiword/fix-bad-cast.patch
parent89a6f3b1e6ba7a5ee6276fbb17e928f016bed313 (diff)
downloadpackages-9684b20847311f06408fe606dbbe3d5075eedfb6.tar.gz
packages-9684b20847311f06408fe606dbbe3d5075eedfb6.tar.bz2
packages-9684b20847311f06408fe606dbbe3d5075eedfb6.tar.xz
packages-9684b20847311f06408fe606dbbe3d5075eedfb6.zip
user/abiword: bump { 3.0.4 --> 3.0.5 }. patch bad cast. fixes #477.
Diffstat (limited to 'user/abiword/fix-bad-cast.patch')
-rw-r--r--user/abiword/fix-bad-cast.patch12
1 files changed, 12 insertions, 0 deletions
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();