public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-undelete/files: vdr-undelete-0.0.6-glibc-2.10.patch
@ 2009-08-09 19:07 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2009-08-09 19:07 UTC (permalink / raw
  To: gentoo-commits

ssuominen    09/08/09 19:07:31

  Added:                vdr-undelete-0.0.6-glibc-2.10.patch
  Log:
  Fix building with GLIBC 2.10+ wrt #277253.
  (Portage version: 2.2_rc36/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-plugins/vdr-undelete/files/vdr-undelete-0.0.6-glibc-2.10.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-undelete/files/vdr-undelete-0.0.6-glibc-2.10.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-undelete/files/vdr-undelete-0.0.6-glibc-2.10.patch?rev=1.1&content-type=text/plain

Index: vdr-undelete-0.0.6-glibc-2.10.patch
===================================================================
diff -ur undelete-0.0.6.orig/undelete.c undelete-0.0.6/undelete.c
--- undelete-0.0.6.orig/undelete.c	2006-03-15 23:12:06.000000000 +0200
+++ undelete-0.0.6/undelete.c	2009-08-09 22:08:26.000000000 +0300
@@ -934,7 +934,7 @@
             if (verbose.u)
               isyslog("%s: undelete recording (%s)", plugin_name, recording->FileName());
             cString NewName = recording->FileName();
-            char *ext = strrchr(NewName, '.');
+            char *ext = const_cast<char*> (strrchr(NewName, '.'));
             if (!strcmp(ext, DELEXT))
             {
               strncpy(ext, RECEXT, strlen(ext));






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

only message in thread, other threads:[~2009-08-09 19:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-09 19:07 [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-undelete/files: vdr-undelete-0.0.6-glibc-2.10.patch Samuli Suominen (ssuominen)

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