Add a patch to fix the build when the THREADS option is unset.
Submitted by: many
This commit is contained in:
parent
5a9c8edcc9
commit
225afdd87d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375890
15
graphics/ImageMagick/files/patch-magick_distribute-cache.c
Normal file
15
graphics/ImageMagick/files/patch-magick_distribute-cache.c
Normal file
@ -0,0 +1,15 @@
|
||||
Index: magick/distribute-cache.c
|
||||
===================================================================
|
||||
--- magick/distribute-cache.c (revision 17523)
|
||||
+++ magick/distribute-cache.c (working copy)
|
||||
@@ -92,6 +92,10 @@
|
||||
#define SOCKET_TYPE SOCKET
|
||||
#define MAGICKCORE_HAVE_DISTRIBUTE_CACHE
|
||||
#else
|
||||
+#define CLOSE_SOCKET(socket)
|
||||
+#define HANDLER_RETURN_TYPE void *
|
||||
+#define HANDLER_RETURN_VALUE (void *) NULL
|
||||
+#define SOCKET_TYPE int
|
||||
#undef send
|
||||
#undef recv
|
||||
#define send(file,buffer,length,flags) 0
|
Loading…
Reference in New Issue
Block a user