You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-biology/piler/files/piler-1.0-glibc-2.10.patch

13 lines
386 B

diff -ur piler.orig/gff.cpp piler/gff.cpp
--- piler.orig/gff.cpp 2004-12-18 01:25:29.000000000 +0200
+++ piler/gff.cpp 2009-08-09 17:22:33.000000000 +0300
@@ -70,7 +70,7 @@
const char *Attrs = Fields[8];
// Truncate attrs if comment found
- char *Pound = strchr(Attrs, '#');
+ char *Pound = const_cast <char*> (strchr(Attrs, '#'));
if (0 != Pound)
*Pound = 0;