From e47808b75c4c01fa35f0fceb291b9450e96325ae Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Tue, 7 Oct 2014 12:25:49 +0000 Subject: - Chase compiler warnings, upstream: https://savannah.nongnu.org/bugs/?42945 --- devel/ftjam/files/patch-pathunix.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 devel/ftjam/files/patch-pathunix.c (limited to 'devel/ftjam/files/patch-pathunix.c') diff --git a/devel/ftjam/files/patch-pathunix.c b/devel/ftjam/files/patch-pathunix.c new file mode 100644 index 000000000000..6003463806ff --- /dev/null +++ b/devel/ftjam/files/patch-pathunix.c @@ -0,0 +1,19 @@ +--- pathunix.c.orig 2006-06-05 12:52:12.000000000 +0200 ++++ pathunix.c 2014-08-07 15:41:24.000000000 +0200 +@@ -110,7 +110,7 @@ + p = 0; + q = file; + +- while( q = (char *)memchr( q, '.', end - q ) ) ++ while( ( q = (char *)memchr( q, '.', end - q ) ) ) + p = q++; + + if( p ) +@@ -136,6 +136,7 @@ + char *file, + int binding ) + { ++ (void)binding; + /* Start with the grist. If the current grist isn't */ + /* surrounded by <>'s, add them. */ + -- cgit v1.2.3