summaryrefslogtreecommitdiff
path: root/textproc/sphinxsearch/files/patch-src-sphinxsearch.h
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-04 07:24:48 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-04 07:24:48 +0000
commit61a5ff520a2230bbe3d741ee0ab66840ebf1a0a8 (patch)
tree5187478bfe68878525d88e33fe307e21cfb231fc /textproc/sphinxsearch/files/patch-src-sphinxsearch.h
parentCorrect a typo. (diff)
- Fix few mistakes in rc.d script
PR: 113135 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
Notes
Notes: svn path=/head/; revision=192666
Diffstat (limited to 'textproc/sphinxsearch/files/patch-src-sphinxsearch.h')
-rw-r--r--textproc/sphinxsearch/files/patch-src-sphinxsearch.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/textproc/sphinxsearch/files/patch-src-sphinxsearch.h b/textproc/sphinxsearch/files/patch-src-sphinxsearch.h
index b869576a62ed..b1da5d68c74f 100644
--- a/textproc/sphinxsearch/files/patch-src-sphinxsearch.h
+++ b/textproc/sphinxsearch/files/patch-src-sphinxsearch.h
@@ -1,11 +1,13 @@
---- src/sphinxstd.h.orig Sun Apr 15 20:16:11 2007
-+++ src/sphinxstd.h Sun Apr 15 20:17:25 2007
-@@ -57,7 +57,7 @@
+--- src/sphinxstd.h.orig Tue May 29 19:50:47 2007
++++ src/sphinxstd.h Tue May 29 19:52:23 2007
+@@ -57,9 +57,7 @@
#error "Internal 64-bit integer macros already defined."
#endif
-#if __STDC_VERSION__>=199901L || __STDC_VERSION>=199901L || defined(_STDINT_H) || defined(_STDINT_H_)
-+#if __STDC_VERSION__>=199901L || __STDC_VERSION>=199901L || defined(_STDINT_H) || defined(_STDINT_H_) || defined(_SYS_STDINT_H_)
- #include <stdint.h>
- #else // no stdint.h
+-#include <stdint.h>
+-#else // no stdint.h
++#if !HAVE_STDINT_H
+ #if defined(_MSC_VER)
+ typedef __int64 int64_t;