diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-11-03 03:31:08 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-11-03 08:59:53 +0100 |
commit | 642e439a17df32296874acb62b85fcb1e11b5ba0 (patch) | |
tree | 749619caa261bd89896b4e53fe7b0883f1699af5 /source | |
parent | aa634efe5a78c33a306ff44591590c32d829de80 (diff) | |
download | current-642e439a17df32296874acb62b85fcb1e11b5ba0.tar.gz |
Tue Nov 3 03:31:08 UTC 202020201103033108
ap/man-pages-5.09-noarch-1.txz: Upgraded.
d/mercurial-5.6-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source')
-rwxr-xr-x | source/ap/man-pages/man-pages.SlackBuild | 6 | ||||
-rwxr-xr-x | source/d/mercurial/mercurial.SlackBuild | 2 | ||||
-rwxr-xr-x | source/l/libical/libical.SlackBuild | 6 | ||||
-rw-r--r-- | source/l/libical/libical.true.false.diff | 17 | ||||
-rwxr-xr-x | source/l/qt5-webkit/qt5-webkit.SlackBuild | 11 | ||||
-rw-r--r-- | source/l/qt5-webkit/qt5-webkit.icu68_1.diff | 34 | ||||
-rwxr-xr-x | source/n/php/php.SlackBuild | 9 | ||||
-rw-r--r-- | source/n/php/php.icu_68_1.diff | 101 |
8 files changed, 16 insertions, 170 deletions
diff --git a/source/ap/man-pages/man-pages.SlackBuild b/source/ap/man-pages/man-pages.SlackBuild index 168a4cb6..278d1718 100755 --- a/source/ap/man-pages/man-pages.SlackBuild +++ b/source/ap/man-pages/man-pages.SlackBuild @@ -23,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=man-pages -VERSION=${VERSION:-$(echo man-pages-5.*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +VERSION=${VERSION:-$(echo man-pages-5.*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} ARCH=noarch BUILD=${BUILD:-1} @@ -43,8 +43,8 @@ mkdir -p $TMP $PKG cd $TMP rm -rf man-pages-$VERSION -tar xvf $CWD/man-pages-$VERSION.tar.xz -tar xvf $CWD/man-pages-posix-2013-a.tar.xz +tar xvf $CWD/man-pages-$VERSION.tar.?z +tar xvf $CWD/man-pages-posix-2013-a.tar.?z echo "Fixing permissions..." chown -R root:root man-pages-$VERSION man-pages-posix-2013-a chmod -R a-s,u+rw,go+r-w man-pages-$VERSION man-pages-posix-2013-a diff --git a/source/d/mercurial/mercurial.SlackBuild b/source/d/mercurial/mercurial.SlackBuild index a300da73..5074b56a 100755 --- a/source/d/mercurial/mercurial.SlackBuild +++ b/source/d/mercurial/mercurial.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=mercurial VERSION=${VERSION:-$(echo mercurial-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then diff --git a/source/l/libical/libical.SlackBuild b/source/l/libical/libical.SlackBuild index 85589cc7..64225acc 100755 --- a/source/l/libical/libical.SlackBuild +++ b/source/l/libical/libical.SlackBuild @@ -86,13 +86,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -zcat $CWD/libical.true.false.diff.gz | patch -p1 --verbose || exit 1 +# -DU_DEFINE_FALSE_AND_TRUE=1 since recent icu4c no longer defines these otherwise. mkdir build cd build cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -DU_DEFINE_FALSE_AND_TRUE=1" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -DU_DEFINE_FALSE_AND_TRUE=1" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DMAN_INSTALL_DIR=/usr/man \ -DSYSCONF_INSTALL_DIR=/etc \ diff --git a/source/l/libical/libical.true.false.diff b/source/l/libical/libical.true.false.diff deleted file mode 100644 index c1dda350..00000000 --- a/source/l/libical/libical.true.false.diff +++ /dev/null @@ -1,17 +0,0 @@ ---- ./src/libical/icalrecur.c.orig 2020-03-07 08:42:42.000000000 -0600 -+++ ./src/libical/icalrecur.c 2020-10-30 03:56:12.509914568 -0500 -@@ -142,6 +142,14 @@ - #include <stddef.h> /* For offsetof() macro */ - #include <stdlib.h> - -+#ifndef FALSE -+#define FALSE (0) -+#endif -+ -+#ifndef TRUE -+#define TRUE (!FALSE) -+#endif -+ - #if defined(HAVE_LIBICU) - #include <unicode/ucal.h> - #include <unicode/ustring.h> diff --git a/source/l/qt5-webkit/qt5-webkit.SlackBuild b/source/l/qt5-webkit/qt5-webkit.SlackBuild index 6717b45b..9f56e5c9 100755 --- a/source/l/qt5-webkit/qt5-webkit.SlackBuild +++ b/source/l/qt5-webkit/qt5-webkit.SlackBuild @@ -97,15 +97,14 @@ else RELOCATIONS="" fi -# Fix for icu 68.1 no longer defining TRUE and FALSE externally: -zcat $CWD/qt5-webkit.icu68_1.diff.gz | patch -p1 --verbose || exit 1 - # Fix for bison 3.7.x: zcat $CWD/qt5-webkit.bison27.patch.gz | patch -p1 --verbose || exit 1 -export CFLAGS="$SLKCFLAGS" -export CXXFLAGS="$SLKCFLAGS -fpermissive -fno-strict-aliasing" -export OPENSOURCE_CXXFLAGS="$SLKCFLAGS -fpermissive -fno-strict-aliasing" +# -DU_DEFINE_FALSE_AND_TRUE=1 since recent icu4c no longer defines these otherwise. + +export CFLAGS="$SLKCFLAGS -DU_DEFINE_FALSE_AND_TRUE=1" +export CXXFLAGS="$SLKCFLAGS -fpermissive -fno-strict-aliasing -DU_DEFINE_FALSE_AND_TRUE=1" +export OPENSOURCE_CXXFLAGS="$SLKCFLAGS -fpermissive -fno-strict-aliasing -DU_DEFINE_FALSE_AND_TRUE=1" export QTDIR="/usr/lib$LIBDIRSUFFIX/qt5" export LD_LIBRARY_PATH="${QTDIR}/qtbase/lib:${QTDIR}/qttools/lib:${LD_LIBRARY_PATH}" diff --git a/source/l/qt5-webkit/qt5-webkit.icu68_1.diff b/source/l/qt5-webkit/qt5-webkit.icu68_1.diff deleted file mode 100644 index c15d33aa..00000000 --- a/source/l/qt5-webkit/qt5-webkit.icu68_1.diff +++ /dev/null @@ -1,34 +0,0 @@ ---- ./Source/WebCore/platform/text/icu/UTextProvider.h.orig 2020-03-04 11:16:37.000000000 -0600 -+++ ./Source/WebCore/platform/text/icu/UTextProvider.h 2020-10-30 13:33:29.455998691 -0500 -@@ -28,6 +28,14 @@ - - #include <unicode/utext.h> - -+#ifndef FALSE -+#define FALSE (0) -+#endif -+ -+#ifndef TRUE -+#define TRUE (!FALSE) -+#endif -+ - namespace WebCore { - - enum class UTextProviderContext { ---- ./Source/WebCore/platform/text/TextCodecICU.cpp.orig 2020-03-04 11:16:37.000000000 -0600 -+++ ./Source/WebCore/platform/text/TextCodecICU.cpp 2020-10-30 13:34:33.196995165 -0500 -@@ -39,6 +39,14 @@ - #include <wtf/text/StringBuilder.h> - #include <wtf/unicode/CharacterNames.h> - -+#ifndef FALSE -+#define FALSE (0) -+#endif -+ -+#ifndef TRUE -+#define TRUE (!FALSE) -+#endif -+ - namespace WebCore { - - const size_t ConversionBufferSize = 16384; diff --git a/source/n/php/php.SlackBuild b/source/n/php/php.SlackBuild index d842f3be..2e00ce2e 100755 --- a/source/n/php/php.SlackBuild +++ b/source/n/php/php.SlackBuild @@ -155,9 +155,6 @@ zcat $CWD/php-fpm.conf.diff.gz | patch -p1 --verbose || exit 1 # Fix for imap API change: zcat $CWD/php.imap.api.diff.gz | patch -p1 --verbose || exit 1 -# Fix for icu 68.1 no longer defining TRUE and FALSE externally: -zcat $CWD/php.icu_68_1.diff.gz | patch -p1 --verbose || exit 1 - # Install the build folder into /usr/lib$LIBDIRSUFFIX/php/build # and adapt phpize accordingly: sed -i "s|build$|php/build|" scripts/Makefile.frag @@ -167,11 +164,13 @@ sed -i "s|build\"$|php/build\"|" scripts/phpize.in # requirement. See the link below: # http://site.icu-project.org/download/61#TOC-Migration-Issues +# -DU_DEFINE_FALSE_AND_TRUE=1 since recent icu4c no longer defines these otherwise. + # Generic "kitchen sink" configure function, with as many things as possible (and # maybe then some ;-) compiled as shared extensions: EXTENSION_DIR=/usr/lib${LIBDIRSUFFIX}/php/extensions \ -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS -DU_USING_ICU_NAMESPACE=1" \ +CFLAGS="$SLKCFLAGS -DU_DEFINE_FALSE_AND_TRUE=1" \ +CXXFLAGS="$SLKCFLAGS -DU_USING_ICU_NAMESPACE=1 -DU_DEFINE_FALSE_AND_TRUE=1" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ diff --git a/source/n/php/php.icu_68_1.diff b/source/n/php/php.icu_68_1.diff deleted file mode 100644 index 95e0c8b0..00000000 --- a/source/n/php/php.icu_68_1.diff +++ /dev/null @@ -1,101 +0,0 @@ ---- ./ext/intl/timezone/timezone_class.cpp.orig 2020-10-27 10:01:59.000000000 -0500 -+++ ./ext/intl/timezone/timezone_class.cpp 2020-10-30 04:10:46.429866229 -0500 -@@ -37,6 +37,14 @@ - #include <ext/date/php_date.h> - } - -+#ifndef FALSE -+#define FALSE (0) -+#endif -+ -+#ifndef TRUE -+#define TRUE (!FALSE) -+#endif -+ - using icu::Calendar; - - /* {{{ Global variables */ ---- ./ext/intl/timezone/timezone_methods.cpp.orig 2020-10-27 10:01:59.000000000 -0500 -+++ ./ext/intl/timezone/timezone_methods.cpp 2020-10-30 04:11:06.722865106 -0500 -@@ -38,6 +38,14 @@ - } - #include "common/common_enum.h" - -+#ifndef FALSE -+#define FALSE (0) -+#endif -+ -+#ifndef TRUE -+#define TRUE (!FALSE) -+#endif -+ - using icu::Locale; - using icu::Calendar; - ---- ./ext/intl/normalizer/normalizer_normalize.c.orig 2020-10-27 10:01:59.000000000 -0500 -+++ ./ext/intl/normalizer/normalizer_normalize.c 2020-10-30 04:09:56.149869010 -0500 -@@ -30,6 +30,13 @@ - #include "intl_convert.h" - #include <unicode/utf8.h> - -+#ifndef FALSE -+#define FALSE (0) -+#endif -+ -+#ifndef TRUE -+#define TRUE (!FALSE) -+#endif - - #if U_ICU_VERSION_MAJOR_NUM >= 56 - static const UNormalizer2 *intl_get_normalizer(zend_long form, UErrorCode *err) ---- ./ext/intl/collator/collator_sort.c.orig 2020-10-27 10:01:59.000000000 -0500 -+++ ./ext/intl/collator/collator_sort.c 2020-10-30 04:09:12.468871426 -0500 -@@ -26,6 +26,14 @@ - #include "collator_convert.h" - #include "intl_convert.h" - -+#ifndef FALSE -+#define FALSE (0) -+#endif -+ -+#ifndef TRUE -+#define TRUE (!FALSE) -+#endif -+ - #if !defined(HAVE_PTRDIFF_T) && !defined(_PTRDIFF_T_DEFINED) - typedef zend_long ptrdiff_t; - #endif ---- ./ext/intl/dateformat/dateformat_attr.c.orig 2020-10-27 10:01:59.000000000 -0500 -+++ ./ext/intl/dateformat/dateformat_attr.c 2020-10-30 04:10:23.069867521 -0500 -@@ -26,6 +26,14 @@ - #include <unicode/ustring.h> - #include <unicode/udat.h> - -+#ifndef FALSE -+#define FALSE (0) -+#endif -+ -+#ifndef TRUE -+#define TRUE (!FALSE) -+#endif -+ - /* {{{ proto unicode IntlDateFormatter::getDateType( ) - * Get formatter datetype. }}} */ - /* {{{ proto string datefmt_get_datetype( IntlDateFormatter $mf ) ---- ./ext/intl/breakiterator/codepointiterator_internal.cpp.orig 2020-10-27 10:01:59.000000000 -0500 -+++ ./ext/intl/breakiterator/codepointiterator_internal.cpp 2020-10-30 04:11:32.563863677 -0500 -@@ -27,6 +27,14 @@ - void *t3; - } UAlignedMemory; - -+#ifndef FALSE -+#define FALSE (0) -+#endif -+ -+#ifndef TRUE -+#define TRUE (!FALSE) -+#endif -+ - #define U_POINTER_MASK_LSB(ptr, mask) (((ptrdiff_t)(char *)(ptr)) & (mask)) - #define U_ALIGNMENT_OFFSET(ptr) U_POINTER_MASK_LSB(ptr, sizeof(UAlignedMemory) - 1) - #define U_ALIGNMENT_OFFSET_UP(ptr) (sizeof(UAlignedMemory) - U_ALIGNMENT_OFFSET(ptr)) |