void-packages/srcpkgs/eboard/patches/ntext.patch

12 lines
259 B
Diff

--- a/ntext.cc 2017-01-05 00:57:16.943420989 +0100
+++ b/ntext.cc 2017-01-05 00:57:29.321421367 +0100
@@ -244,7 +244,7 @@
return;
}
- p = strchr(text, '\n');
+ p = (char *) strchr(text, '\n');
if (p!=NULL) {
*p = 0;
i = strlen(text);