supply g_memdup2() for glib before 2.68.
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 10 Jul 2022 20:33:24 +0000 (22:33 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 10 Jul 2022 20:33:24 +0000 (22:33 +0200)
commitc0eddf46ed56dde9558408b9b06eb19f4ff7538a
treececbc9ec1565652519738003b5b6deab1bc0a654
parentefc1b9df710cf67d746aba6a19528fdcd4abce48
supply g_memdup2() for glib before 2.68.

The previous commit did not work on debian. I followed the ideas from

https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1927

and

https://github.com/mdbtools/gmdb2/commit/62ce520a9c5

So this commit provides g_memdup2 for glib versions which do not
provide g_memdup2.
configure.ac
src/ui/gui/glibfix.h [new file with mode: 0644]
src/ui/gui/psppire-dialog-action-recode.c
src/ui/gui/psppire-format.c
src/ui/gui/psppire-val-chooser.c