aboutsummaryrefslogtreecommitdiffstats
path: root/community/bitchx/fix-inline.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-11-01 10:52:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-07 16:46:13 +0000
commitcb13c3f7853b9cd853743ae4ab9eaa009ddc4aad (patch)
treed422bf9a18a4a633ee4ce3f00ea649d5cf3e1519 /community/bitchx/fix-inline.patch
parentaa43f31f02bf427d74c3182677dd6ceb92053e5f (diff)
downloadaports-cb13c3f7853b9cd853743ae4ab9eaa009ddc4aad.tar.bz2
aports-cb13c3f7853b9cd853743ae4ab9eaa009ddc4aad.tar.xz
community/bitchx: rebuild against openssl 1.1
Diffstat (limited to 'community/bitchx/fix-inline.patch')
-rw-r--r--community/bitchx/fix-inline.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/bitchx/fix-inline.patch b/community/bitchx/fix-inline.patch
new file mode 100644
index 0000000000..813b1f549e
--- /dev/null
+++ b/community/bitchx/fix-inline.patch
@@ -0,0 +1,31 @@
+diff --git a/source/expr2.c b/source/expr2.c
+index 8130919..b6c1aef 100644
+--- a/source/expr2.c
++++ b/source/expr2.c
+@@ -1192,7 +1192,7 @@ int lexerr (expr_info *c, char *format, ...)
+ * case 'operand' is set to 1. When an operand is lexed, then the next token
+ * is expected to be a binary operator, so 'operand' is set to 0.
+ */
+-__inline int check_implied_arg (expr_info *c)
++__inline static int check_implied_arg (expr_info *c)
+ {
+ if (c->operand == 2)
+ {
+@@ -1205,7 +1205,7 @@ __inline int check_implied_arg (expr_info *c)
+ return c->operand;
+ }
+
+-__inline TOKEN operator (expr_info *c, char *x, int y, TOKEN z)
++__inline static TOKEN operator (expr_info *c, char *x, int y, TOKEN z)
+ {
+ check_implied_arg(c);
+ if (c->operand)
+@@ -1216,7 +1216,7 @@ __inline TOKEN operator (expr_info *c, char *x, int y, TOKEN z)
+ return z;
+ }
+
+-__inline TOKEN unary (expr_info *c, char *x, int y, TOKEN z)
++__inline static TOKEN unary (expr_info *c, char *x, int y, TOKEN z)
+ {
+ if (!c->operand)
+ return lexerr(c, "An operator (%s) was found where "