Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37815321
en ru br
ALT Linux repositórios
5.0: 0.12-alt1
4.1: 0.11-alt1.1
4.0: 0.9.1-alt7
3.0: 0.9.0-alt4

Group :: Sistema/Bibliotecas
RPM: librra

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: synce-rra-build.patch
Download


diff -urN synce-rra-0.9.1.orig/lib/contact.c synce-rra-0.9.1/lib/contact.c
--- synce-rra-0.9.1.orig/lib/contact.c	2005-05-13 15:35:28 +0400
+++ synce-rra-0.9.1/lib/contact.c	2005-11-07 21:01:33 +0300
@@ -684,7 +684,7 @@
 	{ID_HOME_COUNTRY,     ID_WORK_COUNTRY,       ID_OTHER_COUNTRY}      /* country */
 };
 
-static char* strdup_quoted_printable(const char* source)/*{{{*/
+static char* strdup_quoted_printable(const unsigned char* source)/*{{{*/
 {
 	char* result = malloc(strlen(source) + 1);
 	char* dest = result;
diff -urN synce-rra-0.9.1.orig/lib/parser.c synce-rra-0.9.1/lib/parser.c
--- synce-rra-0.9.1.orig/lib/parser.c	2005-05-13 15:31:07 +0400
+++ synce-rra-0.9.1/lib/parser.c	2005-11-07 21:01:36 +0300
@@ -55,10 +55,10 @@
 	size_t propval_count;
 };
 
-bool parser_duration_to_seconds(const char* duration, int* result)/*{{{*/
+bool parser_duration_to_seconds(const unsigned char* duration, int* result)/*{{{*/
 {
   enum { dur_sign, dur_p, dur_any, dur_time, dur_end } state = dur_sign;
-  const char *p;
+  const unsigned char *p;
   struct tm time_struct;
   int sign = 1;
   int value = 0;
diff -urN synce-rra-0.9.1.orig/lib/parser.h synce-rra-0.9.1/lib/parser.h
--- synce-rra-0.9.1.orig/lib/parser.h	2004-01-04 23:22:08 +0300
+++ synce-rra-0.9.1/lib/parser.h	2005-11-07 21:01:38 +0300
@@ -27,7 +27,7 @@
 void parser_component_add_parser_property (ParserComponent* self, ParserProperty*  pt);
 
 /* helper functions */
-bool parser_duration_to_seconds  (const char* duration, int* seconds);
+bool parser_duration_to_seconds  (const unsigned char* duration, int* seconds);
 bool parser_datetime_to_struct   (const char* datetime, struct tm* tm, bool* is_utc);
 bool parser_datetime_to_unix_time(const char* datetime, time_t* unix_time, bool* is_utc);
 
diff -urN synce-rra-0.9.1.orig/lib/rrac.c synce-rra-0.9.1/lib/rrac.c
--- synce-rra-0.9.1.orig/lib/rrac.c	2004-08-01 22:02:51 +0400
+++ synce-rra-0.9.1/lib/rrac.c	2005-11-07 21:01:39 +0300
@@ -11,8 +11,6 @@
 
 #define LETOH16(x)  x = letoh16(x)
 #define LETOH32(x)  x = letoh32(x)
-#define HTOLE16(x)  x = htole16(x)
-#define HTOLE32(x)  x = htole32(x)
 
 #define LE16(p)    letoh16(*(uint16_t*)p)
 #define LE32(p)    letoh32(*(uint32_t*)p)
diff -urN synce-rra-0.9.1.orig/lib/timezone.c synce-rra-0.9.1/lib/timezone.c
--- synce-rra-0.9.1.orig/lib/timezone.c	2005-03-05 23:37:51 +0300
+++ synce-rra-0.9.1/lib/timezone.c	2005-11-07 21:01:42 +0300
@@ -126,7 +126,7 @@
 void rra_timezone_create_id(RRA_Timezone* tzi, char** id)/*{{{*/
 {
   char* name = wstr_to_ascii(tzi->StandardName);
-  char* p;
+  unsigned char* p;
   char buffer[128];
 
   if (!id)
diff -urN synce-rra-0.9.1.orig/src/rra-timezone.c synce-rra-0.9.1/src/rra-timezone.c
--- synce-rra-0.9.1.orig/src/rra-timezone.c	2004-08-01 22:01:27 +0400
+++ synce-rra-0.9.1/src/rra-timezone.c	2005-11-07 21:01:30 +0300
@@ -1,5 +1,7 @@
 /* $Id: rra-timezone.c,v 1.7 2004/08/01 18:01:27 twogood Exp $ */
+#if 0
 #define _POSIX_C_SOURCE 2 /* for getopt */
+#endif
 #define _BSD_SOURCE
 #include "../lib/timezone.h"
 #include "../lib/generator.h"
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009