Commit 55c531a2 authored by Natanael Copa's avatar Natanael Copa

main/lksctp-tools: upgrade to 1.0.17

parent c197a5c7
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lksctp-tools
pkgver=1.0.16
pkgrel=1
pkgver=1.0.17
pkgrel=0
pkgdesc="User-space access to Linux Kernel SCTP"
url="http://lksctp.sourceforge.net"
arch="all"
......@@ -11,8 +11,7 @@ depends_dev=""
makedepends="$depends_dev libtool automake autoconf linux-headers"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/lksctp/lksctp-tools-$pkgver.tar.gz
musl.patch"
source="http://downloads.sourceforge.net/lksctp/lksctp-tools-$pkgver.tar.gz"
_builddir="$srcdir"/lksctp-tools-$pkgver
prepare() {
......@@ -42,9 +41,6 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
md5sums="708bb0b5a6806ad6e8d13c55b067518e lksctp-tools-1.0.16.tar.gz
446284745da795d9680d3a1d9b78ede4 musl.patch"
sha256sums="0903dd526b7f30a89d5031aa2c82757612becc38ed7bc6e4f972f8deae351f26 lksctp-tools-1.0.16.tar.gz
5c5a340f69a44593e8b24544991d5c8c9efd8320d7ac9c2131265f15910e0e82 musl.patch"
sha512sums="ea771f3ffeef4630638ee9cbdf01723d01b1b0ca2e8f147a2b61b907339bd1a0c5d621a58638a3b700b6ffc41de06c7b9002645254a471e279663b64b313f467 lksctp-tools-1.0.16.tar.gz
8c837c7e1e825f5e1ae26c5dc622d2803f5421efaf65add5b56f9c383d3505c8654ebf1ba7d18ee0dba512a2a96137060bac6de55abb2604162a9087bbd4db94 musl.patch"
md5sums="68e9b8fa4d4e331029b247b72d46d7a5 lksctp-tools-1.0.17.tar.gz"
sha256sums="1aeb204cdb2befc94d9eb3037d1609c9d1d2cd5379d6dd2c0a8ca9b10533aa15 lksctp-tools-1.0.17.tar.gz"
sha512sums="055719130b7dda4da9cf002dcd5f1fb3d8cf75300a99365976e087b2b6971b4ccd357f95b515a44e37874af161f7b7f9b42c60191aff938d18fada5a49aa44c4 lksctp-tools-1.0.17.tar.gz"
diff --git a/src/include/netinet/sctp.h b/src/include/netinet/sctp.h
index 51f5bfb..2e41ab6 100644
--- a/src/include/netinet/sctp.h
+++ b/src/include/netinet/sctp.h
@@ -37,7 +37,9 @@
#include <linux/types.h>
#include <sys/socket.h>
-__BEGIN_DECLS
+#ifdef __cplusplus
+extern "C" {
+#endif
typedef __s32 sctp_assoc_t;
@@ -862,6 +864,8 @@ int sctp_recvmsg(int s, void *msg, size_t len, struct sockaddr *from,
/* Return the address length for an address family. */
int sctp_getaddrlen(sa_family_t family);
-__END_DECLS
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
#endif /* __linux_sctp_h__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment