summaryrefslogtreecommitdiff
path: root/devel/ftjam/files/patch-pathunix.c
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-10-07 12:25:49 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-10-07 12:25:49 +0000
commite47808b75c4c01fa35f0fceb291b9450e96325ae (patch)
tree21dd1055343a14db0b8d00f86625c678d7320bfc /devel/ftjam/files/patch-pathunix.c
parentaudio/decibel-audio-player: switch from py-imaging to py-pillow (diff)
- Chase compiler warnings, upstream: https://savannah.nongnu.org/bugs/?42945
Diffstat (limited to '')
-rw-r--r--devel/ftjam/files/patch-pathunix.c19
1 files changed, 19 insertions, 0 deletions
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. */
+