Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

2 changed files with 2 additions and 41 deletions

View file

@ -1,38 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
Date: Sun, 31 Aug 2026 00:00:00 +0000
Subject: [PATCH 19/19] fix: add missing brdb_value_t<vpgl_camera_double_sptr>
instantiation to bbas_pro
Several bbas_pro process files (bbas_camera_angles_process,
bpgl_heightmap_from_disparity_process, bpgl_rectify_affine_image_pair_process)
use vpgl_camera_double_sptr via brdb_value_t but the library lacks its own
explicit template instantiation.
On other architectures the symbols are pulled in implicitly through
transitive link dependencies, but on RISC-V the stricter --as-needed
linker behavior exposes the missing instantiation, causing undefined
reference errors for brdb_value_t<vpgl_camera_double_sptr> methods
(assign, eq, lt, b_read_value, b_write_value, get_type_string) when
linking libbbas_pro.so consumers such as bbgm_pro_test_all.
Assisted-by: Claude (Anthropic)
---
.../Templates/brdb_value_t+vpgl_camera_double_sptr-.cxx | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 contrib/brl/bpro/core/bbas_pro/Templates/brdb_value_t+vpgl_camera_double_sptr-.cxx
diff --git a/contrib/brl/bpro/core/bbas_pro/Templates/brdb_value_t+vpgl_camera_double_sptr-.cxx b/contrib/brl/bpro/core/bbas_pro/Templates/brdb_value_t+vpgl_camera_double_sptr-.cxx
new file mode 100644
index 0000000000..6a44437000
--- /dev/null
+++ b/contrib/brl/bpro/core/bbas_pro/Templates/brdb_value_t+vpgl_camera_double_sptr-.cxx
@@ -0,0 +1,5 @@
+#include "vpgl/vpgl_camera_double_sptr.h"
+#include <vpgl/io/vpgl_io_camera.h>
+#include <brdb/brdb_value.hxx>
+
+BRDB_VALUE_INSTANTIATE(vpgl_camera_double_sptr, "vpgl_camera_double_sptr");
--
2.49.0

View file

@ -57,11 +57,9 @@ Patch: 0016-v3.5.0-fix-linking.patch
Patch: 0017-v3.5.0-remove-boxm2-processes-that-use-sdnet-that-re.patch
# remove ctest dashboard config
Patch: 0018-chore-remove-ctest-dashboard-config.patch
# fix missing brdb_value_t<vpgl_camera_double_sptr> instantiation in bbas_pro (RISC-V linker)
Patch: 0019-v3.5.0-fix-bbas_pro-missing-vpgl_camera-template.patch
BuildRequires: cmake
BuildRequires: Coin4-devel
BuildRequires: Coin2-devel
BuildRequires: doxygen
BuildRequires: expat-devel
BuildRequires: expatpp-devel
@ -97,6 +95,7 @@ Provides: bundled(libopenjpeg2) = 2.0.0
# BuildRequires: python3-devel
BuildRequires: rply-devel
BuildRequires: SIMVoleon-devel
BuildRequires: shapelib-devel
BuildRequires: texi2html
BuildRequires: zlib-ng-compat-devel