svn commit: r567817 - branches/2021Q1/net/openvswitch

Neel Chauhan nc at FreeBSD.org
Mon Mar 8 01:39:36 UTC 2021


Author: nc
Date: Mon Mar  8 01:39:35 2021
New Revision: 567817
URL: https://svnweb.freebsd.org/changeset/ports/567817

Log:
  MFH: r567816
  
  net/openvswitch: Fix conflicts with libc (uuid_to_string(2))
  
  PR:		238331
  Submitted by:	Nikola Kolev <koue AT chaosophia DOT net>, amdmi3
  Reported by:	Ian Campbell <ianc1215 AT gmail DOT com>
  Approved by:	portmgr (bugfix blanket)

Modified:
  branches/2021Q1/net/openvswitch/Makefile
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/net/openvswitch/Makefile
==============================================================================
--- branches/2021Q1/net/openvswitch/Makefile	Mon Mar  8 01:38:33 2021	(r567816)
+++ branches/2021Q1/net/openvswitch/Makefile	Mon Mar  8 01:39:35 2021	(r567817)
@@ -3,6 +3,7 @@
 
 PORTNAME=	openvswitch
 DISTVERSION=	2.14.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://openvswitch.org/releases/
 
@@ -34,6 +35,10 @@ INSTALL_TARGET=install-strip
 
 SHLIB_VER=	${DISTVERSION:C/\.[0-9]*$//}
 PLIST_SUB=	SHLIB_VER=${SHLIB_VER}
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|uuid_from_string(|uuid_from_string_ovs(|g' \
+		${WRKSRC}/*/*.c ${WRKSRC}/*/*.h
 
 post-install:
 	${MKDIR} ${STAGEDIR}/var/run/openvswitch


More information about the svn-ports-all mailing list