summaryrefslogtreecommitdiff
path: root/textproc/libsphinxclient/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libsphinxclient/files')
-rw-r--r--textproc/libsphinxclient/files/patch-sphinxclient.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/libsphinxclient/files/patch-sphinxclient.c b/textproc/libsphinxclient/files/patch-sphinxclient.c
new file mode 100644
index 000000000000..068ffee92c41
--- /dev/null
+++ b/textproc/libsphinxclient/files/patch-sphinxclient.c
@@ -0,0 +1,12 @@
+--- sphinxclient.c.orig 2010-07-15 15:05:40.000000000 +0400
++++ sphinxclient.c 2011-06-03 17:56:23.000000000 +0400
+@@ -17,9 +17,6 @@
+ // VS 2005 and above
+ #define _CRT_SECURE_NO_DEPRECATE 1
+ #define _CRT_NONSTDC_NO_DEPRECATE 1
+-#else
+-// VS 2003 and below
+-#define vsnprintf _vsnprintf
+ #endif
+
+ #include <stdlib.h>