[108726] trunk/dports/lang/sdcc

snc at macports.org snc at macports.org
Wed Jul 31 12:05:13 PDT 2013


Revision: 108726
          https://trac.macports.org/changeset/108726
Author:   snc at macports.org
Date:     2013-07-31 12:05:13 -0700 (Wed, 31 Jul 2013)
Log Message:
-----------
sdcc: update to 3.3.0, #39919

Modified Paths:
--------------
    trunk/dports/lang/sdcc/Portfile

Added Paths:
-----------
    trunk/dports/lang/sdcc/files/
    trunk/dports/lang/sdcc/files/patch-support-sdbinutils-bfd-objcopy.c.diff
    trunk/dports/lang/sdcc/files/patch-support-sdbinutils-bfd-opncls.c.diff

Modified: trunk/dports/lang/sdcc/Portfile
===================================================================
--- trunk/dports/lang/sdcc/Portfile	2013-07-31 19:01:26 UTC (rev 108725)
+++ trunk/dports/lang/sdcc/Portfile	2013-07-31 19:05:13 UTC (rev 108726)
@@ -4,37 +4,38 @@
 PortSystem 1.0
 
 name                sdcc
-version             3.0.0
+version             3.3.0
 categories          lang
 platforms           darwin
 license             GPL-3
 maintainers         snc openmaintainer
 description         ANSI C compiler targeting Intel 8051, Maxim 80DS390, Zilog Z80
-long_description    SDCC is a freeware, retargettable, optimizing ANSI C \
-                    compiler that targets the Intel 8051, Maxim 80DS390, and \
-                    Zilog Z80 based MCUs. Work is in progress on supporting \
-                    Motorola 68HC08 as well as Microchip PIC16 and PIC18 series.
+long_description    SDCC is a retargettable, optimizing ANSI - C \
+                    compiler suite that targets the Intel MCS51 based \
+                    microprocessors (8031, 8032, 8051, 8052, etc.), Maxim \
+                    (formerly Dallas) DS80C390 variants, Freescale (formerly \
+                    Motorola) HC08 based (hc08, s08) and Zilog Z80 based MCUs \
+                    (z80, z180, gbz80, Rabbit 2000/3000, Rabbit 3000A). Work is \
+                    in progress on supporting the Microchip PIC16 and PIC18 \
+                    targets. It can be retargeted for other microprocessors.
 
 homepage            http://sdcc.sourceforge.net/
 master_sites        sourceforge
 
-checksums           rmd160  3821b238d4f8a201f23384bd58b9dafef8d69f68 \
-                    sha256  53097200e1b2b9466be80ede24484c51326886977b5b88b4a00182bfc5e3a99b
+checksums           rmd160  464b5aae6242e0da0181e9050b52949ae176de00 \
+                    sha256  873f61f29e829e65ba8afcf992cced8f91b0c4bd52b0be7d5e9b0cbcb58644de
 
 depends_build       port:gputils
-depends_lib         port:readline
+depends_lib         port:readline port:boost
 depends_run         port:gputils
 
 use_bzip2           yes
 distfiles           ${name}-src-${version}${extract.suffix}
+patchfiles          patch-support-sdbinutils-bfd-opncls.c.diff \
+                    patch-support-sdbinutils-bfd-objcopy.c.diff
 
-worksrcdir          ${name}
+worksrcdir          ${name}-${version}
 
-# Setting CPP explicitly is bad, because 'cpp' and 'gcc -E' are not the same.
-configure.cpp       {}
-configure.args      --enable-avr-port \
-                    --enable-xa51-port
-
 build.type          gnu
 
 destroot.destdir    prefix=${destroot}${prefix} \

Added: trunk/dports/lang/sdcc/files/patch-support-sdbinutils-bfd-objcopy.c.diff
===================================================================
--- trunk/dports/lang/sdcc/files/patch-support-sdbinutils-bfd-objcopy.c.diff	                        (rev 0)
+++ trunk/dports/lang/sdcc/files/patch-support-sdbinutils-bfd-objcopy.c.diff	2013-07-31 19:05:13 UTC (rev 108726)
@@ -0,0 +1,11 @@
+--- support/sdbinutils/binutils/objcopy.c.orig	2012-11-08 09:22:15.000000000 -0500
++++ support/sdbinutils/binutils/objcopy.c	2013-07-30 20:53:13.000000000 -0400
+@@ -1781,7 +1781,7 @@
+ 	    /* Umm, not sure what to do in this case.  */
+ 	    debuglink_vma = 0x1000;
+ 
+-	  bfd_set_section_vma (obfd, gnu_debuglink_section, debuglink_vma);
++	  (void)bfd_set_section_vma (obfd, gnu_debuglink_section, debuglink_vma);
+ 	}
+     }
+ 

Added: trunk/dports/lang/sdcc/files/patch-support-sdbinutils-bfd-opncls.c.diff
===================================================================
--- trunk/dports/lang/sdcc/files/patch-support-sdbinutils-bfd-opncls.c.diff	                        (rev 0)
+++ trunk/dports/lang/sdcc/files/patch-support-sdbinutils-bfd-opncls.c.diff	2013-07-31 19:05:13 UTC (rev 108726)
@@ -0,0 +1,11 @@
+--- support/sdbinutils/bfd/opncls.c.orig	2013-07-30 20:30:27.000000000 -0400
++++ support/sdbinutils/bfd/opncls.c	2013-07-30 20:31:34.000000000 -0400
+@@ -254,7 +254,7 @@
+      then it may have been opened with special flags that make it
+      unsafe to close and reopen the file.  */
+   if (fd == -1)
+-    bfd_set_cacheable (nbfd, TRUE);
++    (void)bfd_set_cacheable (nbfd, TRUE);
+ 
+   return nbfd;
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130731/98d00cf6/attachment.html>


More information about the macports-changes mailing list