diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-12-17 07:33:56 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-12-17 07:33:56 +0000 |
commit | d3994f6692e69224deeb763604a4f7c9c946ca08 (patch) | |
tree | 6ea4a545323299e29b006da782ed193accba4f1b /main | |
parent | afd299997b829913d2a08ce197a95355658f7a1b (diff) | |
download | aports-d3994f6692e69224deeb763604a4f7c9c946ca08.tar.bz2 aports-d3994f6692e69224deeb763604a4f7c9c946ca08.tar.xz |
main/iaxmodem: fix musl build
Diffstat (limited to 'main')
-rw-r--r-- | main/iaxmodem/APKBUILD | 6 | ||||
-rw-r--r-- | main/iaxmodem/iaxmodem-fix.patch | 23 |
2 files changed, 28 insertions, 1 deletions
diff --git a/main/iaxmodem/APKBUILD b/main/iaxmodem/APKBUILD index dc6184a9ae..40d38a29dc 100644 --- a/main/iaxmodem/APKBUILD +++ b/main/iaxmodem/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Cameron Banta <cbanta@gmail.com> pkgname=iaxmodem pkgver=1.2.0 -pkgrel=5 +pkgrel=6 pkgdesc="Softmodem for hylafax that connects to VOIP gateway with IAX" url="http://iaxmodem.sourceforge.net/" arch="all" @@ -14,6 +14,7 @@ makedepends="$depends_dev tiff-dev" install="" subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + iaxmodem-fix.patch $pkgname.confd $pkgname.initd" @@ -71,11 +72,14 @@ package() { md5sums="f8b26cfeed188e5c1dcbc5ae5ef923b3 iaxmodem-1.2.0.tar.gz +d67d71c7bb2c75c5ae0a74a52bd889de iaxmodem-fix.patch d00821bb80d8cba07d0a9b89b2423ce1 iaxmodem.confd ca3f236df5776b4de05eeac2450754f1 iaxmodem.initd" sha256sums="fa263c0df0870cb8133c4bee141146ca5db47ece6db50899a6acf508d76591ed iaxmodem-1.2.0.tar.gz +064a8205388d7e4b5fdea67cfeef4aa95a01863d088fc76e914f4ab478e887b6 iaxmodem-fix.patch 80ddf9a1607f45cc93c309d0174d8a2ddc9514ca328c5551ac33f109d24decbf iaxmodem.confd df530bcc7105d80b7503c19419f3a37e787b15b2f8720be64f6c37f66ea7a0b3 iaxmodem.initd" sha512sums="53b66a0977366541ffaa743fcbefa11c20eb9ea7182245a1d11bc7fd015d98a4ec8086b3cb85b8de84f63d67221bccb1a868fe9f0a603de600023ea158909707 iaxmodem-1.2.0.tar.gz +999ba9d554ffa8ecb00b4e18b2e25d0c077a64560985ffc035fe89dedf7ff9686c347aba16a0bc05ad9a4d11e17b9ddad3b99772b2b61e1fcaea00c63bcbb897 iaxmodem-fix.patch c5b01eecd8048a99777c0265bc31cd8dcafa7ab2b30798500ec52e759f4ad97ffc13e8e72ad3018e9cd77b2acefdbbe7125b0b0d7f7cefd4ab6d764c690c89a1 iaxmodem.confd f3443bd53fdb8b394a58cf84ebd3cf808d46f02337942e9bdd1c73b1af668c9ebccc1325d27ae098c161ae0bab8860c709d87e11ac834d8079650dfb53bb1a36 iaxmodem.initd" diff --git a/main/iaxmodem/iaxmodem-fix.patch b/main/iaxmodem/iaxmodem-fix.patch new file mode 100644 index 0000000000..ab4db6b31a --- /dev/null +++ b/main/iaxmodem/iaxmodem-fix.patch @@ -0,0 +1,23 @@ +--- iaxmodem-1.2.0.orig/lib/libiax2/src/iax.c ++++ iaxmodem-1.2.0/lib/libiax2/src/iax.c +@@ -77,9 +77,6 @@ + + #if !defined(MACOSX) && !defined(__OpenBSD__) + #include <malloc.h> +-#if !defined(SOLARIS) +-#include <error.h> +-#endif + #endif + + #endif +--- iaxmodem-1.2.0.orig/lib/libiax2/src/md5.c ++++ iaxmodem-1.2.0/lib/libiax2/src/md5.c +@@ -177,7 +177,7 @@ + MD5Transform(ctx->buf, (uint32_t *) ctx->in); + byteReverse((uint8_t *) ctx->buf, 4); + memcpy(digest, ctx->buf, 16); +- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ++ memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */ + } + + #ifndef ASM_MD5 |