Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2016 20:00:27 +0000 (UTC)
From:      Max Khon <fjoe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423298 - in head/misc/dahdi: . files
Message-ID:  <201610042000.u94K0Rjb029224@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fjoe
Date: Tue Oct  4 20:00:27 2016
New Revision: 423298
URL: https://svnweb.freebsd.org/changeset/ports/423298

Log:
  - Fix dahdi_monitor argument parsing
  - Bump PORTREVISION

Added:
  head/misc/dahdi/files/patch-tools-dahdi_monitor.c   (contents, props changed)
  head/misc/dahdi/files/patch-tools-menuselect-Makefile   (contents, props changed)
Modified:
  head/misc/dahdi/Makefile

Modified: head/misc/dahdi/Makefile
==============================================================================
--- head/misc/dahdi/Makefile	Tue Oct  4 19:55:46 2016	(r423297)
+++ head/misc/dahdi/Makefile	Tue Oct  4 20:00:27 2016	(r423298)
@@ -3,7 +3,7 @@
 
 PORTNAME=	dahdi
 PORTVERSION=	${DAHDI_VERSION:S/-//g}
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	misc
 MASTER_SITES=	LOCAL/fjoe
 DISTNAME=	${PORTNAME}-freebsd-complete-${DAHDI_VERSION}+${DAHDI_TOOLS_VERSION}
@@ -23,6 +23,7 @@ CONFIGURE_ENV=	WGET=/usr/bin/fetch
 WRKSRC=		${WRKDIR}/${DISTNAME}/tools
 PATCH_WRKSRC=	${WRKDIR}/${DISTNAME}
 USE_LDCONFIG=	yes
+MAKE_ENV=	HOST_CC=${CC}
 
 CONFLICTS=	zaptel-[0-9]*
 

Added: head/misc/dahdi/files/patch-tools-dahdi_monitor.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/dahdi/files/patch-tools-dahdi_monitor.c	Tue Oct  4 20:00:27 2016	(r423298)
@@ -0,0 +1,10 @@
+--- tools/dahdi_monitor.c.orig	2016-10-04 19:57:19.085982000 +0000
++++ tools/dahdi_monitor.c	2016-10-04 19:57:34.349843000 +0000
+@@ -368,6 +368,7 @@
+ 
+ 	chan = atoi(argv[1]);
+ 
++	optind = 2;
+ 	while ((opt = getopt(argc, argv, "vmol:f:r:t:s:F:R:T:S:")) != -1) {
+ 		switch (opt) {
+ 		case '?':

Added: head/misc/dahdi/files/patch-tools-menuselect-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/dahdi/files/patch-tools-menuselect-Makefile	Tue Oct  4 20:00:27 2016	(r423298)
@@ -0,0 +1,11 @@
+--- tools/menuselect/Makefile.orig	2016-10-04 19:53:16.199527000 +0000
++++ tools/menuselect/Makefile	2016-10-04 19:53:31.943912000 +0000
+@@ -64,7 +64,7 @@
+ $(OBJS) $(C_OBJS) $(N_OBJS) $(G_OBJS) $(M_OBJS): autoconfig.h menuselect.h
+ 
+ makeopts autoconfig.h: autoconfig.h.in makeopts.in
+-	@./configure $(CONFIGURE_SILENT) CC= LD= AR= CFLAGS=
++	@./configure $(CONFIGURE_SILENT) CC=${CC} LD= AR= CFLAGS=
+ 
+ $(ALL_TGTS): mxml/libmxml.a
+ 



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