From a97b91254f26257004e8d1d5d28b782f491cf92b Mon Sep 17 00:00:00 2001
From: Vakho Tsulaia <vakhtang.tsulaia@cern.ch>
Date: Thu, 24 Oct 2024 02:20:07 +0200
Subject: [PATCH] Introduced a patch to the DumpGeo package in Athena to fix
 failing DumpGeo tests

---
 athena_ci/patch_package_filters.txt |  2 +-
 athena_ci/patches/DumpGeo.patch     | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 athena_ci/patches/DumpGeo.patch

diff --git a/athena_ci/patch_package_filters.txt b/athena_ci/patch_package_filters.txt
index 1af0733ca..88db99ff3 100644
--- a/athena_ci/patch_package_filters.txt
+++ b/athena_ci/patch_package_filters.txt
@@ -1,3 +1,3 @@
 # These Athena packages need to be rebuilt 
 # due to patches in the `patches` directory
-
++ DetectorDescription/GeoModel/DumpGeo
diff --git a/athena_ci/patches/DumpGeo.patch b/athena_ci/patches/DumpGeo.patch
new file mode 100644
index 000000000..19bc392be
--- /dev/null
+++ b/athena_ci/patches/DumpGeo.patch
@@ -0,0 +1,13 @@
+diff --git a/DetectorDescription/GeoModel/DumpGeo/python/DumpGeoConfig.py b/DetectorDescription/GeoModel/DumpGeo/python/DumpGeoConfig.py
+index af3d65bffbe..d3b3053e97b 100644
+--- a/DetectorDescription/GeoModel/DumpGeo/python/DumpGeoConfig.py
++++ b/DetectorDescription/GeoModel/DumpGeo/python/DumpGeoConfig.py
+@@ -97,7 +97,7 @@ def configureGeometry(flags, cfg):
+     # to bypass a crash due to lack of support 
+     # for EllipticTube in GeoModelIO 
+     # See: https://its.cern.ch/jira/browse/ATLASSIM-7263
+-    cfg.getService("GeoModelSvc").DetectorTools["ForwardRegionGeoModelTool"].vp1Compatibility=True
++    # cfg.getService("GeoModelSvc").DetectorTools["ForwardRegionGeoModelTool"].vp1Compatibility=True
+ 
+ 
+ def getATLASVersion():
-- 
GitLab