aboutsummaryrefslogtreecommitdiff
path: root/devel/libdisorder/files/extra-patch-disorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libdisorder/files/extra-patch-disorder.c')
-rw-r--r--devel/libdisorder/files/extra-patch-disorder.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/devel/libdisorder/files/extra-patch-disorder.c b/devel/libdisorder/files/extra-patch-disorder.c
deleted file mode 100644
index 4688ab9b59c7..000000000000
--- a/devel/libdisorder/files/extra-patch-disorder.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/disorder.c.orig 2010-08-17 16:15:30.000000000 +0800
-+++ src/disorder.c 2010-08-17 16:22:27.000000000 +0800
-@@ -25,6 +25,10 @@
- #include <stdio.h> //for NULL
- #include "../include/disorder.h"
-
-+#if defined(__FreeBSD__)
-+#define log2(x) (log((x)) * (1./M_LN2))
-+#endif
-+
- /** Frequecies for each byte */
- static int m_token_freqs[LIBDO_MAX_BYTES]; //frequency of each token in sample
- static float m_token_probs[LIBDO_MAX_BYTES]; //P(each token appearing)