1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/www/dillo2/files/patch-lout_misc.hh
Cy Schubert cd19f85116 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
2024-10-25 09:33:18 -07:00

12 lines
393 B
C++

--- 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 ()