svn commit: r545512 - in head/www/pecl-solr: . files

Li-Wen Hsu lwhsu at FreeBSD.org
Thu Aug 20 09:31:36 UTC 2020


Author: lwhsu
Date: Thu Aug 20 09:31:35 2020
New Revision: 545512
URL: https://svnweb.freebsd.org/changeset/ports/545512

Log:
  www/pecl-solr: Fix build for php 7.4
  
  PR:		247364
  Submitted by:	hagabard at gmail.com
  Approved by:	Hung-Yi Chen <gaod at hychen.org> (maintainer)
  MFH:		2020Q3 (blanket: build fix)

Added:
  head/www/pecl-solr/files/patch-src_php7_solr__types.h   (contents, props changed)
Modified:
  head/www/pecl-solr/Makefile

Modified: head/www/pecl-solr/Makefile
==============================================================================
--- head/www/pecl-solr/Makefile	Thu Aug 20 09:31:20 2020	(r545511)
+++ head/www/pecl-solr/Makefile	Thu Aug 20 09:31:35 2020	(r545512)
@@ -3,6 +3,7 @@
 
 PORTNAME=	solr
 PORTVERSION=	2.5.0
+PORTREVISION=	1
 CATEGORIES=	www
 
 MAINTAINER=	gaod at hychen.org
@@ -16,6 +17,8 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 
 USES=		php:pecl
 USE_PHP=	json:build
-IGNORE_WITH_PHP=	74
+
+CONFIGURE_ARGS=	LIBXML_CFLAGS=-I${LOCALBASE}/include/libxml2 \
+		LIBXML_LIBS=-L${LOCALBASE}/include/libxml2
 
 .include <bsd.port.mk>

Added: head/www/pecl-solr/files/patch-src_php7_solr__types.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/pecl-solr/files/patch-src_php7_solr__types.h	Thu Aug 20 09:31:35 2020	(r545512)
@@ -0,0 +1,11 @@
+--- src/php7/solr_types.h.orig  2016-03-30 13:42:31 UTC
++++ src/php7/solr_types.h
+@@ -53,6 +53,7 @@
+ #include <libxml/tree.h>
+
+ typedef unsigned char solr_bool;
++typedef unsigned long   ulong;            /* Short for unsigned long */
+
+ #include "solr_string.h"
+
+


More information about the svn-ports-all mailing list