summaryrefslogtreecommitdiff
path: root/audio/sphinx/files/patch-src_libsphinx2_err.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-20 16:23:28 +0000
commit7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch)
treee83ee6693050a76e305a95a376451aa583df151e /audio/sphinx/files/patch-src_libsphinx2_err.c
parenttextproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff)
With the power of USES=dos2unix, get rid of most patches and files
with CRLF. While there, run make makepatch, rename patches to use the new scheme, and various fixes. With hat: portmgr Sponsored by: Absolight
Diffstat (limited to 'audio/sphinx/files/patch-src_libsphinx2_err.c')
-rw-r--r--audio/sphinx/files/patch-src_libsphinx2_err.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/sphinx/files/patch-src_libsphinx2_err.c b/audio/sphinx/files/patch-src_libsphinx2_err.c
new file mode 100644
index 000000000000..5c654b575287
--- /dev/null
+++ b/audio/sphinx/files/patch-src_libsphinx2_err.c
@@ -0,0 +1,10 @@
+--- src/libsphinx2/err.c.orig 2001-12-13 21:11:20 UTC
++++ src/libsphinx2/err.c
+@@ -49,6 +49,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #if ((! WIN32) && (! _SGI_SOURCE))
+ #include <sys/errno.h>
+ #else