summaryrefslogtreecommitdiff
path: root/source/xap
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap')
-rw-r--r--source/xap/FTBFSlog4
-rwxr-xr-xsource/xap/gnuchess/gnuchess.SlackBuild10
-rwxr-xr-xsource/xap/seyon/seyon.SlackBuild4
3 files changed, 12 insertions, 6 deletions
diff --git a/source/xap/FTBFSlog b/source/xap/FTBFSlog
index 299f0871..f0a9f1eb 100644
--- a/source/xap/FTBFSlog
+++ b/source/xap/FTBFSlog
@@ -1,3 +1,7 @@
+Sat Jan 16 18:45:27 UTC 2021
+ gnuchess: add -fcommon to CFLAGS. Thanks to nobodino.
+ seyon: add -fcommon to CFLAGS. Thanks to nobodino.
++--------------------------+
Fri Jul 24 18:28:43 UTC 2020
mozilla-firefox: Patch for rust-1.45.0 related build failure.
mozilla-thunderbird: Patch for rust-1.45.0 related build failure.
diff --git a/source/xap/gnuchess/gnuchess.SlackBuild b/source/xap/gnuchess/gnuchess.SlackBuild
index 3c0b65aa..0937194d 100755
--- a/source/xap/gnuchess/gnuchess.SlackBuild
+++ b/source/xap/gnuchess/gnuchess.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2013, 2015, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2013, 2015, 2017, 2018, 2020, 2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -50,13 +50,13 @@ fi
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fcommon"
elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -fcommon"
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC -fcommon"
else
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -fcommon"
fi
TMP=${TMP:-/tmp}
diff --git a/source/xap/seyon/seyon.SlackBuild b/source/xap/seyon/seyon.SlackBuild
index 518dd992..e74da637 100755
--- a/source/xap/seyon/seyon.SlackBuild
+++ b/source/xap/seyon/seyon.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2002-2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2002-2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -92,6 +92,8 @@ sed -i "s/getline/seyon_getline/g" *
chmod 755 makever.sh
xmkmf
+# Add -fcommon to CFLAGS:
+sed -i -e 's/-fno-strict-aliasing/-fno-strict-aliasing -fcommon/' Makefile
make || exit 1
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/X11