Ticket #191 (closed defect: fixed)
Patches for 2.1.23 to build on older systems
| Reported by: | pogma | Owned by: | smoku |
|---|---|---|---|
| Priority: | major | Component: | General |
| Version: | 2.1.23 | Keywords: | patch |
| Cc: | Tracforge_linkmap: | ||
| Blocking: | Blocked By: |
Description
In order to build jabberd-2.1.23 we had to patch it a little.
- configure.ac changes
- Check for stdarg.h in configure.
- Remove AC_PROG_GCC_TRADITIONAL (obsolete).
- Remove AC_FUNC_MALLOC, AC_FUNC_REALLOC - if they find malloc(0) does not return a valid pointer malloc will be defined to rpl_malloc, and no rpl_malloc is available. See http://www.gnu.org/software/autoconf/manual/autoconf.html#Particular-Functions
- Seems easier to use AC_SEARCH_LIBS for inet_ntop etc.
- Move the broken __ss_family check so that it appears after the check for struct sockaddr_storage.
- Check for socklen_t
- Fix --enable-pgsql
- util/sha1.h: include inttypes.h instead of stdlib.h as it is more universally available.
- acinclude.m4: TYPE_SOCKLEN_T check
- subst/subst.h: include <stdarg.h> if available.
- mio/mio.h: include "util/inaddr.h" for socklen_t ss_family etc etc.
- c2s/c2s.c: Variable declarations not at beginning of block.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
