public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/noad/files/patches-0.7.x: noad-0.7.0_gcc-4.4.diff
@ 2010-01-07 21:09 Joerg Bornkessel (hd_brummy)
  0 siblings, 0 replies; only message in thread
From: Joerg Bornkessel (hd_brummy) @ 2010-01-07 21:09 UTC (permalink / raw
  To: gentoo-commits

hd_brummy    10/01/07 21:09:25

  Added:                noad-0.7.0_gcc-4.4.diff
  Log:
  2

Revision  Changes    Path
1.1                  media-video/noad/files/patches-0.7.x/noad-0.7.0_gcc-4.4.diff

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/noad/files/patches-0.7.x/noad-0.7.0_gcc-4.4.diff?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/noad/files/patches-0.7.x/noad-0.7.0_gcc-4.4.diff?rev=1.1&content-type=text/plain

Index: noad-0.7.0_gcc-4.4.diff
===================================================================
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_gcc4.4.dpatch by  <Gerald Dachs <gda@dachsweb.de>>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad noad-0.7.0~/svdrpc.cpp noad-0.7.0/svdrpc.cpp
--- noad-0.7.0~/svdrpc.cpp	2009-12-22 23:20:50.000000000 +0100
+++ noad-0.7.0/svdrpc.cpp	2009-12-22 23:23:11.000000000 +0100
@@ -256,7 +256,7 @@
 {
   char *baseName = NULL;
   char *cp = NULL;
-  char *vend = strchr(filename,'/');
+  const char *vend = strchr(filename,'/');
   if( vend )
     vend = strchr(vend+1,'/');
   if( vend )
@@ -265,9 +265,9 @@
     asprintf(&baseName,"mesg %s %s",msg, filename);
   if( baseName[strlen(baseName)-1] == '/' )
     baseName[strlen(baseName)-1] = '\0';
-  vend = strrchr(baseName, '/');
-  if( vend )
-    *vend = '\0';
+  char *vend1 = strrchr(baseName, '/');
+  if( vend1 )
+    *vend1 = '\0';
   asprintf(&cp,"%s\r\n",baseName);
 
   VDRMessage(cp);
diff -urNad noad-0.7.0~/vdr_cl.cpp noad-0.7.0/vdr_cl.cpp
--- noad-0.7.0~/vdr_cl.cpp	2009-12-22 23:20:50.000000000 +0100
+++ noad-0.7.0/vdr_cl.cpp	2009-12-22 23:20:50.000000000 +0100
@@ -1200,7 +1200,7 @@
   sortBuffer = NULL;
   fileName = strdup(FileName);
   FileName += strlen(VideoDirectory) + 1;
-  char *p = strrchr(FileName, '/');
+  const char *p = strrchr(FileName, '/');
 
   name = NULL;
   summary = NULL;

diff -Naur noad-0.7.0.orig/showindex.cpp noad-0.7.0/showindex.cpp
--- noad-0.7.0.orig/showindex.cpp	2010-01-05 19:22:48.000000000 +0100
+++ noad-0.7.0/showindex.cpp	2010-01-05 19:23:31.000000000 +0100
@@ -46,8 +46,8 @@
   uchar PictureType;        // current picture-type
   int Length;               // frame-lenght of current frame
   char pictypes[]= { 'U','I','P','B' };
-  char *indents[]= { "","","  ","    " };
-  char *indents2[]= { "","    ","  ","" };
+  const char *indents[]= { "","","  ","    " };
+  const char *indents2[]= { "","    ","  ","" };
   int lastFile=0;
   int lastOffset = 0;
   unsigned char readBuffer[BYTES_TO_READ+1];






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-07 21:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07 21:09 [gentoo-commits] gentoo-x86 commit in media-video/noad/files/patches-0.7.x: noad-0.7.0_gcc-4.4.diff Joerg Bornkessel (hd_brummy)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox