summaryrefslogtreecommitdiff
path: root/audio/liblo/files/patch-src_message.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /audio/liblo/files/patch-src_message.c
parentMooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff)
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'audio/liblo/files/patch-src_message.c')
-rw-r--r--audio/liblo/files/patch-src_message.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/liblo/files/patch-src_message.c b/audio/liblo/files/patch-src_message.c
new file mode 100644
index 000000000000..1d72a7025726
--- /dev/null
+++ b/audio/liblo/files/patch-src_message.c
@@ -0,0 +1,13 @@
+--- src/message.c.orig 2014-01-20 11:49:42 UTC
++++ src/message.c
+@@ -996,8 +996,8 @@ void lo_message_pp(lo_message m)
+ putchar('\n');
+ if (d != end) {
+ fprintf(stderr,
+- "liblo warning: type and data do not match (off by %d) in message %p\n",
+- abs((char *) d - (char *) end), m);
++ "liblo warning: type and data do not match (off by %td) in message %p\n",
++ d >= end ? (char *) d - (char *) end : (char *) end - (char *) d, m);
+ }
+ }
+