diff -up tin-2.6.2/configure.in.orig tin-2.6.2/configure.in
--- tin-2.6.2/configure.in.orig 2022-12-25 00:00:28.000000000 +0100
+++ tin-2.6.2/configure.in 2022-12-29 01:56:02.181780502 +0100
@@ -1013,7 +1013,8 @@ AC_CHECK_HEADER(unicode/unorm.h,[
cf_try_icuuc="no"
LIBS="$LIBS -licuuc"
AC_TRY_LINK([#include <unicode/unorm.h>], [
- int32_t needed, ustr = NULL;
+ int32_t needed;
+ const UChar *ustr = NULL;
UErrorCode status;
needed = unorm_normalize(ustr, -1, UNORM_DEFAULT, 0, NULL, 0, &status);], [
AC_DEFINE(HAVE_LIBICUUC,1,[Define this to 1 if we have libicuuc])
diff -up tin-2.6.2/configure.orig tin-2.6.2/configure
--- tin-2.6.2/configure.orig 2022-12-25 00:00:29.000000000 +0100
+++ tin-2.6.2/configure 2022-12-29 01:56:46.005029879 +0100
@@ -24209,7 +24209,8 @@ int
main (void)
{
- int32_t needed, ustr = NULL;
+ int32_t needed;
+ const UChar *ustr = NULL;
UErrorCode status;
needed = unorm_normalize(ustr, -1, UNORM_DEFAULT, 0, NULL, 0, &status);
;
@@ -27670,7 +27670,7 @@ main (void)
{
struct passwd foo;
- char bar = foo.pw_gecos
+ char *bar = foo.pw_gecos
;
return 0;
}
diff -up tin-2.6.2/aclocal.m4.orig tin-2.6.2/aclocal.m4
--- tin-2.6.2/aclocal.m4.orig 2022-12-22 11:35:07.000000000 +0100
+++ tin-2.6.2/aclocal.m4 2022-12-29 02:07:34.106717846 +0100
@@ -5173,7 +5173,7 @@ AC_CACHE_CHECK([for passwd.pw_gecos], cf
#include <pwd.h>
],[
struct passwd foo;
- char bar = foo.pw_gecos],
+ char *bar = foo.pw_gecos],
[cf_cv_pw_gecos=yes],
[cf_cv_pw_gecos=no])])
test $cf_cv_pw_gecos = no && AC_DEFINE(DONT_HAVE_PW_GECOS,1,[Define this to 1 if passwd struct has .pw_gecos])