[148116] trunk/dports/lang/ecl

easieste at macports.org easieste at macports.org
Wed Apr 27 01:51:13 PDT 2016


Revision: 148116
          https://trac.macports.org/changeset/148116
Author:   easieste at macports.org
Date:     2016-04-27 01:51:13 -0700 (Wed, 27 Apr 2016)
Log Message:
-----------
lang/ecl: fix build problems for long build paths

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

Added Paths:
-----------
    trunk/dports/lang/ecl/files/
    trunk/dports/lang/ecl/files/patch-src-c-unixfsys.d.diff

Modified: trunk/dports/lang/ecl/Portfile
===================================================================
--- trunk/dports/lang/ecl/Portfile	2016-04-27 08:01:48 UTC (rev 148115)
+++ trunk/dports/lang/ecl/Portfile	2016-04-27 08:51:13 UTC (rev 148116)
@@ -7,6 +7,7 @@
 
 name		    ecl
 version		    16.1.2
+revision        1
 categories	    lang
 license		GPL-2+
 maintainers	easieste openmaintainer
@@ -26,6 +27,8 @@
                     sha1    73a972fa5e42d019a83d9f13447c6e6e080b9af3 \
                     rmd160  f1b3ab9309cea2fe350fb39b141ea29c670e851e
 
+patchfiles          patch-src-c-unixfsys.d.diff
+
 configure.ccache    no
 use_parallel_build	no
 universal_variant	no

Added: trunk/dports/lang/ecl/files/patch-src-c-unixfsys.d.diff
===================================================================
--- trunk/dports/lang/ecl/files/patch-src-c-unixfsys.d.diff	                        (rev 0)
+++ trunk/dports/lang/ecl/files/patch-src-c-unixfsys.d.diff	2016-04-27 08:51:13 UTC (rev 148116)
@@ -0,0 +1,11 @@
+--- src/c/unixfsys.d.orig	2016-02-25 08:06:19.000000000 +0100
++++ src/c/unixfsys.d	2016-04-27 10:35:09.000000000 +0200
+@@ -158,7 +158,7 @@
+                 output = ecl_alloc_adjustable_base_string(size);
+                 ecl_disable_interrupts();
+                 ok = getcwd((char*)output->base_string.self, size);
+-                if (ok == NULL && errno != ENAMETOOLONG) {
++                if (ok == NULL && errno != ERANGE) {
+                         perror("ext::getcwd error");
+                         ecl_internal_error("Can't work without CWD");
+                 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160427/4cabd4b0/attachment.html>


More information about the macports-changes mailing list