diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2006-09-04 23:50:32 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2006-09-04 23:50:32 +0000 |
commit | 6a74f560760d9db5335472d8b5d305c2c94f3698 (patch) | |
tree | 554cf6b389cb9f563067d9202908fc0bb630af03 /net-ftp/proftpd/files | |
parent | New upstream release, add metadata as I am taking over this package. (diff) | |
download | historical-6a74f560760d9db5335472d8b5d305c2c94f3698.tar.gz historical-6a74f560760d9db5335472d8b5d305c2c94f3698.tar.bz2 historical-6a74f560760d9db5335472d8b5d305c2c94f3698.zip |
fix gcc4 build issue.
Package-Manager: portage-2.1.1_rc1-r2
Diffstat (limited to 'net-ftp/proftpd/files')
-rw-r--r-- | net-ftp/proftpd/files/gcc4-mod_quotatab_sql.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-ftp/proftpd/files/gcc4-mod_quotatab_sql.patch b/net-ftp/proftpd/files/gcc4-mod_quotatab_sql.patch new file mode 100644 index 000000000000..8cfdd22a04ad --- /dev/null +++ b/net-ftp/proftpd/files/gcc4-mod_quotatab_sql.patch @@ -0,0 +1,12 @@ +--- proftpd-1.2.10/contrib/mod_quotatab_sql.c.orig 2006-09-04 11:21:09.000000000 +0000 ++++ proftpd-1.2.10/contrib/mod_quotatab_sql.c 2006-09-04 11:22:27.000000000 +0000 +@@ -684,8 +684,7 @@ + return NULL; + } + +- tab->tab_data = pcalloc(tab->tab_pool, sizeof(char)); +- ((char *) tab->tab_data) = pstrdup(tab->tab_pool, select_query); ++ tab->tab_data = (void *) pstrdup(tab->tab_pool, select_query); + } + + /* Set all the necessary function pointers. */ |