View | Details | Raw Unified | Return to bug 238896
Collapse All | Expand All

(-)Makefile (-1 / +4 lines)
Lines 7-12 Link Here
7
MASTER_SITES=	GNU
7
MASTER_SITES=	GNU
8
PKGNAMEPREFIX=	gnu-
8
PKGNAMEPREFIX=	gnu-
9
9
10
PATCH_SITES=	https://svn.savannah.gnu.org/viewvc/apl/trunk/src/
11
PATCHFILES=	Tokenizer.cc?r1=1164&r2=1177&view=patch:-p1
12
10
MAINTAINER=	danfe@FreeBSD.org
13
MAINTAINER=	danfe@FreeBSD.org
11
COMMENT=	Free interpreter for APL programming language
14
COMMENT=	Free interpreter for APL programming language
12
15
Lines 14-20 Link Here
14
17
15
LIB_DEPENDS=	libfftw3.so:math/fftw3
18
LIB_DEPENDS=	libfftw3.so:math/fftw3
16
19
17
USES=		gmake libtool localbase
20
USES=		compiler:c++11-lang gmake libtool localbase
18
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
19
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
20
INSTALL_TARGET=	install-strip
23
INSTALL_TARGET=	install-strip
(-)distinfo (-1 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1561298598
1
TIMESTAMP = 1561894718
2
SHA256 (apl-1.8.tar.gz) = 144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb
2
SHA256 (apl-1.8.tar.gz) = 144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb
3
SIZE (apl-1.8.tar.gz) = 3565018
3
SIZE (apl-1.8.tar.gz) = 3565018
4
SHA256 (Tokenizer.cc?r1=1164&r2=1177&view=patch) = 1386e9fe8a75316118aa923f2ecb57fab33112d278a2d2ee0a12979221f49714
5
SIZE (Tokenizer.cc?r1=1164&r2=1177&view=patch) = 1369
(-)files/patch-src_Error.hh (+10 lines)
Line 0 Link Here
1
--- src/Error.hh.orig	2019-06-30 10:39:00 UTC
2
+++ src/Error.hh
3
@@ -25,6 +25,7 @@
4
 #include "Common.hh"
5
 #include "ErrorCode.hh"
6
 #include "UCS_string.hh"
7
+#include <cstring>
8
 
9
 #ifdef __GNUC__
10
     #define GNUC__noreturn __attribute__ ((noreturn))
(-)files/patch-src_Quad__WA.cc (+11 lines)
Line 0 Link Here
1
--- src/Quad_WA.cc.orig	2019-06-30 11:05:40 UTC
2
+++ src/Quad_WA.cc
3
@@ -24,7 +24,7 @@
4
 extern uint64_t top_of_memory();
5
 
6
 rlim_t Quad_WA::initial_rlimit = RLIM_INFINITY;
7
-uint64_t Quad_WA::total_memory = 0x40000000;   // a little more than 1 Gig
8
+int64_t Quad_WA::total_memory = 0x40000000;   // a little more than 1 Gig
9
 int64_t  Quad_WA::WA_margin = 0;  // 100000000;
10
 int      Quad_WA::WA_scale = 90;   // percent
11
 unsigned long long Quad_WA::initial_sbrk = 0;
(-)files/patch-src_Quad__WA.hh (+11 lines)
Line 0 Link Here
1
--- src/Quad_WA.hh.orig	2019-06-30 11:05:53 UTC
2
+++ src/Quad_WA.hh
3
@@ -38,7 +38,7 @@ class Quad_WA : public RO_SystemVariable (public)
4
    static void init(bool log_startup);
5
 
6
    /// the estimated (!) the amount of free memory
7
-   static uint64_t total_memory;
8
+   static int64_t total_memory;
9
 
10
    /// a safety margin causing WS FULL before complete memory starvation
11
    static int64_t WA_margin;
(-)files/patch-src_Value.cc (+11 lines)
Line 0 Link Here
1
--- src/Value.cc.orig	2019-06-30 11:24:46 UTC
2
+++ src/Value.cc
3
@@ -181,7 +181,7 @@ bool
4
 Value::check_WS_FULL(const char * args, ShapeItem requested_cell_count,
5
                      const char * loc)
6
 {
7
-const uint64_t used_memory
8
+const int64_t used_memory
9
                = (total_ravel_count + requested_cell_count) * sizeof(Cell)
10
                + (value_count + 1) * sizeof(Value)
11
                + Workspace::SI_entry_count() * sizeof(StateIndicator);

Return to bug 238896