diff options
author | Tommy Boatman | 2013-04-17 20:03:39 +0000 |
---|---|---|
committer | Tommy Boatman | 2013-04-17 20:03:39 +0000 |
commit | 7b46946a544693a40e5edf12c5565c60136cdacb (patch) | |
tree | f2828e813c250033ce8a286ac7db7ef9ac98c25b /telephony | |
parent | b5d8b6d85511dd01269efdab065d1412c33ef033 (diff) |
commoncpp2: 1.8.1, sys/stat.h patch from OpenSDE (Bug #190)
Diffstat (limited to 'telephony')
-rwxr-xr-x | telephony/commoncpp2/DETAILS | 4 | ||||
-rw-r--r-- | telephony/commoncpp2/HISTORY | 5 | ||||
-rwxr-xr-x | telephony/commoncpp2/PRE_BUILD | 3 | ||||
-rw-r--r-- | telephony/commoncpp2/sde-statfix.patch | 63 |
4 files changed, 73 insertions, 2 deletions
diff --git a/telephony/commoncpp2/DETAILS b/telephony/commoncpp2/DETAILS index e29d8cb134..a1b47afbb7 100755 --- a/telephony/commoncpp2/DETAILS +++ b/telephony/commoncpp2/DETAILS @@ -1,6 +1,6 @@ SPELL=commoncpp2 - VERSION=1.8.0 - SOURCE_HASH=sha512:2c4aafd7a0298534c908f2ea339cce158b745cc32dd3379eafe9f76ba5c2a4f7bf9d9f0d9d5fec3a4a41d559c28c07fef5773780e770623f60fb651cbb4e4804 + VERSION=1.8.1 + SOURCE_HASH=sha512:949823461d20429c2b0acfa22554a5a9dacc977e3ee097f34416f65d322df84fbdb27c644435c6c6caaed800347dfbe789cee7f19b39b306165c97b4f4012bfe SOURCE=$SPELL-$VERSION.tar.gz SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION SOURCE_URL[0]=$GNU_URL/commoncpp/$SOURCE diff --git a/telephony/commoncpp2/HISTORY b/telephony/commoncpp2/HISTORY index 92b41ebd86..6f661f40c5 100644 --- a/telephony/commoncpp2/HISTORY +++ b/telephony/commoncpp2/HISTORY @@ -1,3 +1,8 @@ +2013-04-17 Tommy Boatman <tboatman@sourcemage.org> + * DETAILS: version 1.8.1 + * sde-statfix.patch: Bug 190. Unreferenced functions now in + sys/stat.h + 2011-10-14 Bor Kraljič <pyrobor@ver.si> * DETAILS: fixed long description wrap (scripted) diff --git a/telephony/commoncpp2/PRE_BUILD b/telephony/commoncpp2/PRE_BUILD new file mode 100755 index 0000000000..2679f9b4db --- /dev/null +++ b/telephony/commoncpp2/PRE_BUILD @@ -0,0 +1,3 @@ +default_pre_build && +cd $SOURCE_DIRECTORY && +patch -p1 < $SPELL_DIRECTORY/sde-statfix.patch diff --git a/telephony/commoncpp2/sde-statfix.patch b/telephony/commoncpp2/sde-statfix.patch new file mode 100644 index 0000000000..7b97b1130f --- /dev/null +++ b/telephony/commoncpp2/sde-statfix.patch @@ -0,0 +1,63 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../commonc++/commoncpp2-1.8.1-statfix.patch +# Copyright (C) 2012 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +diff -Nur commoncpp2-1.8.1.orig/src/applog.cpp commoncpp2-1.8.1/src/applog.cpp +--- commoncpp2-1.8.1.orig/src/applog.cpp 2010-10-31 17:11:55.000000000 -0600 ++++ commoncpp2-1.8.1/src/applog.cpp 2012-01-22 19:23:13.639292789 -0700 +@@ -45,6 +45,7 @@ + #include <cstdlib> + #include <stdarg.h> + #include <errno.h> ++#include <sys/stat.h> + + // TODO sc: test if has to move up now that it is into commoncpp + // NOTE: the order of inclusion is important do not move following include line +@@ -297,7 +298,7 @@ + else + { + // create pipe +- int err = mkfifo(_nomeFile.c_str(), S_IREAD | S_IWRITE); ++ int err = mkfifo(_nomeFile.c_str(), S_IRUSR | S_IWUSR); + if (err == 0 || errno == EEXIST) + { + // and open it +@@ -342,7 +343,7 @@ + else + { + // create pipe +- int err = mkfifo(_nomeFile.c_str(), S_IREAD | S_IWRITE); ++ int err = mkfifo(_nomeFile.c_str(), S_IRUSR | S_IWUSR); + if (err == 0 || errno == EEXIST) + { + // and open it +@@ -456,7 +457,7 @@ + else + { + // create pipe +- int err = mkfifo(d->_nomeFile.c_str(), S_IREAD | S_IWRITE); ++ int err = mkfifo(d->_nomeFile.c_str(), S_IRUSR | S_IWUSR); + if (err == 0 || errno == EEXIST) + { + // and open it +@@ -562,7 +563,7 @@ + else + { + // create pipe +- int err = mkfifo(d->_nomeFile.c_str(), S_IREAD | S_IWRITE); ++ int err = mkfifo(d->_nomeFile.c_str(), S_IRUSR | S_IWUSR); + if (err == 0 || errno == EEXIST) + { + // and open it |