Commit Diff


commit - 3a37b38976bac8b049d0c831411370c4f44395b6
commit + 2c654f4b62242776e0a16466f8acdd2add8aacc9
blob - 67447bce5fb23a2ce2c0fb4514b7ed1ad6f72636
blob + 7b509914adac46e2da31df6c0920f28b8034f42f
--- www/ruby-passenger/Makefile
+++ www/ruby-passenger/Makefile
@@ -5,7 +5,7 @@ BROKEN-hppa =		rake fails when linking PassengerHelper
 PASS_VERSION =		6.0.18
 NGINX_VERSION =		1.24.0
 DISTNAME =		passenger-${PASS_VERSION}
-REVISION =		1
+REVISION =		2
 
 ONLY_FOR_ARCHS =	aarch64 amd64 arm i386
 
blob - /dev/null
blob + 973b6efea97b3f7d6d845d76d9d4ea1818ab9281 (mode 644)
--- /dev/null
+++ www/ruby-passenger/patches/patch-src_cxx_supportlib_Algorithms_MovingAverage_h
@@ -0,0 +1,19 @@
+Fix build with llvm 19. Should be in v6.0.25
+https://github.com/phusion/passenger/pull/2581
+
+Index: src/cxx_supportlib/Algorithms/MovingAverage.h
+--- src/cxx_supportlib/Algorithms/MovingAverage.h.orig
++++ src/cxx_supportlib/Algorithms/MovingAverage.h
+@@ -186,12 +186,6 @@ class DiscExpMovingAverageWithStddev { (public)
+ 	double stddev() const {
+ 		return sqrt(sumOfSquaredData / dema.sumOfWeights - pow(average(), 2));
+ 	}
+-
+-	double stddev(unsigned long long now) const {
+-		DiscExpMovingAverageWithStddev<alpha, alphaTimeUnit, maxAge> copy(*this);
+-		copy.update(0, now);
+-		return sqrt(copy.sumOfSquaredData / copy.sumOfWeights - pow(copy.average(), 2));
+-	}
+ };
+ 
+