[Pkg-voip-commits] r8576 - in /openr2/trunk/debian: changelog patches/ patches/fix_printf patches/series

tzafrir at alioth.debian.org tzafrir at alioth.debian.org
Fri Jul 23 14:29:11 UTC 2010


Author: tzafrir
Date: Fri Jul 23 14:29:10 2010
New Revision: 8576

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8576
Log:
Patch fix_printf: casting to fix a sparc build issue. 

Added:
    openr2/trunk/debian/patches/
    openr2/trunk/debian/patches/fix_printf
    openr2/trunk/debian/patches/series
Modified:
    openr2/trunk/debian/changelog

Modified: openr2/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/openr2/trunk/debian/changelog?rev=8576&op=diff
==============================================================================
--- openr2/trunk/debian/changelog (original)
+++ openr2/trunk/debian/changelog Fri Jul 23 14:29:10 2010
@@ -1,3 +1,9 @@
+openr2 (1.3.0-2) unstable; urgency=low
+
+  * Patch fix_printf: casting to fix a sparc build issue. 
+
+ -- Tzafrir Cohen <tzafrir at debian.org>  Fri, 23 Jul 2010 17:28:09 +0300
+
 openr2 (1.3.0-1) unstable; urgency=low
 
   * Initial release. (Closes: #524118)

Added: openr2/trunk/debian/patches/fix_printf
URL: http://svn.debian.org/wsvn/pkg-voip/openr2/trunk/debian/patches/fix_printf?rev=8576&op=file
==============================================================================
--- openr2/trunk/debian/patches/fix_printf (added)
+++ openr2/trunk/debian/patches/fix_printf Fri Jul 23 14:29:10 2010
@@ -1,0 +1,23 @@
+Author: Tzafrir Cohen <tzafrir at debian.org>
+Description: Fix type for Linux/Sparc
+
+--- a/src/r2log.c
++++ b/src/r2log.c
+@@ -48,7 +48,7 @@ void openr2_log_channel_default(openr2_c
+ 	/* Avoid infinite recursion: Don't call openr2_chan_get_number 
+ 	   because that will call openr2_log */
+ 	printf("[%02d:%02d:%03lu][%s] Channel %d -- ", currtime_tm.tm_min, currtime_tm.tm_sec, 
+-			currtime.tv_usec/1000, openr2_log_get_level_string(level), r2chan->number);
++			(unsigned long)currtime.tv_usec/1000, openr2_log_get_level_string(level), r2chan->number);
+ 	if (r2chan->r2context->configured_from_file) {
+ 		printf("M -- ");
+ 	}
+@@ -81,7 +81,7 @@ static void log_at_file(openr2_chan_t *r
+ 	/* Avoid infinite recurstion: Don't call openr2_chan_get_number 
+ 	   because that will call openr2_log */
+ 	fprintf(r2chan->logfile, "[%02d:%02d:%02d:%03lu] [Thread: %02lu] [Chan %d] - ", currtime_tm.tm_hour, currtime_tm.tm_min, 
+-			currtime_tm.tm_sec, currtime.tv_usec/1000, (unsigned long)pthread_self(), r2chan->number);
++			currtime_tm.tm_sec, (unsigned long)currtime.tv_usec/1000, (unsigned long)pthread_self(), r2chan->number);
+ 	if (r2chan->r2context->configured_from_file) {
+ 		fprintf(r2chan->logfile, "M - ");
+ 	}	

Added: openr2/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-voip/openr2/trunk/debian/patches/series?rev=8576&op=file
==============================================================================
--- openr2/trunk/debian/patches/series (added)
+++ openr2/trunk/debian/patches/series Fri Jul 23 14:29:10 2010
@@ -1,0 +1,1 @@
+fix_printf




More information about the Pkg-voip-commits mailing list