public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/netgen-mesher] rawhide: Add netgen_norpath.patch
Date: Fri, 16 Oct 2026 23:28:24 GMT [thread overview]
Message-ID: <179219330436.1.4991604177763290193.rpms-netgen-mesher-1ca4888003e6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/netgen-mesher
Branch : rawhide
Commit : 1ca4888003e6ec95b8c2cb7701d40826f004f607
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-10-17T01:28:13+02:00
Stats : +28/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/netgen-mesher/c/1ca4888003e6ec95b8c2cb7701d40826f004f607?branch=rawhide
Log:
Add netgen_norpath.patch
---
diff --git a/netgen-mesher.spec b/netgen-mesher.spec
index 174b615..6faa34b 100644
--- a/netgen-mesher.spec
+++ b/netgen-mesher.spec
@@ -53,6 +53,8 @@ Patch4: netgen_libjpeg.patch
# /usr/include/mpich-x86_64/mpicxx.h:160:18: error: expected identifier before ‘int’
# 160 | friend class Status;
Patch5: netgen_include-order.patch
+# Revert change which adds RPATH
+Patch6: netgen_norpath.patch
# Port bundled togl to tk9
# Patch8: netgen-togl-tk9.patch
diff --git a/netgen_norpath.patch b/netgen_norpath.patch
new file mode 100644
index 0000000..d1e63a9
--- /dev/null
+++ b/netgen_norpath.patch
@@ -0,0 +1,26 @@
+diff -rupN --no-dereference netgen-6.2.2608/CMakeLists.txt netgen-6.2.2608-new/CMakeLists.txt
+--- netgen-6.2.2608/CMakeLists.txt 2026-10-17 00:55:20.906977114 +0200
++++ netgen-6.2.2608-new/CMakeLists.txt 2026-10-17 00:55:20.959282634 +0200
+@@ -415,22 +415,6 @@ if (USE_OCC)
+ endif()
+ target_include_directories(occ_libs INTERFACE ${occ_include_dir})
+ message(STATUS "OpenCasCade include dirs: ${occ_include_dir}")
+- # The OpenCascade libraries are not copied into the install tree, so the
+- # install rpath (@loader_path) alone cannot find them. Append where they
+- # really are as a fallback - @loader_path stays first, so a bundled
+- # OpenCascade still takes precedence.
+- if(OpenCASCADE_LIBRARY_DIR AND OpenCASCADE_BUILD_SHARED_LIBS)
+- # for targets created after this point
+- list(APPEND CMAKE_INSTALL_RPATH "${OpenCASCADE_LIBRARY_DIR}")
+- # nglib and nggui are created further up, so they already captured the
+- # old value of CMAKE_INSTALL_RPATH - extend their property directly
+- foreach(occ_target nglib nggui)
+- if(TARGET ${occ_target})
+- set_property(TARGET ${occ_target} APPEND PROPERTY INSTALL_RPATH "${OpenCASCADE_LIBRARY_DIR}")
+- endif()
+- endforeach()
+- message(STATUS "OpenCasCade library dir added to install rpath: ${OpenCASCADE_LIBRARY_DIR}")
+- endif()
+ if(NOT OpenCASCADE_BUILD_SHARED_LIBS)
+ if(OpenCASCADE_WITH_FREETYPE)
+ find_library( FREETYPE NAMES freetype HINTS ${OpenCASCADE_LIBRARY_DIR})
reply other threads:[~2026-10-16 23:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179219330436.1.4991604177763290193.rpms-netgen-mesher-1ca4888003e6@fedoraproject.org \
--to=manisandro@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox