public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-radio/svxlink/files: svxlink-080730-glibc210.patch
@ 2009-07-23 21:55 Victor Ostorga (vostorga)
  0 siblings, 0 replies; only message in thread
From: Victor Ostorga (vostorga) @ 2009-07-23 21:55 UTC (permalink / raw
  To: gentoo-commits

vostorga    09/07/23 21:55:32

  Added:                svxlink-080730-glibc210.patch
  Log:
  Fixing compilation with glibc 2.10 , patch thanks to Thomas Beierlein  <tb@forth-ev.de>
  (Portage version: 2.1.6.13/cvs/Linux i686)

Revision  Changes    Path
1.1                  media-radio/svxlink/files/svxlink-080730-glibc210.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-radio/svxlink/files/svxlink-080730-glibc210.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-radio/svxlink/files/svxlink-080730-glibc210.patch?rev=1.1&content-type=text/plain

Index: svxlink-080730-glibc210.patch
===================================================================
diff -NrU5 svxlink-080730.original/echolib/EchoLinkStationData.cpp svxlink-080730/echolib/EchoLinkStationData.cpp
--- svxlink-080730.original/echolib/EchoLinkStationData.cpp	2009-07-23 21:51:06.000000000 -0600
+++ svxlink-080730/echolib/EchoLinkStationData.cpp	2009-07-23 21:53:31.000000000 -0600
@@ -199,11 +199,11 @@
     else
     {
       m_status = STAT_UNKNOWN;
     }
     
-    char *space = strchr(end_desc, ' ');
+    const char *space = strchr(end_desc, ' ');
     if (space != 0)
     {
       strncpy(str, space+1, 5);
       str[5] = 0;
       m_time = str;
diff -NrU5 svxlink-080730.original/svxlink/remotetrx/remotetrx.cpp svxlink-080730/svxlink/remotetrx/remotetrx.cpp
--- svxlink-080730.original/svxlink/remotetrx/remotetrx.cpp	2009-07-23 21:51:06.000000000 -0600
+++ svxlink-080730/svxlink/remotetrx/remotetrx.cpp	2009-07-23 22:02:04.000000000 -0600
@@ -617,11 +617,11 @@
 	continue;
       }
     }
 
     int write_len = 0;
-    char *nl = strchr(ptr, '\n');
+    const char *nl = strchr(ptr, '\n');
     if (nl != 0)
     {
       write_len = nl-ptr+1;
       print_timestamp = true;
     }
diff -NrU5 svxlink-080730.original/svxlink/svxlink/svxlink.cpp svxlink-080730/svxlink/svxlink/svxlink.cpp
--- svxlink-080730.original/svxlink/svxlink/svxlink.cpp	2009-07-23 21:51:06.000000000 -0600
+++ svxlink-080730/svxlink/svxlink/svxlink.cpp	2009-07-23 21:59:04.000000000 -0600
@@ -607,11 +607,11 @@
 	continue;
       }
     }
 
     int write_len = 0;
-    char *nl = strchr(ptr, '\n');
+    const char *nl = strchr(ptr, '\n');
     if (nl != 0)
     {
       write_len = nl-ptr+1;
       print_timestamp = true;
     }






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

only message in thread, other threads:[~2009-07-23 21:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-23 21:55 [gentoo-commits] gentoo-x86 commit in media-radio/svxlink/files: svxlink-080730-glibc210.patch Victor Ostorga (vostorga)

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