Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2024 16:34:48 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 781efc7d15b1 - 2024Q4 - www/dillo2: Fix llvm 19 build
Message-ID:  <202410251634.49PGYmN6099408@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q4 has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=781efc7d15b19a812ae2faefbdde1c81e08f52f4

commit 781efc7d15b19a812ae2faefbdde1c81e08f52f4
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2024-10-25 16:31:11 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2024-10-25 16:34:22 +0000

    www/dillo2: Fix llvm 19 build
    
    Fix error with llvm 19 compile:
    
    ./misc.hh:384:13: error: no member named 'arrayExtra' in 'NotSoSimpleVector<T>'
      384 |       this->arrayExtra = NULL;
          |       ~~~~  ^
    
    (cherry picked from commit cd19f8511637fb6cdc5f077cccd496fe07fb7aa3)
---
 www/dillo2/files/patch-lout_misc.hh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/www/dillo2/files/patch-lout_misc.hh b/www/dillo2/files/patch-lout_misc.hh
new file mode 100644
index 000000000000..fad10fe5a65c
--- /dev/null
+++ b/www/dillo2/files/patch-lout_misc.hh
@@ -0,0 +1,11 @@
+--- lout/misc.hh.orig	2024-05-04 04:01:21.000000000 -0700
++++ lout/misc.hh	2024-10-25 09:28:31.897945000 -0700
+@@ -310,7 +310,7 @@
+ template <class T> class NotSoSimpleVector
+ {
+ private:
+-   T *arrayMain, *arrayExtra1, *arrayExtra2;
++   T *arrayMain, *arrayExtra, *arrayExtra1, *arrayExtra2;
+    int numMain, numExtra, numAllocMain, numAllocExtra, startExtra;
+ 
+    inline void resizeMain ()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410251634.49PGYmN6099408>