diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-03-27 17:40:21 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-05-18 14:57:14 +0000 |
commit | bec544ecd3932cff8c64cd07baed7ec34445331c (patch) | |
tree | 008f532c6a8c001be24b6637e5e30360b6fac12e /astro | |
parent | 364d8709354a3e122854122b07b6ceee59214559 (diff) | |
download | ports-bec544ecd3932cff8c64cd07baed7ec34445331c.tar.gz ports-bec544ecd3932cff8c64cd07baed7ec34445331c.zip |
Diffstat (limited to 'astro')
-rw-r--r-- | astro/xtide/files/patch-xxLocationList.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/astro/xtide/files/patch-xxLocationList.cc b/astro/xtide/files/patch-xxLocationList.cc new file mode 100644 index 000000000000..cce97eee1ed2 --- /dev/null +++ b/astro/xtide/files/patch-xxLocationList.cc @@ -0,0 +1,20 @@ +Regressed by https://gitlab.freedesktop.org/xorg/lib/libxaw/-/commit/197e9d055f3c + +xxLocationList.cc:90:3: error: no matching function for call to 'XawListChange' + XawListChange (list->widget(), stringList, 0, 0, 1); + ^~~~~~~~~~~~~ +/usr/local/include/X11/Xaw/List.h:167:6: note: candidate function not viable: no known conversion from 'char **' to 'const char **' for 2nd argument +void XawListChange + ^ + +--- xxLocationList.cc.orig 2014-10-11 19:42:10 UTC ++++ xxLocationList.cc +@@ -87,7 +87,7 @@ void xxLocationList::pickStation (const XawListReturnS + + + void xxLocationList::listChanged() { +- XawListChange (list->widget(), stringList, 0, 0, 1); ++ XawListChange (list->widget(), (_Xconst char**)stringList, 0, 0, 1); + } + + |