diff options
author | Peng Chang (Charles) | 2009-08-08 15:15:58 +0800 |
---|---|---|
committer | Peng Chang (Charles) | 2009-08-08 15:15:58 +0800 |
commit | e067f9e093cbe9ca4fb19d7d02e2c005d6a5c763 (patch) | |
tree | 24ae0ced6186a9aca2231fb32e909fc823345a60 /chat-libs | |
parent | 8ff97e9965fff18197f90acd4e784fd2a0409bf0 (diff) |
loudmouth: strndup is in POSIX 2008, changed the macro for testing it
Diffstat (limited to 'chat-libs')
-rwxr-xr-x | chat-libs/loudmouth/BUILD | 2 | ||||
-rw-r--r-- | chat-libs/loudmouth/HISTORY | 4 | ||||
-rwxr-xr-x | chat-libs/loudmouth/PRE_BUILD | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/chat-libs/loudmouth/BUILD b/chat-libs/loudmouth/BUILD new file mode 100755 index 0000000000..d7d63bd24c --- /dev/null +++ b/chat-libs/loudmouth/BUILD @@ -0,0 +1,2 @@ +make_single && +default_build diff --git a/chat-libs/loudmouth/HISTORY b/chat-libs/loudmouth/HISTORY index ea3a46ae68..f529c613f4 100644 --- a/chat-libs/loudmouth/HISTORY +++ b/chat-libs/loudmouth/HISTORY @@ -1,3 +1,7 @@ +2009-08-08 Peng Chang (Charles) <chp@sourcemage.org> + * PRE_BUILD: the macro for testing strndup is changed + * BUILD: added make_single + 2009-03-25 George Sherwood <gsherwood@sourcemage.org> * DETAILS: Updated to version 1.5.0. Updated SOURCE_URL[0] diff --git a/chat-libs/loudmouth/PRE_BUILD b/chat-libs/loudmouth/PRE_BUILD new file mode 100755 index 0000000000..fce4a96e9e --- /dev/null +++ b/chat-libs/loudmouth/PRE_BUILD @@ -0,0 +1,6 @@ +default_pre_build && +cd $SOURCE_DIRECTORY && + +if [ $(installed_version glibc | cut -d. -f2) -gt 9 ]; then + sedit 's/HAVE_STRNDUP/__USE_XOPEN2K8/' loudmouth/asyncns.c +fi |