From 4bf7f8a7dc2ce43b624726f8972ad838bceb3369 Mon Sep 17 00:00:00 2001 From: pav Date: Sat, 13 Mar 2004 21:44:14 +0000 Subject: Add synce-rra, a project for connecting to devices running Windows CE or Pocket PC. RRA implements the Remote Replication Agent Connection protocol for synchronising objects between a Windows CE device and other computer. PR: ports/64135 Submitted by: Sam Lawrance --- palm/synce-librra/files/patch-src-rra-decode.c | 11 +++++++++++ palm/synce-librra/files/patch-src-rra-timezone.c | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 palm/synce-librra/files/patch-src-rra-decode.c create mode 100644 palm/synce-librra/files/patch-src-rra-timezone.c (limited to 'palm/synce-librra/files') diff --git a/palm/synce-librra/files/patch-src-rra-decode.c b/palm/synce-librra/files/patch-src-rra-decode.c new file mode 100644 index 000000000000..be6e7112a087 --- /dev/null +++ b/palm/synce-librra/files/patch-src-rra-decode.c @@ -0,0 +1,11 @@ +--- src/rra-decode.c.orig Thu Mar 11 22:13:04 2004 ++++ src/rra-decode.c Thu Mar 11 22:13:26 2004 +@@ -218,7 +218,7 @@ + time_t unix_time = filetime_to_unix_time(&propvals[i].val.filetime); + char* time_str = ctime(&unix_time); + time_str[strlen(time_str)-1] = '\0'; /* remove trailing newline */ +- printf("%s (%lu)", time_str, unix_time); ++ printf("%s (%lu)", time_str, (long unsigned)unix_time); + db_dump(&propvals[i].val.filetime, sizeof(FILETIME)); + } + break; diff --git a/palm/synce-librra/files/patch-src-rra-timezone.c b/palm/synce-librra/files/patch-src-rra-timezone.c new file mode 100644 index 000000000000..73c4413bae07 --- /dev/null +++ b/palm/synce-librra/files/patch-src-rra-timezone.c @@ -0,0 +1,8 @@ +--- src/rra-timezone.c.orig Thu Mar 11 22:26:25 2004 ++++ src/rra-timezone.c Thu Mar 11 22:26:39 2004 +@@ -1,5 +1,4 @@ + /* $Id: rra-timezone.c,v 1.6 2003/12/08 09:44:02 twogood Exp $ */ +-#define _POSIX_C_SOURCE 2 /* for getopt */ + #define _BSD_SOURCE + #include "../lib/timezone.h" + #include "../lib/generator.h" -- cgit