summaryrefslogtreecommitdiffstats
path: root/source/d
diff options
context:
space:
mode:
Diffstat (limited to 'source/d')
-rw-r--r--source/d/ccache/ccache.969a7d49d63f872b9c88661f432d4cfbfde074af.patch79
-rwxr-xr-xsource/d/ccache/ccache.SlackBuild2
-rwxr-xr-xsource/d/cmake/cmake.SlackBuild2
3 files changed, 1 insertions, 82 deletions
diff --git a/source/d/ccache/ccache.969a7d49d63f872b9c88661f432d4cfbfde074af.patch b/source/d/ccache/ccache.969a7d49d63f872b9c88661f432d4cfbfde074af.patch
deleted file mode 100644
index d332192b1..000000000
--- a/source/d/ccache/ccache.969a7d49d63f872b9c88661f432d4cfbfde074af.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 969a7d49d63f872b9c88661f432d4cfbfde074af Mon Sep 17 00:00:00 2001
-From: Joel Rosdahl <joel@rosdahl.net>
-Date: Wed, 2 Jan 2019 16:24:56 +0100
-Subject: [PATCH] Fix getopt_long.c compilation warning in an easier way
-
-Fixes #340 in an alternative way (see also #341).
----
- Makefile.in | 2 +-
- configure.ac | 5 -----
- dev.mk.in | 1 -
- src/getopt_long.c | 6 +++++-
- 4 files changed, 6 insertions(+), 8 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index 9e90755d..c113e815 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -51,7 +51,7 @@ non_3pp_sources = \
- generated_sources = \
- src/version.c
- 3pp_sources = \
-- @getopt_long_c@ \
-+ src/getopt_long.c \
- src/confitems_lookup.c \
- src/envtoconfitems_lookup.c \
- src/hashtable.c \
-diff --git a/configure.ac b/configure.ac
-index d354ee18..a2234127 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -18,7 +18,6 @@ esac
-
- AC_SUBST(disable_man)
- AC_SUBST(extra_libs)
--AC_SUBST(getopt_long_c)
- AC_SUBST(include_dev_mk)
- AC_SUBST(more_warnings)
- AC_SUBST(no_implicit_fallthrough_warning)
-@@ -91,10 +90,6 @@ AC_CHECK_FUNCS(strtok_r)
- AC_CHECK_FUNCS(unsetenv)
- AC_CHECK_FUNCS(utimes)
-
--if test x"$ac_cv_func_getopt_long" != x"yes"; then
-- getopt_long_c="src/getopt_long.c"
--fi
--
- AC_CACHE_CHECK([for compar_fn_t in stdlib.h],ccache_cv_COMPAR_FN_T, [
- AC_TRY_COMPILE(
- [#include <stdlib.h>],
-diff --git a/dev.mk.in b/dev.mk.in
-index f5ce8b18..26c2a2c6 100644
---- a/dev.mk.in
-+++ b/dev.mk.in
-@@ -92,7 +92,6 @@ source_dist_files = \
- src/confitems_lookup.c \
- src/envtoconfitems.gperf \
- src/envtoconfitems_lookup.c \
-- src/getopt_long.c \
- src/main.c \
- src/zlib/*.c \
- src/zlib/*.h \
-diff --git a/src/getopt_long.c b/src/getopt_long.c
-index 61141c23..3e321930 100644
---- a/src/getopt_long.c
-+++ b/src/getopt_long.c
-@@ -34,7 +34,11 @@
-
- #include "config.h"
-
--#ifndef HAVE_GETOPT_LONG
-+#ifdef HAVE_GETOPT_LONG
-+
-+typedef int do_not_warn_about_empty_compilation_unit;
-+
-+#else
-
- #include "getopt_long.h"
-
-
diff --git a/source/d/ccache/ccache.SlackBuild b/source/d/ccache/ccache.SlackBuild
index 25b0bc6c1..0b4b235fd 100755
--- a/source/d/ccache/ccache.SlackBuild
+++ b/source/d/ccache/ccache.SlackBuild
@@ -63,8 +63,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-zcat $CWD/ccache.969a7d49d63f872b9c88661f432d4cfbfde074af.patch.gz | patch -p1 --verbose || exit 1
-
./configure \
--prefix=/usr \
--mandir=/usr/man \
diff --git a/source/d/cmake/cmake.SlackBuild b/source/d/cmake/cmake.SlackBuild
index 9036e4cf1..b6849a14f 100755
--- a/source/d/cmake/cmake.SlackBuild
+++ b/source/d/cmake/cmake.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=cmake
VERSION=${VERSION:-$(echo $PKGNAM-*.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