Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Tommy Boatman (7b46946a544693a40e5edf12c5565c60136cdacb)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Tommy Boatman <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Tommy Boatman (7b46946a544693a40e5edf12c5565c60136cdacb)
  • Date: Wed, 17 Apr 2013 15:11:08 -0500

GIT changes to master grimoire by Tommy Boatman <tboatman AT sourcemage.org>:

telephony/commoncpp2/DETAILS | 4 +-
telephony/commoncpp2/HISTORY | 5 ++
telephony/commoncpp2/PRE_BUILD | 3 +
telephony/commoncpp2/sde-statfix.patch | 63
+++++++++++++++++++++++++++++++++
4 files changed, 73 insertions(+), 2 deletions(-)

New commits:
commit 7b46946a544693a40e5edf12c5565c60136cdacb
Author: Tommy Boatman <tboatman AT sourcemage.org>
Commit: Tommy Boatman <tboatman AT sourcemage.org>

commoncpp2: 1.8.1, sys/stat.h patch from OpenSDE (Bug #190)

diff --git a/telephony/commoncpp2/DETAILS b/telephony/commoncpp2/DETAILS
index e29d8cb..a1b47af 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 92b41eb..6f661f4 100644
--- a/telephony/commoncpp2/HISTORY
+++ b/telephony/commoncpp2/HISTORY
@@ -1,3 +1,8 @@
+2013-04-17 Tommy Boatman <tboatman AT 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 AT 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 0000000..2679f9b
--- /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 0000000..7b97b11
--- /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



  • [SM-Commit] GIT changes to master grimoire by Tommy Boatman (7b46946a544693a40e5edf12c5565c60136cdacb), Tommy Boatman, 04/17/2013

Archive powered by MHonArc 2.6.24.

Top of Page