freebsd-ports/textproc/libsphinxclient/files/patch-sphinxclient.c
Martin Wilke 99b421ff1f Sphinx is a full-text search engine, distributed under GPL version
2. Commercial license is also available for embedded use.

Generally, it's a standalone search engine, meant to provide fast,
size-efficient and relevant fulltext search functions to other
applications. Sphinx was specially designed to integrate well with SQL
databases and scripting languages. Currently built-in data sources
support fetching data either via direct connection to MySQL, or from
an XML pipe.

As for the name, Sphinx is an acronym which is officially decoded as
SQL Phrase Index.

WWW: http://www.sphinxsearch.com/

PR:		ports/157654
Submitted by:	Max Baryshnikov <mephius at gmail.com>
2011-06-25 09:38:40 +00:00

12 lines
318 B
C

--- 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>