From 625698af8ad1e38993a88109302cc89864b6a406 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 24 Sep 2016 22:22:23 +0200 Subject: sipsak: fix compile --- package/sipsak/patches/patch-configure | 12 ++++++------ package/sipsak/patches/patch-header_f_c | 11 +++++++++++ package/sipsak/patches/patch-header_f_h | 9 +++++++++ 3 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 package/sipsak/patches/patch-header_f_c create mode 100644 package/sipsak/patches/patch-header_f_h (limited to 'package/sipsak') diff --git a/package/sipsak/patches/patch-configure b/package/sipsak/patches/patch-configure index 877251f30..128845ab3 100644 --- a/package/sipsak/patches/patch-configure +++ b/package/sipsak/patches/patch-configure @@ -1,5 +1,5 @@ --- sipsak-0.9.6.orig/configure 2006-01-28 22:11:34.000000000 +0100 -+++ sipsak-0.9.6/configure 2009-11-23 20:57:18.000000000 +0100 ++++ sipsak-0.9.6/configure 2016-09-23 18:46:18.305339828 +0200 @@ -1,27 +1,56 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. @@ -1049,7 +1049,7 @@ --x) # Obsolete; use --with-x. -@@ -636,8 +1086,7 @@ Try \`$0 --help' for more information." +@@ -636,8 +1086,7 @@ Try \`$0 --help' for more information." expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } @@ -1794,7 +1794,7 @@ # Just in case sleep 1 echo timestamp > conftest.file -@@ -1472,20 +1909,20 @@ echo "$as_me: error: newly created file +@@ -1472,20 +1909,20 @@ echo "$as_me: error: newly created file Check your system clock" >&2;} { (exit 1); exit 1; }; } fi @@ -2923,7 +2923,7 @@ int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; -@@ -2515,205 +3108,57 @@ return f (e, argv, 0) != argv[0] || f +@@ -2515,205 +3108,57 @@ return f (e, argv, 0) != argv[0] || f return 0; } _ACEOF @@ -3989,7 +3989,7 @@ if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF -@@ -3572,9 +4194,9 @@ for ac_header in sys/types.h sys/stat.h +@@ -3572,9 +4194,9 @@ for ac_header in sys/types.h sys/stat.h inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` @@ -7572,7 +7572,7 @@ debug=: ;; --file | --fil | --fi | --f ) $ac_shift -@@ -6891,18 +7447,24 @@ Try \`$0 --help' for more information." +@@ -6891,18 +7447,24 @@ Try \`$0 --help' for more information." $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; diff --git a/package/sipsak/patches/patch-header_f_c b/package/sipsak/patches/patch-header_f_c new file mode 100644 index 000000000..ed142ade5 --- /dev/null +++ b/package/sipsak/patches/patch-header_f_c @@ -0,0 +1,11 @@ +--- sipsak-0.9.6.orig/header_f.c 2006-01-28 22:11:50.000000000 +0100 ++++ sipsak-0.9.6/header_f.c 2016-09-23 18:49:25.092385094 +0200 +@@ -604,7 +604,7 @@ void print_message_line(char *message) + } + + /* return pointer to the beginning of the message body */ +-inline char* get_body(char *mes) { ++char* get_body(char *mes) { + char *cr; + + if ((cr = strstr(mes, "\r\n\r\n")) != NULL) { diff --git a/package/sipsak/patches/patch-header_f_h b/package/sipsak/patches/patch-header_f_h new file mode 100644 index 000000000..922599d28 --- /dev/null +++ b/package/sipsak/patches/patch-header_f_h @@ -0,0 +1,9 @@ +--- sipsak-0.9.6.orig/header_f.h 2006-01-28 22:11:50.000000000 +0100 ++++ sipsak-0.9.6/header_f.h 2016-09-23 18:49:14.964003070 +0200 +@@ -61,5 +61,5 @@ void new_transaction(char *message); + + void print_message_line(char *message); + +-inline char* get_body(char *mes); ++char* get_body(char *mes); + #endif -- cgit v1.2.3