Skip to content

Commit

Permalink
marlinreco: add algorithm patch (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
joequant authored Sep 8, 2024
1 parent f4492ad commit e055d8e
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/marlinreco/algorithm.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/CaloDigi/Realistic/src/RealisticCaloDigi.cc b/CaloDigi/Realistic/src/RealisticCaloDigi.cc
index 6f37fce..bf51b16 100644
--- a/CaloDigi/Realistic/src/RealisticCaloDigi.cc
+++ b/CaloDigi/Realistic/src/RealisticCaloDigi.cc
@@ -17,6 +17,7 @@
#include <assert.h>
#include <cmath>
#include <set>
+#include <algorithm>

#include "CLHEP/Random/Random.h"
#include "CLHEP/Random/RandGauss.h"
6 changes: 6 additions & 0 deletions packages/marlinreco/package.py
Original file line number Diff line number Diff line change
@@ -16,6 +16,10 @@ class Marlinreco(CMakePackage, Ilcsoftpackage):
maintainers = ["vvolkl"]

version("master", branch="master")
version(
"1.36",
sha256="3f0c9839567a58b629b4cba40088b095a6660cbd104d157edf6dd21f81471694",
)
version(
"1.35",
sha256="009ea04769776424b203f08c9af75f544b8cd93f379537285e24e3470bb52be8",
@@ -37,6 +41,8 @@ class Marlinreco(CMakePackage, Ilcsoftpackage):
sha256="0ea3bee03e2bec1924b5876675043b592a942bc8cf306eb7056eaf03ac1748f6",
)

patch("algorithm.patch", when="@:1.36")

depends_on("ilcutil")
depends_on("marlin")
depends_on("marlinutil")

0 comments on commit e055d8e

Please sign in to comment.