Mail archive
alpine-aports

[alpine-aports] [PATCH] main/sipsak: fix inline compile error

From: Christian Kampka <christian_at_kampka.net>
Date: Fri, 6 Nov 2015 17:56:03 +0100

---
 main/sipsak/APKBUILD         |  3 ++-
 main/sipsak/fix-inline.patch | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 main/sipsak/fix-inline.patch
diff --git a/main/sipsak/APKBUILD b/main/sipsak/APKBUILD
index 2a972f4..8c6998e 100644
--- a/main/sipsak/APKBUILD
+++ b/main/sipsak/APKBUILD
_at_@ -2,7 +2,7 @@
 # Maintainer: Leonardo Arena <rnalrd_at_alpinelinux.org>
 pkgname=sipsak
 pkgver=0.9.6
-pkgrel=5
+pkgrel=6
 pkgdesc="SIP swiss army knife"
 url="http://sipsak.org/"
 arch="all"
_at_@ -16,6 +16,7 @@ source="http://downloads.sourceforge.net/project/sipsak.berlios/${pkgname}-${pkg
 	fix-off-by-one-bugs.patch
 	sipsak-0001-Fix-for-wrong-arity-of-callback-function-for-c-ares.patch
 	fix-aaaa-record-segfault.patch
+	fix-inline.patch
 	"
 
 _builddir="$srcdir"/$pkgname-$pkgver
diff --git a/main/sipsak/fix-inline.patch b/main/sipsak/fix-inline.patch
new file mode 100644
index 0000000..7d86585
--- /dev/null
+++ b/main/sipsak/fix-inline.patch
_at_@ -0,0 +1,11 @@
+diff --git a/header_f.h.orig b/header_f.h
+index 19d22b4..64885f0 100644
+--- a/header_f.h.orig
++++ b/header_f.h
+_at_@ -61,5 +61,5 @@ void new_transaction(char *message);
+ 
+ void print_message_line(char *message);
+ 
+-inline char* get_body(char *mes);
++extern char* get_body(char *mes);
+ #endif
-- 
2.6.2
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Nov 06 2015 - 17:56:03 GMT