commit 0a125450b4660f1979120cf74f9a3d56c9614ab3
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
science/gqrx: version 2.3.2
commit f79f21aabb5c9b3972b4bfe82a9460585b994ce6
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
perl-cpan/inline: version 0.80
commit 39d90328f7bba826606499ebb9c06878f5e7e222
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
graphics/graphicsmagick: version 1.3.22
commit 16eb8db1307e0aab149fb338bfebbfb8fab8b6d9
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
perl-cpan/mime-base64: version 3.15
commit 812dd53ae1a155ed89d9a1471ab16b4ab8083158
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
perl-cpan/db_file: version 1.835
commit 646dac2c6a1c9a5dfe1b9e397be29ddc9f305beb
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
perl-cpan/digest-md5: version 2.54
commit 4bbe3e0f40ea9a79b7eacee7f1596be9cba11500
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
editors/vim: version 7.4.888
commit 9fed2fb6ee1e0a438d381955423c829083b21873
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
doc/man-pages: version 4.02
commit cade1240a6d26098a9e44209c3d8bd586f555363
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
http/palemoon: relax requirements wtr nss
commit 12047e7ce5d74e4fb353d75f89b52b43495708ec
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
chat-im/mcabber: version 1.0.0
commit 993e83045be58f13df851fc35fce4b7ec3d94aab
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
chat-libs/loudmouth: fix build error due to missing space in CFLAGS
commit 447c0eeea64e9172340835f1a5825b5201280a4f
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
libs/libgdiplus: version 3.12
commit 8a6d8f9bfe13254d7eccdbd6d9e8200d3c7d5b99
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
utils/yubikey-personalization-gui: new spell, a GUI front-end for
yubikey-personalization
commit 18b55a1e9768e3b191eb83c258bad91f062ad230
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
utils/qtpass: new spell, a qt front-end for password-store
commit 06b5cd2a8c84312b1712192c6fbc7a5f2fdff301
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
utils/yubikey-personalization: new spell, YubiKey Personalization
cross-platform library and tool
commit f952bb17f85962dcc8d48a4c40151da35fe7da06
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
libs/yubico-c: new spell, low-level C software development kit for the
Yubico YubiKey
commit f68715e29ab611fca969349f4f219695f430ba0f
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
utils/usbutils: removed PROVIDES
commit 9d627ce2644de9711a2905058d1f5ca1812c51f7
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
utils/hwdata: version 0.281
diff --git a/ChangeLog b/ChangeLog
index 5ca3bc8..f638ba1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -36,6 +36,15 @@
* kde5-libs/purpose: added, Quickshare support library
* kde5-apps/kamos: added, take pictures and videos with your webcam
+2015-09-21 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * libs/yubico-c: new spell, low-level C software development kit for
the
+ Yubico YubiKey
+ * utils/yubikey-personalization: new spell, YubiKey Personalization
+ cross-platform library and tool
+ * utils/qtpass: new spell, a qt front-end for password-store
+ * utils/yubikey-personalization-gui: new spell, a GUI front-end for
+ yubikey-personalization
+
2015-09-20 Treeve Jelbert <treeve AT sourcemage.org>
* kde5-libs/kpmcore: new spell, extracted from partitionmanager
diff --git a/chat-im/mcabber/DETAILS b/chat-im/mcabber/DETAILS
index 16f19da..20414d6 100755
--- a/chat-im/mcabber/DETAILS
+++ b/chat-im/mcabber/DETAILS
@@ -1,5 +1,5 @@
SPELL=mcabber
- VERSION=0.10.3
+ VERSION=1.0.0
SOURCE="${SPELL}-${VERSION}.tar.bz2"
SOURCE2=$SOURCE.asc
SOURCE_URL[0]=http://mcabber.com/files/${SOURCE}
diff --git a/chat-im/mcabber/HISTORY b/chat-im/mcabber/HISTORY
index c8290ff..bd6b724 100644
--- a/chat-im/mcabber/HISTORY
+++ b/chat-im/mcabber/HISTORY
@@ -1,3 +1,6 @@
+2015-09-22 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DETAILS: version 1.0.0
+
2014-05-09 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 0.10.3; converted to upstream signature
checking
diff --git a/chat-libs/loudmouth/BUILD b/chat-libs/loudmouth/BUILD
index 22184bd..f6fd9cd 100755
--- a/chat-libs/loudmouth/BUILD
+++ b/chat-libs/loudmouth/BUILD
@@ -1 +1 @@
-CFLAGS+="-Wno-error=deprecated-declarations" default_build
+CFLAGS+=" -Wno-error=deprecated-declarations" default_build
diff --git a/chat-libs/loudmouth/HISTORY b/chat-libs/loudmouth/HISTORY
index ab93fdc..6d75c21 100644
--- a/chat-libs/loudmouth/HISTORY
+++ b/chat-libs/loudmouth/HISTORY
@@ -1,5 +1,9 @@
+2015-09-22 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DETAILS: add missing space in CFLAGS
+ * PRE_BUILD: run libtoolize
+
2014-08-19 Treeve Jelbert <treeve AT sourcemage.org>
- * DEPENDS: openssl => SSL
+ * DEPENDS: openssl => SSL
SOURCE_URL[0]=https://git.fedorahosted.org/cgit/hwdata.git/snapshot/$SOURCE
diff --git a/utils/hwdata/HISTORY b/utils/hwdata/HISTORY
index f221d34..e1fac48 100644
--- a/utils/hwdata/HISTORY
+++ b/utils/hwdata/HISTORY
@@ -1,3 +1,10 @@
+2015-09-18 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DETAILS: version 0.281
+ * BUILD: create Makefile.inc
+ * PRE_BUILD,
+ 0001-remove-invocation-of-git-remove-exit-1-at-end-of-Mak.patch:
+ fix build failure
+
2015-09-02 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 0.280 (snapshot)
* DEPENDS: deleted
diff --git a/utils/hwdata/PRE_BUILD b/utils/hwdata/PRE_BUILD
new file mode 100755
index 0000000..c62571d
--- /dev/null
+++ b/utils/hwdata/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+
+patch -p1 <
${SPELL_DIRECTORY}/0001-remove-invocation-of-git-remove-exit-1-at-end-of-Mak.patch
diff --git a/utils/qtpass/BUILD b/utils/qtpass/BUILD
new file mode 100755
index 0000000..eec3de4
--- /dev/null
+++ b/utils/qtpass/BUILD
@@ -0,0 +1 @@
+qt4_build
diff --git a/utils/qtpass/DEPENDS b/utils/qtpass/DEPENDS
new file mode 100755
index 0000000..ec741b6
--- /dev/null
+++ b/utils/qtpass/DEPENDS
@@ -0,0 +1,4 @@
+depends qt4 &&
+depends -sub CXX gcc &&
+depends sqlite &&
+depends password-store
diff --git a/utils/qtpass/DETAILS b/utils/qtpass/DETAILS
new file mode 100755
index 0000000..fff1405
--- /dev/null
+++ b/utils/qtpass/DETAILS
@@ -0,0 +1,13 @@
+ SPELL=qtpass
+ VERSION=1.0.1
+ SOURCE="$SPELL-${VERSION}.tar.gz"
+
SOURCE_URL[0]=https://github.com/IJHack/${SPELL}/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:197875a072ab0d7dda28e2db2f96a99569bc64a1b735c1be3f663e6f2d8bf16f7a069afbbeae8baf19075f6e2f3df827d0d50ff66da4d9e2196d0279193d9ebf
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="https://qtpass.org/"
+ LICENSE[0]=GPL
+ ENTERED=20150921
+ SHORT="a GUI for password-store"
+cat << EOF
+QtPass is a multi-platform GUI for pass, the standard unix password manager.
+EOF
diff --git a/utils/qtpass/HISTORY b/utils/qtpass/HISTORY
new file mode 100644
index 0000000..b192185
--- /dev/null
+++ b/utils/qtpass/HISTORY
@@ -0,0 +1,3 @@
+2015-09-21 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS, INSTALL: spell created
+
diff --git a/utils/qtpass/INSTALL b/utils/qtpass/INSTALL
new file mode 100755
index 0000000..b857f91
--- /dev/null
+++ b/utils/qtpass/INSTALL
@@ -0,0 +1 @@
+install -m755 "${SOURCE_DIRECTORY}/qtpass" "${INSTALL_ROOT}/usr/bin/"
diff --git a/utils/usbutils/HISTORY b/utils/usbutils/HISTORY
index 9836a90..ef7e2d2 100644
--- a/utils/usbutils/HISTORY
+++ b/utils/usbutils/HISTORY
@@ -1,3 +1,6 @@
+2015-09-18 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * PROVIDES: removed, usbutils does not install usb.ids anymore
+
2015-09-05 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DEPENDS: fix typo
diff --git a/utils/usbutils/PROVIDES b/utils/usbutils/PROVIDES
deleted file mode 100755
index 65f0ea5..0000000
--- a/utils/usbutils/PROVIDES
+++ /dev/null
@@ -1 +0,0 @@
-USBIDS
diff --git a/utils/yubikey-personalization-gui/BUILD
b/utils/yubikey-personalization-gui/BUILD
new file mode 100755
index 0000000..eec3de4
--- /dev/null
+++ b/utils/yubikey-personalization-gui/BUILD
@@ -0,0 +1 @@
+qt4_build
diff --git a/utils/yubikey-personalization-gui/DEPENDS
b/utils/yubikey-personalization-gui/DEPENDS
new file mode 100755
index 0000000..3457f9f
--- /dev/null
+++ b/utils/yubikey-personalization-gui/DEPENDS
@@ -0,0 +1,4 @@
+depends libusb &&
+depends qt4 &&
+depends yubikey-personalization &&
+depends yubico-c
diff --git a/utils/yubikey-personalization-gui/DETAILS
b/utils/yubikey-personalization-gui/DETAILS
new file mode 100755
index 0000000..166ec2a
--- /dev/null
+++ b/utils/yubikey-personalization-gui/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=yubikey-personalization-gui
+ VERSION=3.1.21
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=https://github.com/Yubico/${SPELL}/archive/${SOURCE}
+
SOURCE_HASH=sha512:752ddc6bb8f67dd150719cf6979c1d5464c0a767aa75d6bcc0bdcb9168379b1a88de1a19808e3e3adfaba8f3e42415235975ecad2f9e7c63b55640b986b17961
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${SPELL}-${VERSION}"
+ WEB_SITE="https://github.com/Yubico/yubikey-personalization-gui"
+ LICENSE[0]=BSD
+ ENTERED=20150921
+ SHORT="a GUI for reconfiguring the YubiKeys"
+cat << EOF
+The YubiKey Personalization Tool is a Qt based Cross-Platform utility
designed
+to facilitate re-configuration of YubiKeys on Windows, Linux and Mac
platforms.
+The tool provides a same simple step-by-step approach to make configuration
+of YubiKeys easy to follow and understand, while still being powerful enough
+to exploit all functionality both of the YubiKey 1 and YubiKey 2 generation
+of keys.
+EOF
diff --git a/utils/yubikey-personalization-gui/HISTORY
b/utils/yubikey-personalization-gui/HISTORY
new file mode 100644
index 0000000..c65b1f8
--- /dev/null
+++ b/utils/yubikey-personalization-gui/HISTORY
@@ -0,0 +1,3 @@
+2015-09-21 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS: spell created
+
diff --git a/utils/yubikey-personalization-gui/INSTALL
b/utils/yubikey-personalization-gui/INSTALL
new file mode 100755
index 0000000..f08b303
--- /dev/null
+++ b/utils/yubikey-personalization-gui/INSTALL
@@ -0,0 +1 @@
+install -m755
"${SOURCE_DIRECTORY}/build/release/yubikey-personalization-gui"
"${INSTALL_ROOT}/usr/bin/"
diff --git a/utils/yubikey-personalization/DEPENDS
b/utils/yubikey-personalization/DEPENDS
new file mode 100755
index 0000000..190a600
--- /dev/null
+++ b/utils/yubikey-personalization/DEPENDS
@@ -0,0 +1,9 @@
+depends automake &&
+depends autoconf &&
+
+depends yubico-c &&
+depends libusb &&
+optional_depends json-c \
+ "--with-json" \
+ "--without-json" \
+ "for JSON YCFG support"
diff --git a/utils/yubikey-personalization/DETAILS
b/utils/yubikey-personalization/DETAILS
new file mode 100755
index 0000000..bd1a7a6
--- /dev/null
+++ b/utils/yubikey-personalization/DETAILS
@@ -0,0 +1,14 @@
+ SPELL=yubikey-personalization
+ VERSION=1.17.1
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+
SOURCE_URL[0]=https://github.com/Yubico/${SPELL}/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha512:1a90e630fbb0bb9ee50db26ac37f98f227ea7fe8a50603229462df3cf8976630bb49d31c45fea6016534e0a564c4a8df74d1671c47f960a8feb38d706619b9ed
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="https://github.com/Yubico/yubikey-personalization"
+ LICENSE[0]=BSD
+ ENTERED=20150921
+ SHORT="a library and command line tool used to personalize
YubiKeys"
+cat << EOF
+The YubiKey Personalization package contains a library and command line tool
+used to personalize (i.e., set a AES key) YubiKeys.
+EOF
diff --git a/utils/yubikey-personalization/HISTORY
b/utils/yubikey-personalization/HISTORY
new file mode 100644
index 0000000..6d706c9
--- /dev/null
+++ b/utils/yubikey-personalization/HISTORY
@@ -0,0 +1,3 @@
+2015-09-21 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DEPENDS, DETAILS, PRE_BUILD: spell created
+
diff --git a/utils/yubikey-personalization/PRE_BUILD
b/utils/yubikey-personalization/PRE_BUILD
new file mode 100755
index 0000000..766adee
--- /dev/null
+++ b/utils/yubikey-personalization/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+
+autoreconf --install
diff --git a/video/kodi/DETAILS b/video/kodi/DETAILS
index 3d3df02..6263dc5 100755
--- a/video/kodi/DETAILS
+++ b/video/kodi/DETAILS
@@ -1,11 +1,11 @@
SPELL=kodi
- VERSION=15.1
+ VERSION=15.2
SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCEX="${VERSION}-Isengard.tar.gz"
SOURCE_HINTS="no-check-certificate"
SOURCE_URL[0]=http://mirrors.${SPELL}.tv/releases/source/${SOURCEX}
SOURCE_URL[1]=https://github.com/xbmc/xbmc/archive/${SOURCEX}
-
SOURCE_HASH=sha512:b597253aa51d3d446ecb85ffe163362b5e55717d6fee16eab81725b9cdf0a5a9e4a2291aa526b9e63fbb34ef206100df30c9368684e2ddedc49e35f140d604f0
+
SOURCE_HASH=sha512:870f67b83aaa96b1a4111f34824eb47c24616d067adf930f4456ca8f1ac57052c41aa73915304ea85b1d10390865b88d88c85e6cd425b42ec5a504908adf4b67
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/xbmc-${VERSION}-Isengard"
WEB_SITE="http://kodi.tv"
LICENSE[0]=GPL
diff --git a/video/kodi/HISTORY b/video/kodi/HISTORY
index e8d479a..02811a8 100644
--- a/video/kodi/HISTORY
+++ b/video/kodi/HISTORY
@@ -1,3 +1,7 @@
+2015-10-25 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * DETAILS: version 15.2
+ * PRE_BUILD, kodi-15.1-gcc-5.patch: remove obsolete patch
+
2015-09-05 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DEPENDS: require STL sub dependency for tinyxml, make dependency on
glew
mandatory
diff --git a/video/kodi/PRE_BUILD b/video/kodi/PRE_BUILD
index 0a91412..8d0a04a 100755
--- a/video/kodi/PRE_BUILD
+++ b/video/kodi/PRE_BUILD
@@ -1,5 +1,4 @@
default_pre_build &&
cd ${SOURCE_DIRECTORY} &&
patch -p0 < $SPELL_DIRECTORY/kodi-15.1-texturepacker.patch &&
-patch -p1 < $SPELL_DIRECTORY/kodi-15.1-gcc-5.patch &&
./bootstrap
diff --git a/video/kodi/kodi-15.1-gcc-5.patch
b/video/kodi/kodi-15.1-gcc-5.patch
deleted file mode 100644
index b96cc82..0000000
--- a/video/kodi/kodi-15.1-gcc-5.patch
+++ /dev/null
@@ -1,172 +0,0 @@
-fix from upstream
-
-From 38693b251f5d80a7414b077e02c1636af65afb3d Mon Sep 17 00:00:00 2001
-From: Craig Andrews <candrews AT integralblue.com>
-Date: Thu, 30 Jul 2015 23:06:41 -0400
-Subject: [PATCH] [rsxs] Use stdbool.h from GCC 5.2.0
-
----
- xbmc/screensavers/rsxs-0.9/lib/stdbool_.h | 137
+++++++++---------------------
- 1 file changed, 38 insertions(+), 99 deletions(-)
-
-diff --git a/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h
b/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h
-index efa80ba..a951510 100644
---- a/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h
-+++ b/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h
-@@ -1,115 +1,54 @@
--/* Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc.
-- Written by Bruno Haible <haible AT clisp.cons.org>, 2001.
-+/* Copyright (C) 1998-2015 Free Software Foundation, Inc.
-
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2, or (at your option)
-- any later version.
-+This file is part of GCC.
-
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
-+GCC is free software; you can redistribute it and/or modify
-+it under the terms of the GNU General Public License as published by
-+the Free Software Foundation; either version 3, or (at your option)
-+any later version.
-
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software Foundation,
-- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-+GCC is distributed in the hope that it will be useful,
-+but WITHOUT ANY WARRANTY; without even the implied warranty of
-+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+GNU General Public License for more details.
-
--#ifndef _STDBOOL_H
--#define _STDBOOL_H
--
--/* ISO C 99 <stdbool.h> for platforms that lack it. */
--
--/* Usage suggestions:
--
-- Programs that use <stdbool.h> should be aware of some limitations
-- and standards compliance issues.
--
-- Standards compliance:
-+Under Section 7 of GPL version 3, you are granted additional
-+permissions described in the GCC Runtime Library Exception, version
-+3.1, as published by the Free Software Foundation.
-
-- - <stdbool.h> must be #included before 'bool', 'false', 'true'
-- can be used.
-+You should have received a copy of the GNU General Public License and
-+a copy of the GCC Runtime Library Exception along with this program;
-+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
-+<http://www.gnu.org/licenses/>. */
-
-- - You cannot assume that sizeof (bool) == 1.
-+/*
-+ * ISO C Standard: 7.16 Boolean type and values <stdbool.h>
-+ */
-
-- - Programs should not undefine the macros bool, true, and false,
-- as C99 lists that as an "obsolescent feature".
--
-- Limitations of this substitute, when used in a C89 environment:
--
-- - <stdbool.h> must be #included before the '_Bool' type can be used.
--
-- - You cannot assume that _Bool is a typedef; it might be a macro.
-+#ifndef _STDBOOL_H
-+#define _STDBOOL_H
-
-- - In C99, casts and automatic conversions to '_Bool' or 'bool' are
-- performed in such a way that every nonzero value gets converted
-- to 'true', and zero gets converted to 'false'. This doesn't work
-- with this substitute. With this substitute, only the values 0 and
1
-- give the expected result when converted to _Bool' or 'bool'.
-+#ifndef __cplusplus
-
-- Also, it is suggested that programs use 'bool' rather than '_Bool';
-- this isn't required, but 'bool' is more common. */
-+#define bool _Bool
-+#define true 1
-+#define false 0
-
-+#else /* __cplusplus */
-
--/* 7.16. Boolean type and values */
-+/* Supporting _Bool in C++ is a GCC extension. */
-+#define _Bool bool
-
--/* BeOS <sys/socket.h> already #defines false 0, true 1. We use the same
-- definitions below, but temporarily we have to #undef them. */
--#ifdef __BEOS__
--# include <OS.h> /* defines bool but not _Bool */
--# undef false
--# undef true
-+#if __cplusplus < 201103L
-+/* Defining these macros in C++98 is a GCC extension. */
-+#define bool bool
-+#define false false
-+#define true true
- #endif
-
--/* For the sake of symbolic names in gdb, we define true and false as
-- enum constants, not only as macros.
-- It is tempting to write
-- typedef enum { false = 0, true = 1 } _Bool;
-- so that gdb prints values of type 'bool' symbolically. But if we do
-- this, values of type '_Bool' may promote to 'int' or 'unsigned int'
-- (see ISO C 99 6.7.2.2.(4)); however, '_Bool' must promote to 'int'
-- (see ISO C 99 6.3.1.1.(2)). So we add a negative value to the
-- enum; this ensures that '_Bool' promotes to 'int'. */
--#if defined __cplusplus || defined __BEOS__
-- /* A compiler known to have 'bool'. */
-- /* If the compiler already has both 'bool' and '_Bool', we can assume they
-- are the same types. */
--# if !@HAVE__BOOL@
--typedef bool _Bool;
--# endif
--#else
--# if !defined __GNUC__
-- /* If @HAVE__BOOL@:
-- Some HP-UX cc and AIX IBM C compiler versions have compiler bugs
when
-- the built-in _Bool type is used. See
-- http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
-- http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
-- http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
-- Similar bugs are likely with other compilers as well; this file
-- wouldn't be used if <stdbool.h> was working.
-- So we override the _Bool type.
-- If !@HAVE__BOOL@:
-- Need to define _Bool ourselves. As 'signed char' or as an enum type?
-- Use of a typedef, with SunPRO C, leads to a stupid
-- "warning: _Bool is a keyword in ISO C99".
-- Use of an enum type, with IRIX cc, leads to a stupid
-- "warning(1185): enumerated type mixed with another type".
-- The only benefit of the enum type, debuggability, is not important
-- with these compilers. So use 'signed char' and no typedef. */
--# define _Bool signed char
--enum { false = 0, true = 1 };
--# else
-- /* With this compiler, trust the _Bool type if the compiler has it. */
--# if !@HAVE__BOOL@
--typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool;
--# endif
--# endif
--#endif
--#define bool _Bool
-+#endif /* __cplusplus */
-
--/* The other macros must be usable in preprocessor directives. */
--#define false 0
--#define true 1
--#define __bool_true_false_are_defined 1
-+/* Signal that all the definitions are present. */
-+#define __bool_true_false_are_defined 1
-
--#endif /* _STDBOOL_H */
-+#endif /* stdbool.h */
---
-2.4.4
-
[SM-Commit] GIT changes to master grimoire by Florian Franzmann (2346f0bb1912600c2eb513bf833a8b4ff4d56a2d),
Florian Franzmann, 10/27/2015