summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2018-11-11 18:37:36 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-17 18:43:03 +0700
commit22d2c8c8a042b207810f72c6761ff80086fdf247 (patch)
treed5108abb63d6bf98e63d384d2816966ba78abbb0 /development
parent987429d66784dacc985f7b0b3f6119a487bda53c (diff)
downloadslackbuilds-22d2c8c8a042b207810f72c6761ff80086fdf247.tar.gz
development/sdcc: Updated for version 3.8.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'development')
-rw-r--r--development/sdcc/patches/source-tree.patch2
-rw-r--r--development/sdcc/sdcc.SlackBuild9
-rw-r--r--development/sdcc/sdcc.info6
3 files changed, 10 insertions, 7 deletions
diff --git a/development/sdcc/patches/source-tree.patch b/development/sdcc/patches/source-tree.patch
index b0a0aeaca6..efcf1c7102 100644
--- a/development/sdcc/patches/source-tree.patch
+++ b/development/sdcc/patches/source-tree.patch
@@ -1,7 +1,7 @@
diff --git a/device/lib/Makefile.in b/device/lib/Makefile.in
--- a/device/lib/Makefile.in
+++ b/device/lib/Makefile.in
-@@ -529,19 +529,11 @@
+@@ -540,19 +540,11 @@
$(CP_U) -r $(MODELS) mcs51 ds390 ds400 z80 z180 r2k r3ka tlcs90 gbz80 hc08 s08 stm8 $(sdcc_libdir)/src
for src in $(MODELS) ds390 ds400 z80 z180 r2k r3ka tlcs90 gbz80 hc08 s08 stm8 pic14 pic16; do \
diff --git a/development/sdcc/sdcc.SlackBuild b/development/sdcc/sdcc.SlackBuild
index 39d5bcb956..d525f39e14 100644
--- a/development/sdcc/sdcc.SlackBuild
+++ b/development/sdcc/sdcc.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sdcc
-VERSION=${VERSION:-3.7.0}
+VERSION=${VERSION:-3.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,12 +64,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-src-$VERSION.tar.bz2
-cd $PRGNAM
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
+# Fix a couple source files that get installed with wrong permissions.
+chmod -x device/lib/isinf.c device/lib/isnan.c
+
# A few Makefiles install (copy) the source tree _after_ building, and
# accidentally install a bunch of build byproducts which they try to clean
# up afterwards. Delete some byproducts that they missed.
diff --git a/development/sdcc/sdcc.info b/development/sdcc/sdcc.info
index 157f0bd37e..48d92136af 100644
--- a/development/sdcc/sdcc.info
+++ b/development/sdcc/sdcc.info
@@ -1,8 +1,8 @@
PRGNAM="sdcc"
-VERSION="3.7.0"
+VERSION="3.8.0"
HOMEPAGE="http://sdcc.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/sdcc/sdcc/3.7.0/sdcc-src-3.7.0.tar.bz2"
-MD5SUM="76cc85d7ff27c46b930d309ea940a02f"
+DOWNLOAD="http://downloads.sourceforge.net/project/sdcc/sdcc/3.8.0/sdcc-src-3.8.0.tar.bz2"
+MD5SUM="31d0d3db8a157018e3df530c50a3974e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""