summaryrefslogtreecommitdiff
path: root/development/sdcc
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2021-04-09 21:23:34 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-10 17:04:44 +0700
commitf0fa5abcefaf564e209aed601e5f8527c1a90d78 (patch)
tree28e736f1350eb431202e98d505e1b6cfd981c850 /development/sdcc
parent24b457bbd5cdcb803d844815869d47267a93907f (diff)
downloadslackbuilds-f0fa5abcefaf564e209aed601e5f8527c1a90d78.tar.gz
development/sdcc: Updated for version 4.1.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/sdcc')
-rw-r--r--development/sdcc/patches/source-tree.patch6
-rw-r--r--development/sdcc/sdcc.SlackBuild12
-rw-r--r--development/sdcc/sdcc.info6
3 files changed, 10 insertions, 14 deletions
diff --git a/development/sdcc/patches/source-tree.patch b/development/sdcc/patches/source-tree.patch
index 93c2798f75..521adef57c 100644
--- a/development/sdcc/patches/source-tree.patch
+++ b/development/sdcc/patches/source-tree.patch
@@ -1,10 +1,10 @@
diff --git a/device/lib/Makefile.in b/device/lib/Makefile.in
--- a/device/lib/Makefile.in
+++ b/device/lib/Makefile.in
-@@ -599,19 +599,11 @@
- $(CP_U) -r $(MODELS) mcs51 ds390 ds400 z80 z180 ez80_z80 r2k r3ka tlcs90 gbz80 hc08 s08 stm8 pdk13 pdk14 pdk15 $(sdcc_libdir)/src
+@@ -623,19 +623,11 @@
+ $(CP_U) -r $(MODELS) mcs51 ds390 ds400 z80 z180 ez80_z80 z80n r2k r2ka r3ka tlcs90 gbz80 hc08 s08 stm8 pdk13 pdk14 pdk15 $(sdcc_libdir)/src
- for src in $(MODELS) ds390 ds400 z80 z180 ez80_z80 r2k r3ka tlcs90 gbz80 hc08 s08 stm8 pdk13 pdk14 pdk15 pic14 pic16; do \
+ for src in $(MODELS) ds390 ds400 z80 z180 ez80_z80 z80n r2k r2ka r3ka tlcs90 gbz80 hc08 s08 stm8 pdk13 pdk14 pdk15 pic14 pic16; do \
- find $(sdcc_libdir)/src/$$src -depth \
- \( -name '*.rel' -o -name '*.dump*' -o -name '*.sym' -o -name '*.o' -o -name '*.lib' -o \
- -name '*.lst' -o -name '*.asm' -o -name '.svn' -o -name 'autom4te.cache' -o \
diff --git a/development/sdcc/sdcc.SlackBuild b/development/sdcc/sdcc.SlackBuild
index 8e6a39a06f..d98410a08e 100644
--- a/development/sdcc/sdcc.SlackBuild
+++ b/development/sdcc/sdcc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sdcc
-# Copyright 2014-2020 Kyle Guinn <elyk03@gmail.com>
+# Copyright 2014-2021 Kyle Guinn <elyk03@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sdcc
-VERSION=${VERSION:-4.0.0}
+VERSION=${VERSION:-4.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,9 +64,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-src-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+cd $PRGNAM
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
@@ -81,10 +81,6 @@ patch -p1 < $CWD/patches/source-tree.patch
# Avoid creating empty man directories.
sed -i '/(man1dir)/d' sim/ucsim/doc/Makefile.in
-# make considers device/lib/pic14/aclocal.m4 out-of-date and tries to
-# rebuild it using aclocal-1.16 which doesn't exist yet on Slackware 14.2.
-(cd device/lib/pic14 && autoreconf -vif)
-
# Requires lyx, latex2html, possibly others. Untested.
if [ "${ENABLE_DOC:-no}" != 'no' ]; then
enable_doc='--enable-doc'
diff --git a/development/sdcc/sdcc.info b/development/sdcc/sdcc.info
index 82b700329c..9aa42f7ae4 100644
--- a/development/sdcc/sdcc.info
+++ b/development/sdcc/sdcc.info
@@ -1,8 +1,8 @@
PRGNAM="sdcc"
-VERSION="4.0.0"
+VERSION="4.1.0"
HOMEPAGE="http://sdcc.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/sdcc/files/sdcc/4.0.0/sdcc-src-4.0.0.tar.bz2"
-MD5SUM="eac8f83af265dca1f3e4c79abcd43c6c"
+DOWNLOAD="https://sourceforge.net/projects/sdcc/files/sdcc/4.1.0/sdcc-src-4.1.0.tar.bz2"
+MD5SUM="83df8cd5b24c7dbb7c83c5fa0857b3f8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""