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:
parent
3cfeb21926
commit
53302898b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423298
@ -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]*
|
||||
|
||||
|
10
misc/dahdi/files/patch-tools-dahdi_monitor.c
Normal file
10
misc/dahdi/files/patch-tools-dahdi_monitor.c
Normal 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 '?':
|
11
misc/dahdi/files/patch-tools-menuselect-Makefile
Normal file
11
misc/dahdi/files/patch-tools-menuselect-Makefile
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user