Closed teusbenschop closed 11 months ago
It was tried to use G_APPLICATION_DEFAULT_FLAGS
instead of G_APPLICATION_FLAGS_NONE
but that gave a compile error on Ubuntu 22.04.
In other words, it is still too early to switch to replace the deprecated value with the new value.
About MAXPATHLEN
, the included sqlite3.c
uses it multiple times.
This code is from an external source.
If MAXPATHLEN
in the bibledit code was updated, then it would still be in the sqlite3.c
file.
Perhaps it's good to leave it for just now.
Perhaps one way is something similar to this (taken from the Net-SNMP library):
#ifndef PATH_MAX
# ifdef _POSIX_PATH_MAX
# define PATH_MAX _POSIX_PATH_MAX
# else
# define PATH_MAX 255
# endif
#endif
Here is the confirmation that the fix worked and that it now builds on architecture "hurd-i386".
hurd-i386 | 5.1.005-1 | Installed | 3h 14m | ironforge | | misc | old | all (1) | giveback
https://buildd.debian.org/status/package.php?p=bibledit-cloud
In the above, it's better to use PATH_MAX instead of MAXPATHLEN. See among others this article: https://patchwork.ozlabs.org/project/netdev/patch/20150425203327.GA9433@euler/