summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--freebsd/dependencies/akode/files/patch-b04-fix-ftbfs-on-ptrdiff_t-redefinition.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/freebsd/dependencies/akode/files/patch-b04-fix-ftbfs-on-ptrdiff_t-redefinition.diff b/freebsd/dependencies/akode/files/patch-b04-fix-ftbfs-on-ptrdiff_t-redefinition.diff
new file mode 100644
index 000000000..c587fe075
--- /dev/null
+++ b/freebsd/dependencies/akode/files/patch-b04-fix-ftbfs-on-ptrdiff_t-redefinition.diff
@@ -0,0 +1,20 @@
+commit 6c3892f0e0939e0b40a9d46142a30005ecaab77f
+Author: Slávek Banko <slavek.banko@axis.cz>
+Date: Fri May 26 09:59:08 2017 +0200
+
+ Fix FTBFS on ptrdiff_t redefinition
+
+ Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
+
+diff --git a/akode/plugins/mpc_decoder/mppdec/synth_filter.cpp b/akode/plugins/mpc_decoder/mppdec/synth_filter.cpp
+index 256417a..2ea7a08 100644
+--- a/akode/plugins/mpc_decoder/mppdec/synth_filter.cpp
++++ b/akode/plugins/mpc_decoder/mppdec/synth_filter.cpp
+@@ -1,7 +1,5 @@
+ #include "stdafx.h"
+
+-typedef int ptrdiff_t;
+-
+
+ /* C O N S T A N T S */
+ #undef _