ports/databases/libmemcached/files/patch-libtest_lite.h
Matthew Seaman 58480d53f2 Fix the build of libmemcached: add -lthr to the libraries
plus modifications to the autoconf files.

PR:		219168
Submitted by:	m.tsatsenko@gmail.com (maintainer)
Reported by:	000.fbsd@quip.cz
Approved by:	m.tsatsenko@gmail.com (maintainer)
2017-06-09 16:45:34 +00:00

13 lines
265 B
C

--- libtest/lite.h.orig 2014-02-09 11:52:42 UTC
+++ libtest/lite.h
@@ -54,8 +54,10 @@
#if defined(WIN32)
# include <malloc.h>
#else
+#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#endif
+#endif
#ifndef __PRETTY_FUNCTION__
# define __PRETTY_FUNCTION__ __func__