1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Fix dahdi_monitor argument parsing

- Bump PORTREVISION
This commit is contained in:
Max Khon 2016-10-04 20:00:27 +00:00
parent 3cfeb21926
commit 53302898b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423298
3 changed files with 23 additions and 1 deletions

View File

@ -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]*

View File

@ -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 '?':

View File

@ -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