summaryrefslogtreecommitdiff
path: root/sci-biology/consed/files/consed-29-fix-qa.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /sci-biology/consed/files/consed-29-fix-qa.patch
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'sci-biology/consed/files/consed-29-fix-qa.patch')
-rw-r--r--sci-biology/consed/files/consed-29-fix-qa.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sci-biology/consed/files/consed-29-fix-qa.patch b/sci-biology/consed/files/consed-29-fix-qa.patch
index 5bdf0264d25b..90e180da0174 100644
--- a/sci-biology/consed/files/consed-29-fix-qa.patch
+++ b/sci-biology/consed/files/consed-29-fix-qa.patch
@@ -127,6 +127,25 @@ Fix various QA violations, due to
printf( "x = %d\n", pEvent->x );
printf( "y = %d\n", pEvent->y );
printf( "x_root = %d\n", pEvent->x_root );
+--- a/parseAceFile.cpp
++++ b/parseAceFile.cpp
+@@ -45,6 +45,7 @@
+ using namespace std;
+ #include "basesegment.h"
+ #include <stdio.h>
++#include <stddef.h>
+ #include <string.h>
+ #include <sstream>
+ #include "mbt_errors.h"
+@@ -292,7 +293,7 @@
+ char* szPossibleComp = szReadName + nLength - nCOMP;
+
+ if (memcmp( szPossibleComp, szCOMP, nCOMP ) == 0 ) {
+- szPossibleComp = '\0';
++ szPossibleComp = NULL;
+ return( true );
+ }
+ else
--- a/phaster2PhdBall.cpp
+++ b/phaster2PhdBall.cpp
@@ -547,7 +547,7 @@