From: "Joerg Bornkessel (hd_brummy)" <hd_brummy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-video/noad/files/patches-0.7.x: noad-0.7.0_gcc-4.4.diff
Date: Thu, 07 Jan 2010 21:09:25 +0000 [thread overview]
Message-ID: <E1NSzbh-0002MY-KC@stork.gentoo.org> (raw)
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];
reply other threads:[~2010-01-07 21:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1NSzbh-0002MY-KC@stork.gentoo.org \
--to=hd_brummy@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox