Fix build on RELENG_4 (fix res_watchdog, do not build fax support).
Bump PORTREVISION. Approved by: MAINTAINER
This commit is contained in:
parent
8d777aa3f2
commit
414711836f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139264
14 changed files with 105 additions and 7 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -73,7 +74,7 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_FAX)
|
||||
.if !defined(WITHOUT_FAX) && ${OSVERSION} >= 500000
|
||||
MAKE_ENV+= WITH_FAX=1
|
||||
LIB_DEPENDS+= spandsp.0:${PORTSDIR}/comms/spandsp
|
||||
PLIST_SUB+= WITH_FAX=""
|
||||
|
|
13
net/asterisk-bristuff/files/patch-res-res_watchdog.c
Normal file
13
net/asterisk-bristuff/files/patch-res-res_watchdog.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- res/res_watchdog.c.orig Fri Jul 15 13:24:24 2005
|
||||
+++ res/res_watchdog.c Fri Jul 15 13:24:42 2005
|
||||
@@ -40,6 +40,10 @@
|
||||
|
||||
/* Registrar for operations */
|
||||
|
||||
+#ifndef O_SYNC
|
||||
+#define O_SYNC O_FSYNC
|
||||
+#endif
|
||||
+
|
||||
static struct watchdog_pvt *watchdogs = NULL;
|
||||
|
||||
STANDARD_LOCAL_USER;
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -73,7 +74,7 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_FAX)
|
||||
.if !defined(WITHOUT_FAX) && ${OSVERSION} >= 500000
|
||||
MAKE_ENV+= WITH_FAX=1
|
||||
LIB_DEPENDS+= spandsp.0:${PORTSDIR}/comms/spandsp
|
||||
PLIST_SUB+= WITH_FAX=""
|
||||
|
|
13
net/asterisk-devel/files/patch-res-res_watchdog.c
Normal file
13
net/asterisk-devel/files/patch-res-res_watchdog.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- res/res_watchdog.c.orig Fri Jul 15 13:24:24 2005
|
||||
+++ res/res_watchdog.c Fri Jul 15 13:24:42 2005
|
||||
@@ -40,6 +40,10 @@
|
||||
|
||||
/* Registrar for operations */
|
||||
|
||||
+#ifndef O_SYNC
|
||||
+#define O_SYNC O_FSYNC
|
||||
+#endif
|
||||
+
|
||||
static struct watchdog_pvt *watchdogs = NULL;
|
||||
|
||||
STANDARD_LOCAL_USER;
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -73,7 +74,7 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_FAX)
|
||||
.if !defined(WITHOUT_FAX) && ${OSVERSION} >= 500000
|
||||
MAKE_ENV+= WITH_FAX=1
|
||||
LIB_DEPENDS+= spandsp.0:${PORTSDIR}/comms/spandsp
|
||||
PLIST_SUB+= WITH_FAX=""
|
||||
|
|
13
net/asterisk/files/patch-res-res_watchdog.c
Normal file
13
net/asterisk/files/patch-res-res_watchdog.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- res/res_watchdog.c.orig Fri Jul 15 13:24:24 2005
|
||||
+++ res/res_watchdog.c Fri Jul 15 13:24:42 2005
|
||||
@@ -40,6 +40,10 @@
|
||||
|
||||
/* Registrar for operations */
|
||||
|
||||
+#ifndef O_SYNC
|
||||
+#define O_SYNC O_FSYNC
|
||||
+#endif
|
||||
+
|
||||
static struct watchdog_pvt *watchdogs = NULL;
|
||||
|
||||
STANDARD_LOCAL_USER;
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -73,7 +74,7 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_FAX)
|
||||
.if !defined(WITHOUT_FAX) && ${OSVERSION} >= 500000
|
||||
MAKE_ENV+= WITH_FAX=1
|
||||
LIB_DEPENDS+= spandsp.0:${PORTSDIR}/comms/spandsp
|
||||
PLIST_SUB+= WITH_FAX=""
|
||||
|
|
13
net/asterisk10/files/patch-res-res_watchdog.c
Normal file
13
net/asterisk10/files/patch-res-res_watchdog.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- res/res_watchdog.c.orig Fri Jul 15 13:24:24 2005
|
||||
+++ res/res_watchdog.c Fri Jul 15 13:24:42 2005
|
||||
@@ -40,6 +40,10 @@
|
||||
|
||||
/* Registrar for operations */
|
||||
|
||||
+#ifndef O_SYNC
|
||||
+#define O_SYNC O_FSYNC
|
||||
+#endif
|
||||
+
|
||||
static struct watchdog_pvt *watchdogs = NULL;
|
||||
|
||||
STANDARD_LOCAL_USER;
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -73,7 +74,7 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_FAX)
|
||||
.if !defined(WITHOUT_FAX) && ${OSVERSION} >= 500000
|
||||
MAKE_ENV+= WITH_FAX=1
|
||||
LIB_DEPENDS+= spandsp.0:${PORTSDIR}/comms/spandsp
|
||||
PLIST_SUB+= WITH_FAX=""
|
||||
|
|
13
net/asterisk12/files/patch-res-res_watchdog.c
Normal file
13
net/asterisk12/files/patch-res-res_watchdog.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- res/res_watchdog.c.orig Fri Jul 15 13:24:24 2005
|
||||
+++ res/res_watchdog.c Fri Jul 15 13:24:42 2005
|
||||
@@ -40,6 +40,10 @@
|
||||
|
||||
/* Registrar for operations */
|
||||
|
||||
+#ifndef O_SYNC
|
||||
+#define O_SYNC O_FSYNC
|
||||
+#endif
|
||||
+
|
||||
static struct watchdog_pvt *watchdogs = NULL;
|
||||
|
||||
STANDARD_LOCAL_USER;
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -73,7 +74,7 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_FAX)
|
||||
.if !defined(WITHOUT_FAX) && ${OSVERSION} >= 500000
|
||||
MAKE_ENV+= WITH_FAX=1
|
||||
LIB_DEPENDS+= spandsp.0:${PORTSDIR}/comms/spandsp
|
||||
PLIST_SUB+= WITH_FAX=""
|
||||
|
|
13
net/asterisk14/files/patch-res-res_watchdog.c
Normal file
13
net/asterisk14/files/patch-res-res_watchdog.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- res/res_watchdog.c.orig Fri Jul 15 13:24:24 2005
|
||||
+++ res/res_watchdog.c Fri Jul 15 13:24:42 2005
|
||||
@@ -40,6 +40,10 @@
|
||||
|
||||
/* Registrar for operations */
|
||||
|
||||
+#ifndef O_SYNC
|
||||
+#define O_SYNC O_FSYNC
|
||||
+#endif
|
||||
+
|
||||
static struct watchdog_pvt *watchdogs = NULL;
|
||||
|
||||
STANDARD_LOCAL_USER;
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.0.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.asterisk.org/pub/telephony/asterisk/ \
|
||||
ftp://ftp.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
|
@ -73,7 +74,7 @@ PLIST_SUB+= WITH_ZAPTEL=""
|
|||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_FAX)
|
||||
.if !defined(WITHOUT_FAX) && ${OSVERSION} >= 500000
|
||||
MAKE_ENV+= WITH_FAX=1
|
||||
LIB_DEPENDS+= spandsp.0:${PORTSDIR}/comms/spandsp
|
||||
PLIST_SUB+= WITH_FAX=""
|
||||
|
|
13
net/asterisk16/files/patch-res-res_watchdog.c
Normal file
13
net/asterisk16/files/patch-res-res_watchdog.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- res/res_watchdog.c.orig Fri Jul 15 13:24:24 2005
|
||||
+++ res/res_watchdog.c Fri Jul 15 13:24:42 2005
|
||||
@@ -40,6 +40,10 @@
|
||||
|
||||
/* Registrar for operations */
|
||||
|
||||
+#ifndef O_SYNC
|
||||
+#define O_SYNC O_FSYNC
|
||||
+#endif
|
||||
+
|
||||
static struct watchdog_pvt *watchdogs = NULL;
|
||||
|
||||
STANDARD_LOCAL_USER;
|
Loading…
Reference in a new issue