Ticket #33036: sdcc-3.2.0.diff
File sdcc-3.2.0.diff, 4.2 KB (added by nerdling (Jeremy Lavergne), 12 years ago) |
---|
-
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
4 4 PortSystem 1.0 5 5 6 6 name sdcc 7 version 3. 0.07 version 3.2.0 8 8 categories lang 9 9 platforms darwin 10 10 license GPL-3 … … 18 18 homepage http://sdcc.sourceforge.net/ 19 19 master_sites sourceforge 20 20 21 checksums rmd160 3 821b238d4f8a201f23384bd58b9dafef8d69f68\22 sha256 53097200e1b2b9466be80ede24484c51326886977b5b88b4a00182bfc5e3a99b21 checksums rmd160 394ab8ef7521f7f094a24f113bc421f9dbd338f3 \ 22 sha256 2d00898fd569a72d56e560c186c88719fd356eb5456b7af7e6755f3c09a0ed95 23 23 24 24 depends_build port:gputils 25 depends_lib port:readline 25 depends_lib port:readline \ 26 port:boost 26 27 depends_run port:gputils 27 28 28 29 use_bzip2 yes … … 30 31 31 32 worksrcdir ${name} 32 33 34 patchfiles-append patch-unused-values.diff 35 33 36 # Setting CPP explicitly is bad, because 'cpp' and 'gcc -E' are not the same. 34 37 configure.cpp {} 35 configure.args --enable-avr-port \36 --enable-xa51-port37 38 38 39 build.type gnu 39 40 40 41 destroot.destdir prefix=${destroot}${prefix} \ 41 42 docdir=${destroot}${prefix}/share/doc/${name} 42 43 44 variant 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 51 variant avr description {Include AVR code generation (unsupported, may break)} { 52 configure.args-append --enable-avr-port 53 } 54 55 variant xa51 description {Include XA51 code generation (unsupported, may break)} { 56 configure.args-append --enable-xa51-port 57 } 58 43 59 platform darwin 8 { 44 60 depends_build-append port:gmake 45 61 build.cmd ${prefix}/bin/gmake