View | Details | Raw Unified | Return to bug 251962 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-16 / +5 lines)
Lines 1-11 Link Here
1
# Created by: Diederik de Groot
1
# Created by: Diederik de Groot
2
# $FreeBSD: head/net/asterisk-chan_sccp/Makefile 555766 2020-11-20 15:19:51Z madpilot $
2
# $FreeBSD: head/net/asterisk-chan_sccp/Makefile 522050 2020-01-04 20:04:07Z pkubaj $
3
3
4
PORTNAME=	chan_sccp
4
PORTNAME=	chan_sccp
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
DISTVERSION=	4.3.2
6
DISTVERSION=	4.3.3
7
DISTVERSIONSUFFIX=	-eta
7
#DISTVERSIONSUFFIX=
8
PORTREVISION=	5
8
#PORTREVISION=	0
9
CATEGORIES=	net
9
CATEGORIES=	net
10
PKGNAMEPREFIX=	asterisk-
10
PKGNAMEPREFIX=	asterisk-
11
11
Lines 18-28 Link Here
18
FLAVORS=	asterisk16 asterisk18 asterisk13
18
FLAVORS=	asterisk16 asterisk18 asterisk13
19
FLAVOR?=	${FLAVORS:[1]}
19
FLAVOR?=	${FLAVORS:[1]}
20
20
21
LIB_DEPENDS=	libltdl.so:devel/libltdl
21
USES=           autoreconf compiler:c11 gettext-tools iconv libtool localbase
22
22
23
USES=		autoreconf compiler:c11 gettext-tools iconv libtool \
24
		localbase ssl
25
26
USE_GITHUB=	yes
23
USE_GITHUB=	yes
27
GH_ACCOUNT=	chan-sccp
24
GH_ACCOUNT=	chan-sccp
28
GH_PROJECT=	chan-sccp
25
GH_PROJECT=	chan-sccp
Lines 64-77 Link Here
64
61
65
CONFERENCE_CONFIGURE_ENABLE=	conference
62
CONFERENCE_CONFIGURE_ENABLE=	conference
66
VIDEO_CONFIGURE_ENABLE=		video
63
VIDEO_CONFIGURE_ENABLE=		video
67
68
.if ${FLAVOR} == asterisk13
69
CONFIGURE_ARGS+=		--with-asterisk-version=13
70
.elif ${FLAVOR} == asterisk16
71
CONFIGURE_ARGS+=		--with-asterisk-version=16
72
.elif ${FLAVOR} == asterisk18
73
CONFIGURE_ARGS+=		--with-asterisk-version=18
74
.endif
75
64
76
post-install:
65
post-install:
77
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/asterisk
66
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/asterisk
(-)./distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1605805369
1
TIMESTAMP = 1603703805
2
SHA256 (chan-sccp-chan-sccp-v4.3.2-eta_GH0.tar.gz) = 78aa27bbd4dc3fbb647d0c37736eca5434b6cc4cc736897c2577f5883f102836
2
SHA256 (chan-sccp-chan-sccp-v4.3.3_GH0.tar.gz) = 970961c2b7128e840c09e3ce994bc109c9526e81a90ffbc72b6e6bffe860ad82
3
SIZE (chan-sccp-chan-sccp-v4.3.2-eta_GH0.tar.gz) = 1678306
3
SIZE (chan-sccp-chan-sccp-v4.3.3_GH0.tar.gz) = 1677723
(-)./files/patch-src_define.h (-17 lines)
Lines 1-17 Link Here
1
--- src/define.h.orig	2020-10-24 14:42:40 UTC
2
+++ src/define.h
3
@@ -98,10 +98,10 @@ SCCP_LINE unsigned long long ___bswap_64(unsigned long
4
 #    define htolel(x) (uint16_t)(x)
5
 #    define htoles(x) (uint16_t)(x)
6
 #  else
7
-#    define letohs(x) ___bswap_16(x)
8
-#    define htoles(x) ___bswap_16(x)
9
-#    define letohl(x) ___bswap_32(x)
10
-#    define htolel(x) ___bswap_32(x)
11
+#    define letohs(x) bswap16(x)
12
+#    define htoles(x) bswap16(x)
13
+#    define letohl(x) bswap32(x)
14
+#    define htolel(x) bswap32(x)
15
 #  endif
16
 #endif
17
 

Return to bug 251962