Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2021 01:38:33 +0000 (UTC)
From:      Neel Chauhan <nc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567816 - head/net/openvswitch
Message-ID:  <202103080138.1281cXVi074124@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nc
Date: Mon Mar  8 01:38:33 2021
New Revision: 567816
URL: https://svnweb.freebsd.org/changeset/ports/567816

Log:
  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>
  MFH:		2021Q1

Modified:
  head/net/openvswitch/Makefile

Modified: head/net/openvswitch/Makefile
==============================================================================
--- head/net/openvswitch/Makefile	Mon Mar  8 01:36:03 2021	(r567815)
+++ head/net/openvswitch/Makefile	Mon Mar  8 01:38:33 2021	(r567816)
@@ -3,6 +3,7 @@
 
 PORTNAME=	openvswitch
 DISTVERSION=	2.15.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://openvswitch.org/releases/
 
@@ -45,6 +46,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?202103080138.1281cXVi074124>