public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/soci] update-to-4.1.4: Re-added missing empty backend header file
@ 2026-06-20  4:40 Denis Arnaud
  0 siblings, 0 replies; only message in thread
From: Denis Arnaud @ 2026-06-20  4:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/soci
Branch : update-to-4.1.4
Commit : c8baeac96979a73de8f8bc5ad05b27fb5a64cc1b
Author : Denis Arnaud <denis.arnaud_fedora@m4x.org>
Date   : 2025-03-24T13:23:46+01:00
Stats  : +17/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/soci/c/c8baeac96979a73de8f8bc5ad05b27fb5a64cc1b?branch=update-to-4.1.4

Log:
Re-added missing empty backend header file

---
diff --git a/soci-empty-headers.patch b/soci-empty-headers.patch
new file mode 100644
index 0000000..e1498d5
--- /dev/null
+++ b/soci-empty-headers.patch
@@ -0,0 +1,14 @@
+diff --git a/src/backends/empty/CMakeLists.txt b/src/backends/empty/CMakeLists.txt
+index 4a141fb8..8d6b7ece 100644
+--- a/src/backends/empty/CMakeLists.txt
++++ b/src/backends/empty/CMakeLists.txt
+@@ -21,6 +21,8 @@ soci_define_backend_target(
+     "statement.cpp"
+     "vector-into-type.cpp"
+     "vector-use-type.cpp"
++  HEADER_FILES
++    "${PROJECT_SOURCE_DIR}/include/soci/empty/soci-empty.h"
+   MISSING_DEPENDENCY_BEHAVIOR "${DEPENDENCY_MODE}"
+   ENABLED_VARIABLE "SOCI_EMPTY"
+ )
+

diff --git a/soci.spec b/soci.spec
index 07135ed..ddc9a80 100644
--- a/soci.spec
+++ b/soci.spec
@@ -33,6 +33,7 @@ Source0:        %{url}/archive/v%{ups_ver}.tar.gz#/%{name}-%{version}.tar.gz
 # Works around a false positive -Wuninitialized error exposed by LTO
 Patch0:         soci-uninit.patch
 Patch1:         soci-unicode.patch
+Patch2:		soci-empty-headers.patch
 
 BuildRequires:  dos2unix
 BuildRequires:  gcc gcc-c++
@@ -185,6 +186,7 @@ library. The documentation is the same as at the %{name} web page.
 %setup -q -n %{name}-%{ups_ver}
 %patch -P0 -p1
 %patch -P1 -p1
+%patch -P2 -p1
 
 # Rename change-log and license file, so that they comply with
 # packaging standard
@@ -264,7 +266,7 @@ rm -f %{buildroot}%{_libdir}/*.a
 %doc AUTHORS ChangeLog COPYING NEWS README
 %dir %{_includedir}/%{name}/
 %{_includedir}/%{name}/*.h
-#%%{?with_empty:%%{_includedir}/%%{name}/empty/}
+%{?with_empty:%{_includedir}/%{name}/empty/}
 %{_libdir}/%{name}/lib%{name}_core.so
 %{?with_empty:%{_libdir}/%{name}/lib%{name}_empty.so}
 %{_datadir}/%{name}/CMake

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-20  4:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-20  4:40 [rpms/soci] update-to-4.1.4: Re-added missing empty backend header file Denis Arnaud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox