Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2018 13:35:47 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463319 - in head/www/nginx: . files
Message-ID:  <201803011335.w21DZl3h071754@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Mar  1 13:35:47 2018
New Revision: 463319
URL: https://svnweb.freebsd.org/changeset/ports/463319

Log:
  Fix build with msgpuck 2.0

Added:
  head/www/nginx/files/extra-patch-ngx_http_tarantool-src-tp_transcode.c   (contents, props changed)
Modified:
  head/www/nginx/Makefile

Modified: head/www/nginx/Makefile
==============================================================================
--- head/www/nginx/Makefile	Thu Mar  1 13:35:41 2018	(r463318)
+++ head/www/nginx/Makefile	Thu Mar  1 13:35:47 2018	(r463319)
@@ -701,7 +701,8 @@ CONFIGURE_ARGS+=--add-dynamic-module=${WRKSRC_nginx_ta
 .else
 CONFIGURE_ARGS+=--add-module=${WRKSRC_nginx_tarantool}
 .endif
-EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ngx_http_tarantool-config
+EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-ngx_http_tarantool-config \
+		${PATCHDIR}/extra-patch-ngx_http_tarantool-src-tp_transcode.c
 .endif
 
 .if ${PORT_OPTIONS:MHTTP_SECURE_LINK}

Added: head/www/nginx/files/extra-patch-ngx_http_tarantool-src-tp_transcode.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/nginx/files/extra-patch-ngx_http_tarantool-src-tp_transcode.c	Thu Mar  1 13:35:47 2018	(r463319)
@@ -0,0 +1,13 @@
+--- ../nginx_upstream_module-1278ee5/src/tp_transcode.c.orig	2016-08-08 03:39:47.000000000 +0800
++++ ../nginx_upstream_module-1278ee5/src/tp_transcode.c	2018-03-01 04:23:02.513740000 +0800
+@@ -38,10 +38,6 @@
+ #  define GNU_SOURCES 1
+ #endif /* !GNU_SOURCES */
+ 
+-#if !defined(MP_SOURCE)
+-#  define MP_SOURCE 1
+-#endif /* !MP_SOURCE */
+-
+ #include "tp_ext.h"
+ #include "tp_transcode.h"
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803011335.w21DZl3h071754>