summaryrefslogtreecommitdiff
path: root/textproc/sphinxsearch/files/patch-src_sphinxutils.cpp
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2018-02-04 09:16:23 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2018-02-04 09:16:23 +0000
commitf074c54f0217028c9244c0d7da2d90625498d3d6 (patch)
treecac16ba565ffd0ae8bf218159c646749f37de575 /textproc/sphinxsearch/files/patch-src_sphinxutils.cpp
parent- Switch to new test framework (diff)
Patches to make the code compatible with clang-6.0 / C++17 -- this will
fix the build on FreeBSD 12.0 - delete the 'register' keyword everywhere - Add whitespace between adjacent quoted strings - Update the offsetof() macro to cast the result to int Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=460879
Diffstat (limited to 'textproc/sphinxsearch/files/patch-src_sphinxutils.cpp')
-rw-r--r--textproc/sphinxsearch/files/patch-src_sphinxutils.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/textproc/sphinxsearch/files/patch-src_sphinxutils.cpp b/textproc/sphinxsearch/files/patch-src_sphinxutils.cpp
new file mode 100644
index 000000000000..cfdf3e4064ef
--- /dev/null
+++ b/textproc/sphinxsearch/files/patch-src_sphinxutils.cpp
@@ -0,0 +1,16 @@
+--- src/sphinxutils.cpp.orig 2018-02-03 10:25:41 UTC
++++ src/sphinxutils.cpp
+@@ -2103,11 +2103,11 @@ void sphBacktrace ( int iFD, bool bSafe )
+ #endif
+
+ #ifdef CONFIGURE_FLAGS
+- sphSafeInfo ( iFD, "Configured with flags: "CONFIGURE_FLAGS );
++ sphSafeInfo ( iFD, "Configured with flags: " CONFIGURE_FLAGS );
+ #endif
+
+ #ifdef OS_UNAME
+- sphSafeInfo ( iFD, "Host OS is "OS_UNAME );
++ sphSafeInfo ( iFD, "Host OS is " OS_UNAME );
+ #endif
+
+ bool bOk = true;