Ticket #33036: sdcc-3.2.0.diff

File sdcc-3.2.0.diff, 4.2 KB (added by nerdling (Jeremy Lavergne), 12 years ago)

3.2.0 so far

  • files/patch-support-cpp-configure.in.diff

     
     1--- support/cpp/configure.in.orig       2010-03-17 15:20:31.000000000 -0600
     2+++ support/cpp/configure.in    2012-01-27 05:52:59.000000000 -0700
     3@@ -129,7 +129,6 @@
     4 # sizeof(char) is 1 by definition.
     5 gcc_AC_COMPILE_CHECK_SIZEOF(short)
     6 gcc_AC_COMPILE_CHECK_SIZEOF(int)
     7-gcc_AC_COMPILE_CHECK_SIZEOF(long)
     8 
     9 gcc_AC_C_CHARSET
     10 
  • files/patch-unused-values.diff

     
     1--- support/sdbinutils/bfd/opncls.c.orig        2012-10-03 13:26:59.000000000 -0400
     2+++ support/sdbinutils/bfd/opncls.c     2012-10-03 13:27:14.000000000 -0400
     3@@ -246,7 +246,7 @@
     4      then it may have been opened with special flags that make it
     5      unsafe to close and reopen the file.  */
     6   if (fd == -1)
     7-    bfd_set_cacheable (nbfd, TRUE);
     8+    (void)bfd_set_cacheable (nbfd, TRUE);
     9 
     10   return nbfd;
     11 }
  • files/patch-configure.in.diff

     
     1--- configure.in.orig   2011-10-25 12:43:54.000000000 -0600
     2+++ configure.in        2012-01-27 05:30:17.000000000 -0700
     3@@ -430,7 +430,6 @@
     4 AC_CHECK_SIZEOF(char)
     5 AC_CHECK_SIZEOF(short)
     6 AC_CHECK_SIZEOF(int)
     7-AC_CHECK_SIZEOF(long)
     8 AC_C_CHAR_UNSIGNED
     9 
     10 type_name()
  • files/patch-sim-ucsim-configure.in.diff

     
     1--- sim/ucsim/configure.in.orig 2011-03-05 07:18:55.000000000 -0700
     2+++ sim/ucsim/configure.in      2012-01-27 05:58:38.000000000 -0700
     3@@ -566,7 +566,6 @@
     4 AC_CHECK_SIZEOF(char)
     5 AC_CHECK_SIZEOF(short)
     6 AC_CHECK_SIZEOF(int)
     7-AC_CHECK_SIZEOF(long)
     8 AC_CHECK_SIZEOF(long long)
     9 else
     10     if $CXX -v 2>&1|grep "mingw" >/dev/null 2>&1; then
  • Portfile

     
    44PortSystem 1.0
    55
    66name                sdcc
    7 version             3.0.0
     7version             3.2.0
    88categories          lang
    99platforms           darwin
    1010license             GPL-3
     
    1818homepage            http://sdcc.sourceforge.net/
    1919master_sites        sourceforge
    2020
    21 checksums           rmd160  3821b238d4f8a201f23384bd58b9dafef8d69f68 \
    22                     sha256  53097200e1b2b9466be80ede24484c51326886977b5b88b4a00182bfc5e3a99b
     21checksums           rmd160  394ab8ef7521f7f094a24f113bc421f9dbd338f3 \
     22                    sha256  2d00898fd569a72d56e560c186c88719fd356eb5456b7af7e6755f3c09a0ed95
    2323
    2424depends_build       port:gputils
    25 depends_lib         port:readline
     25depends_lib         port:readline \
     26                    port:boost
    2627depends_run         port:gputils
    2728
    2829use_bzip2           yes
     
    3031
    3132worksrcdir          ${name}
    3233
     34patchfiles-append       patch-unused-values.diff
     35
    3336# Setting CPP explicitly is bad, because 'cpp' and 'gcc -E' are not the same.
    3437configure.cpp       {}
    35 configure.args      --enable-avr-port \
    36                     --enable-xa51-port
    3738
    3839build.type          gnu
    3940
    4041destroot.destdir    prefix=${destroot}${prefix} \
    4142                    docdir=${destroot}${prefix}/share/doc/${name}
    4243
     44variant universal {
     45    patchfiles-append   patch-configure.in.diff \
     46                        patch-sim-ucsim-configure.in.diff \
     47                        patch-support-cpp-configure.in.diff
     48    use_autoreconf      yes
     49}
     50
     51variant avr description {Include AVR code generation (unsupported, may break)} {
     52    configure.args-append   --enable-avr-port
     53}
     54
     55variant xa51 description {Include XA51 code generation (unsupported, may break)} {
     56    configure.args-append   --enable-xa51-port
     57}
     58
    4359platform darwin 8 {
    4460    depends_build-append    port:gmake
    4561    build.cmd               ${prefix}/bin/gmake