vp-build/srcpkgs/eboard/patches/ntext.patch

12 lines
260 B
Diff

--- ntext.cc.orig 2017-01-05 00:57:16.943420989 +0100
+++ 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);