Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2019 20:10:06 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r517611 - in branches/2019Q4/net-mgmt/driftnet: . files
Message-ID:  <201911142010.xAEKA6in083374@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Nov 14 20:10:05 2019
New Revision: 517611
URL: https://svnweb.freebsd.org/changeset/ports/517611

Log:
  MFH: r517610
  
  Fix build on GCC architectures
  
  PR:		241894
  Submitted by:	pkubaj
  Approved by:	portmgr blanket

Modified:
  branches/2019Q4/net-mgmt/driftnet/Makefile
  branches/2019Q4/net-mgmt/driftnet/files/patch-configure.ac
Directory Properties:
  branches/2019Q4/   (props changed)

Modified: branches/2019Q4/net-mgmt/driftnet/Makefile
==============================================================================
--- branches/2019Q4/net-mgmt/driftnet/Makefile	Thu Nov 14 20:09:10 2019	(r517610)
+++ branches/2019Q4/net-mgmt/driftnet/Makefile	Thu Nov 14 20:10:05 2019	(r517611)
@@ -19,6 +19,7 @@ BUILD_DEPENDS=	makedepend:devel/makedepend
 GNU_CONFIGURE=	yes
 USES=		autoreconf gettext-runtime gmake gnome jpeg localbase:ldflags \
 		pkgconfig
+USE_CSTD=	c99
 USE_GITHUB=	yes
 USE_GNOME=	gtk20
 USE_XORG=	x11 xext xi

Modified: branches/2019Q4/net-mgmt/driftnet/files/patch-configure.ac
==============================================================================
--- branches/2019Q4/net-mgmt/driftnet/files/patch-configure.ac	Thu Nov 14 20:09:10 2019	(r517610)
+++ branches/2019Q4/net-mgmt/driftnet/files/patch-configure.ac	Thu Nov 14 20:10:05 2019	(r517611)
@@ -1,4 +1,4 @@
---- configure.ac.orig	2018-09-15 19:08:05 UTC
+--- configure.ac.orig	2019-10-19 17:01:57 UTC
 +++ configure.ac
 @@ -22,7 +22,7 @@ build_linux=no
  build_mac=no
@@ -9,3 +9,12 @@
          build_linux=yes
          ;;
      cygwin*|mingw*)
+@@ -69,7 +69,7 @@ AC_ARG_ENABLE([debug],
+     [enable_debug=yes])
+ 
+ if test "x$enable_debug" = xyes; then
+-    CFLAGS="-O2 -g -DDEBUG"
++    CFLAGS+="-O2 -g -DDEBUG"
+ else
+ 	CFLAGS="-O2 -DNDEBUG"
+ fi



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