Update to sdcc-3.8.0
Changelog: http://sdcc.sourceforge.net/index.php#News Thanks to jcs@ for some testing
This commit is contained in:
parent
b529887cde
commit
6568034908
@ -1,13 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.25 2018/11/14 20:48:21 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.26 2019/04/02 19:49:58 bcallah Exp $
|
||||
|
||||
COMMENT= Small Device C Compiler
|
||||
BROKEN-sparc64= illegal operands building SDCCval.c
|
||||
BROKEN-alpha= sdcc segfaults when building the device library
|
||||
BROKEN-aarch64= *** BFD does not support target aarch64-unknown-openbsd6.2.
|
||||
|
||||
DISTNAME= sdcc-src-3.7.0
|
||||
DISTNAME= sdcc-src-3.8.0
|
||||
PKGNAME= ${DISTNAME:S/-src//}
|
||||
REVISION= 1
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
CATEGORIES= devel
|
||||
|
||||
@ -16,7 +15,8 @@ MAINTAINER= Brian Callahan <bcallah@openbsd.org>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
WANTLIB= c curses m ${COMPILER_LIBCXX} readline z
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} c m readline z
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sdcc/}
|
||||
|
||||
@ -48,6 +48,6 @@ MAKE_ENV= AUTOCONF_VERSION="${AUTOCONF_VERSION}" \
|
||||
AUTOCONF_VERSION= 2.69
|
||||
AUTOMAKE_VERSION= 1.11
|
||||
|
||||
WRKDIST= ${WRKDIR}/sdcc
|
||||
WRKDIST= ${WRKDIR}/${PKGNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (sdcc-src-3.7.0.tar.bz2) = hU1HCUaYsGFC3z1fxka7VA1JerQHOtLwUbjsIUHflI4=
|
||||
SIZE (sdcc-src-3.7.0.tar.bz2) = 17944920
|
||||
SHA256 (sdcc-src-3.8.0.tar.bz2) = szFmjet72DLv0RIFLlsO0jE9tkGpIr05KAum1HrbuyE=
|
||||
SIZE (sdcc-src-3.8.0.tar.bz2) = 18987862
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-sim_ucsim_cmd_src_Makefile_in,v 1.1 2018/03/07 21:34:43 bcallah Exp $
|
||||
$OpenBSD: patch-sim_ucsim_cmd_src_Makefile_in,v 1.2 2019/04/02 19:49:58 bcallah Exp $
|
||||
|
||||
Allow use of in-base yacc.
|
||||
|
||||
@ -21,7 +21,7 @@ Index: sim/ucsim/cmd.src/Makefile.in
|
||||
|
||||
# My rules
|
||||
# --------
|
||||
@@ -116,7 +116,7 @@ $(top_builddir)/libcmd.a: $(OBJECTS) $(LOCAL_OBJECTS)
|
||||
@@ -116,12 +116,12 @@ $(top_builddir)/libcmd.a: $(OBJECTS) $(LOCAL_OBJECTS)
|
||||
.cc.o:
|
||||
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
|
||||
|
||||
@ -29,4 +29,10 @@ Index: sim/ucsim/cmd.src/Makefile.in
|
||||
+cmdpars.h: cmdpars.cc
|
||||
|
||||
cmdpars.cc: cmdpars.y
|
||||
$(YACC) -d -o $@ $<
|
||||
$(YACC) -d $<
|
||||
mv y.tab.c $*.cc
|
||||
- mv y.tab.h $*.hh
|
||||
+ mv y.tab.h $*.h
|
||||
|
||||
.l.cc:
|
||||
rm -f $@
|
||||
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-sim_ucsim_cmd_src_cmdlex_cc,v 1.1 2018/03/07 21:34:43 bcallah Exp $
|
||||
|
||||
Allow use of in-base yacc.
|
||||
|
||||
Index: sim/ucsim/cmd.src/cmdlex.cc
|
||||
--- sim/ucsim/cmd.src/cmdlex.cc.orig
|
||||
+++ sim/ucsim/cmd.src/cmdlex.cc
|
||||
@@ -490,7 +490,7 @@ char *yytext;
|
||||
#include <stdio.h>
|
||||
//#include <stdint.h>
|
||||
#include "cmdlexcl.h"
|
||||
-#include "cmdpars.hh"
|
||||
+#include "cmdpars.h"
|
||||
|
||||
static int uc_yy_check_id(char *token);
|
||||
static int uc_yy_input(char *buf, int max_size);
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2018/04/16 21:09:25 bcallah Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.7 2019/04/02 19:49:59 bcallah Exp $
|
||||
bin/as2gbmap
|
||||
@bin bin/makebin
|
||||
@bin bin/packihx
|
||||
@ -158,6 +158,11 @@ share/sdcc/include/mcs51/at89s8253.h
|
||||
share/sdcc/include/mcs51/at89x051.h
|
||||
share/sdcc/include/mcs51/at89x51.h
|
||||
share/sdcc/include/mcs51/at89x52.h
|
||||
share/sdcc/include/mcs51/ax8052.h
|
||||
share/sdcc/include/mcs51/ax8052f131.h
|
||||
share/sdcc/include/mcs51/ax8052f142.h
|
||||
share/sdcc/include/mcs51/ax8052f143.h
|
||||
share/sdcc/include/mcs51/ax8052f151.h
|
||||
share/sdcc/include/mcs51/cc1110.h
|
||||
share/sdcc/include/mcs51/cc2430.h
|
||||
share/sdcc/include/mcs51/cc2510fx.h
|
||||
@ -719,6 +724,7 @@ share/sdcc/lib/small/liblonglong.lib
|
||||
share/sdcc/lib/small/libsdcc.lib
|
||||
share/sdcc/lib/small/mcs51.lib
|
||||
share/sdcc/lib/src/
|
||||
share/sdcc/lib/src/__assert.c
|
||||
share/sdcc/lib/src/_atof.c
|
||||
share/sdcc/lib/src/_autobaud.c
|
||||
share/sdcc/lib/src/_bp.c
|
||||
@ -809,15 +815,16 @@ share/sdcc/lib/src/acosf.c
|
||||
share/sdcc/lib/src/aligned_alloc.c
|
||||
share/sdcc/lib/src/asincosf.c
|
||||
share/sdcc/lib/src/asinf.c
|
||||
share/sdcc/lib/src/assert.c
|
||||
share/sdcc/lib/src/atan2f.c
|
||||
share/sdcc/lib/src/atanf.c
|
||||
share/sdcc/lib/src/atoi.c
|
||||
share/sdcc/lib/src/atol.c
|
||||
share/sdcc/lib/src/atoll.c
|
||||
share/sdcc/lib/src/bpx.c
|
||||
share/sdcc/lib/src/bsearch.c
|
||||
share/sdcc/lib/src/btowc.c
|
||||
share/sdcc/lib/src/c16rtomb.c
|
||||
share/sdcc/lib/src/c16stombs.c
|
||||
share/sdcc/lib/src/c32rtomb.c
|
||||
share/sdcc/lib/src/calloc.c
|
||||
share/sdcc/lib/src/ceilf.c
|
||||
@ -886,6 +893,7 @@ share/sdcc/lib/src/mbrtoc16.c
|
||||
share/sdcc/lib/src/mbrtoc32.c
|
||||
share/sdcc/lib/src/mbrtowc.c
|
||||
share/sdcc/lib/src/mbsinit.c
|
||||
share/sdcc/lib/src/mbstoc16s.c
|
||||
share/sdcc/lib/src/mbstowcs.c
|
||||
share/sdcc/lib/src/mbtowc.c
|
||||
share/sdcc/lib/src/mcs51/
|
||||
@ -7810,6 +7818,8 @@ share/sdcc/lib/src/z80/setjmp.s
|
||||
share/sdcc/lib/src/z80/strcpy.s
|
||||
share/sdcc/lib/src/z80/strlen.s
|
||||
share/sdcc/lib/stm8/
|
||||
share/sdcc/lib/stm8-large/
|
||||
share/sdcc/lib/stm8-large/stm8.lib
|
||||
share/sdcc/lib/stm8/stm8.lib
|
||||
share/sdcc/lib/tlcs90/
|
||||
share/sdcc/lib/tlcs90/crt0.rel
|
||||
|
Loading…
Reference in New Issue
Block a user