mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 12:20:52 +00:00
- Fixes https://github.com/termux/termux-packages/issues/26804 - Progress on https://github.com/termux/termux-packages/issues/23492
27 lines
824 B
Diff
27 lines
824 B
Diff
Prevents:
|
|
ld.lld: error: version script assignment of 'CLAMAV_PRIVATE'
|
|
to symbol 'cli_dbgmsg' failed: symbol not defined
|
|
|
|
--- a/libclamav/others.h
|
|
+++ b/libclamav/others.h
|
|
@@ -898,7 +898,7 @@ void cli_logg_unsetup(void);
|
|
#ifdef __GNUC__
|
|
inline void cli_dbgmsg(const char *str, ...) __attribute__((format(printf, 1, 2)));
|
|
#else
|
|
-inline void cli_dbgmsg(const char *str, ...);
|
|
+void cli_dbgmsg(const char *str, ...);
|
|
#endif
|
|
|
|
#ifdef __GNUC__
|
|
--- a/libclamav/others_common.c
|
|
+++ b/libclamav/others_common.c
|
|
@@ -172,7 +172,7 @@ void cli_infomsg_simple(const char *str, ...)
|
|
msg_callback(CL_MSG_INFO_VERBOSE, buff, buff + len, NULL);
|
|
}
|
|
|
|
-inline void cli_dbgmsg(const char *str, ...)
|
|
+void cli_dbgmsg(const char *str, ...)
|
|
{
|
|
if (UNLIKELY(cli_get_debug_flag())) {
|
|
MSGCODE(buff, len, "LibClamAV debug: ");
|