diff -Nru synce-libsynce.orig/Makefile synce-libsynce/Makefile --- synce-libsynce.orig/Makefile Tue Apr 12 17:00:31 2005 +++ synce-libsynce/Makefile Fri Jul 29 19:17:29 2005 @@ -5,7 +5,7 @@ # $FreeBSD: ports/palm/synce-libsynce/Makefile,v 1.10 2005/04/12 13:00:31 lawrance Exp $ PORTNAME= synce-libsynce -PORTVERSION= 0.9.0 +PORTVERSION= 0.9.1 CATEGORIES= palm MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= synce diff -Nru synce-libsynce.orig/distinfo synce-libsynce/distinfo --- synce-libsynce.orig/distinfo Sun Jan 9 00:39:57 2005 +++ synce-libsynce/distinfo Fri Jul 29 19:17:33 2005 @@ -1,2 +1,2 @@ -MD5 (synce-libsynce-0.9.0.tar.gz) = 497efcbf55453da808041e7f8d55690b -SIZE (synce-libsynce-0.9.0.tar.gz) = 348860 +MD5 (synce-libsynce-0.9.1.tar.gz) = 3fcffb776a5bedc23458152e5a650348 +SIZE (synce-libsynce-0.9.1.tar.gz) = 356343 diff -Nru synce-libsynce.orig/files/patch-lib-files.c synce-libsynce/files/patch-lib-files.c --- synce-libsynce.orig/files/patch-lib-files.c Thu Jan 1 03:00:00 1970 +++ synce-libsynce/files/patch-lib-files.c Fri Jul 29 21:28:07 2005 @@ -0,0 +1,21 @@ +--- lib/files.c.orig Tue May 17 01:42:34 2005 ++++ lib/files.c Fri Jul 29 21:26:37 2005 +@@ -45,7 +45,8 @@ + bool synce_get_directory(char** path) + { + char buffer[MAX_PATH]; +- char *p; ++ char *p; ++ struct passwd* user; + + /* if there is a preference for config dir set + as an environment variable, use it */ +@@ -57,7 +58,7 @@ + } + + /* XXX: not very thread-safe? */ +- struct passwd* user = getpwuid(getuid()); ++ user = getpwuid(getuid()); + + if (!path) + return false;