aboutsummaryrefslogtreecommitdiffstats
path: root/main/oidentd/fix-inline.patch
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2015-11-06 15:27:45 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-09 08:21:28 +0000
commit9e05fb8cb74641cb69ca510b5a17d1ac84dfff4b (patch)
treeebe49a5d3b120cbf3aa22f587a8ad789c9f04437 /main/oidentd/fix-inline.patch
parentdd38655227dbb30d3777d3c2cda6fd1849c7fc4a (diff)
downloadaports-9e05fb8cb74641cb69ca510b5a17d1ac84dfff4b.tar.bz2
aports-9e05fb8cb74641cb69ca510b5a17d1ac84dfff4b.tar.xz
main/oidentd: fix inline compiler failure
Diffstat (limited to 'main/oidentd/fix-inline.patch')
-rw-r--r--main/oidentd/fix-inline.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/oidentd/fix-inline.patch b/main/oidentd/fix-inline.patch
new file mode 100644
index 0000000000..777d9f68fa
--- /dev/null
+++ b/main/oidentd/fix-inline.patch
@@ -0,0 +1,13 @@
+diff --git a/src/oidentd_util.h.orig b/src/oidentd_util.h
+index a136c47..639d49f 100644
+--- a/src/oidentd_util.h.orig
++++ b/src/oidentd_util.h
+@@ -58,7 +58,7 @@ int find_user(const char *temp_user, uid_t *uid);
+ int find_group(const char *temp_group, gid_t *gid);
+
+ int random_seed(void);
+-inline int randval(int i);
++extern int randval(int i);
+
+ #ifndef HAVE_SNPRINTF
+ int snprintf(char *str, size_t n, char const *fmt, ...);