Browse Source

get rid of inline/static combination which GCC disliked at least under 64-bit platforms like FreeBSD/amd64

master
parent
commit
3b3cc8a1e4
  1. 30
      proftpd/proftpd.patch
  2. 2
      proftpd/proftpd.spec

30
proftpd/proftpd.patch

@ -19,3 +19,33 @@ Index: mod_otp/mod_otp.c
};
static authtable otp_authtab[] = {
Index: modules/mod_auth_unix.c
--- modules/mod_auth_unix.c.orig 2005-07-03 20:52:02 +0200
+++ modules/mod_auth_unix.c 2006-06-27 16:10:20 +0200
@@ -248,7 +248,7 @@
return gr;
}
-inline static int _compare_uid(idmap_t *m1, idmap_t *m2) {
+static int _compare_uid(idmap_t *m1, idmap_t *m2) {
if (m1->id.uid < m2->id.uid)
return -1;
@@ -258,7 +258,7 @@
return 0;
}
-inline static int _compare_gid(idmap_t *m1, idmap_t *m2) {
+static int _compare_gid(idmap_t *m1, idmap_t *m2) {
if (m1->id.gid < m2->id.gid)
return -1;
@@ -268,7 +268,7 @@
return 0;
}
-inline static int _compare_id(xaset_t **table, idauth_t id, idauth_t idcomp) {
+static int _compare_id(xaset_t **table, idauth_t id, idauth_t idcomp) {
if (table == uid_table)
return id.uid == idcomp.uid;
else

2
proftpd/proftpd.spec

@ -43,7 +43,7 @@ Class: BASE
Group: FTP
License: GPL
Version: %{V_proftpd}
Release: 20060417
Release: 20060627
# package options
%option with_ifsession no

Loading…
Cancel
Save