File pilot-mailsync-0.9.1-gcc4.diff of Package pilot-mailsync-gnome-pilot
--- pilot-mailsync-0.9.1/configure.in
+++ pilot-mailsync-0.9.1/configure.in
@@ -302,7 +302,6 @@
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_STRUCT_TM
-AC_TYPE_UID_T
dnl Checks for library functions.
AC_TYPE_SIGNAL
--- pilot-mailsync-0.9.1/options.c
+++ pilot-mailsync-0.9.1/options.c
@@ -381,7 +381,7 @@
strncpy(gDevice, optarg, MAILTMPLEN);
break;
case 'u':
- strncpy(gUser, optarg, MAILTMPLEN);
+ strncpy(gUser, optarg, NETMAXUSER);
break;
case 'f':
strncpy(gFrom, optarg, MAILTMPLEN);