summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-09 14:21:54 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-09 14:21:54 +0000
commitd8888d923a9043c8b10f165a4b2f4752237ff872 (patch)
treef2dd5bc82a5210324f9997e5050a6e963140e5ec /sci-biology/piler/files
parentMasking dev-db/sqsh for QA removal. (diff)
downloadgentoo-2-d8888d923a9043c8b10f165a4b2f4752237ff872.tar.gz
gentoo-2-d8888d923a9043c8b10f165a4b2f4752237ff872.tar.bz2
gentoo-2-d8888d923a9043c8b10f165a4b2f4752237ff872.zip
Fix building with GLIBC 2.10+ wrt #279628.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'sci-biology/piler/files')
-rw-r--r--sci-biology/piler/files/piler-1.0-glibc-2.10.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-biology/piler/files/piler-1.0-glibc-2.10.patch b/sci-biology/piler/files/piler-1.0-glibc-2.10.patch
new file mode 100644
index 000000000000..4c7f124c5e3d
--- /dev/null
+++ b/sci-biology/piler/files/piler-1.0-glibc-2.10.patch
@@ -0,0 +1,12 @@
+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;
+