[112601] trunk/dports/lang/sdcc
snc at macports.org
snc at macports.org
Sun Oct 27 12:55:52 PDT 2013
Revision: 112601
https://trac.macports.org/changeset/112601
Author: snc at macports.org
Date: 2013-10-27 12:55:52 -0700 (Sun, 27 Oct 2013)
Log Message:
-----------
sdcc: fix build errors (on more than just mavericks), fixes #40974
Modified Paths:
--------------
trunk/dports/lang/sdcc/Portfile
Added Paths:
-----------
trunk/dports/lang/sdcc/files/patch-no-sbrk.diff
Modified: trunk/dports/lang/sdcc/Portfile
===================================================================
--- trunk/dports/lang/sdcc/Portfile 2013-10-27 19:47:41 UTC (rev 112600)
+++ trunk/dports/lang/sdcc/Portfile 2013-10-27 19:55:52 UTC (rev 112601)
@@ -5,6 +5,7 @@
name sdcc
version 3.3.0
+revision 1
categories lang
platforms darwin
license GPL-3
@@ -20,18 +21,19 @@
targets. It can be retargeted for other microprocessors.
homepage http://sdcc.sourceforge.net/
-master_sites sourceforge
+master_sites sourceforge:project/sdcc/sdcc/${version}
checksums rmd160 464b5aae6242e0da0181e9050b52949ae176de00 \
sha256 873f61f29e829e65ba8afcf992cced8f91b0c4bd52b0be7d5e9b0cbcb58644de
depends_build port:gputils
-depends_lib port:readline port:boost
+depends_lib port:boost port:readline port:zlib
depends_run port:gputils
use_bzip2 yes
distfiles ${name}-src-${version}${extract.suffix}
patchfiles patch-support-sdbinutils-bfd-opncls.c.diff \
+ patch-no-sbrk.diff \
patch-support-sdbinutils-bfd-objcopy.c.diff
worksrcdir ${name}-${version}
Added: trunk/dports/lang/sdcc/files/patch-no-sbrk.diff
===================================================================
--- trunk/dports/lang/sdcc/files/patch-no-sbrk.diff (rev 0)
+++ trunk/dports/lang/sdcc/files/patch-no-sbrk.diff 2013-10-27 19:55:52 UTC (rev 112601)
@@ -0,0 +1,23 @@
+--- support/sdbinutils/binutils/config.in.orig 2013-10-27 17:44:42.000000000 +0100
++++ support/sdbinutils/binutils/config.in 2013-10-27 17:44:57.000000000 +0100
+@@ -50,10 +50,6 @@
+ /* Is the prototype for getopt in <unistd.h> in the expected format? */
+ #undef HAVE_DECL_GETOPT
+
+-/* Define to 1 if you have the declaration of `sbrk', and to 0 if you don't.
+- */
+-#undef HAVE_DECL_SBRK
+-
+ /* Define to 1 if you have the declaration of `snprintf', and to 0 if you
+ don't. */
+ #undef HAVE_DECL_SNPRINTF
+@@ -109,9 +105,6 @@
+ /* Define to 1 if you have the `mkstemp' function. */
+ #undef HAVE_MKSTEMP
+
+-/* Define to 1 if you have the `sbrk' function. */
+-#undef HAVE_SBRK
+-
+ /* Define to 1 if you have the `setlocale' function. */
+ #undef HAVE_SETLOCALE
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131027/0ddbaec6/attachment.html>
More information about the macports-changes
mailing list