Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2021 01:39:35 +0000 (UTC)
From:      Neel Chauhan <nc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r567817 - branches/2021Q1/net/openvswitch
Message-ID:  <202103080139.1281dZVV074292@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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