git: cd19f8511637 - main - www/dillo2: Fix llvm 19 build

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 25 Oct 2024 16:33:27 UTC
The branch main has been updated by cy:

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

commit cd19f8511637fb6cdc5f077cccd496fe07fb7aa3
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:33:18 +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;
          |       ~~~~  ^
    
    MFH:    2024Q4
---
 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 ()