From 844daaa67d1573732f143e63a115067bbc27b2a2c2a639fa20bcb3ec55237eeb Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 2 Nov 2024 16:21:52 +0000 Subject: [PATCH] [info=5037deed9e819852961aea86956727af9511b985ca0ac2394f0f94c4104328f0] OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfvalue?expand=0&rev=28 --- 0001-Export-libfvalue_value_get_entry.patch | 58 ++++++++++++--------- _scmsync.obsinfo | 4 +- build.specials.obscpio | 2 +- 3 files changed, 37 insertions(+), 27 deletions(-) diff --git a/0001-Export-libfvalue_value_get_entry.patch b/0001-Export-libfvalue_value_get_entry.patch index a9a7e1f..f63a06b 100644 --- a/0001-Export-libfvalue_value_get_entry.patch +++ b/0001-Export-libfvalue_value_get_entry.patch @@ -7,15 +7,29 @@ Subject: [PATCH] Export libfvalue_value_get_entry it needs to be exported for DLLs to work correctly. This patch corrects that problem. --- - include/libfvalue.h.in | 17 +++++++++++++++++ - libfvalue/libfvalue_value.h | 8 -------- - 2 files changed, 17 insertions(+), 8 deletions(-) + include/libfvalue.h.in | 33 +++++++++++++++++++++++++++++++++ + 1 file changed, 33 insertions(+) Index: libfvalue-20240415/include/libfvalue.h.in =================================================================== --- libfvalue-20240415.orig/include/libfvalue.h.in +++ libfvalue-20240415/include/libfvalue.h.in -@@ -943,6 +943,14 @@ int libfvalue_value_get_number_of_value_ +@@ -210,6 +210,14 @@ int libfvalue_data_handle_set_value_entr + int encoding, + libfvalue_error_t **error ); + ++LIBFVALUE_EXTERN \ ++int libfvalue_data_handle_append_value_entry( ++ libfvalue_data_handle_t *data_handle, ++ int *value_entry_index, ++ size_t value_entry_offset, ++ size_t value_entry_size, ++ libcerror_error_t **error ); ++ + /* Appends a value entry + * Returns if successful or -1 on error + */ +@@ -943,6 +951,14 @@ int libfvalue_value_get_number_of_value_ int *number_of_value_entries, libfvalue_error_t **error ); @@ -30,7 +44,22 @@ Index: libfvalue-20240415/include/libfvalue.h.in /* Retrieves the entry data * Returns 1 if successful, 0 if the value has no data or -1 on error */ -@@ -979,6 +987,15 @@ int libfvalue_value_append_entry_data( +@@ -967,6 +983,14 @@ int libfvalue_value_set_entry_data( + int encoding, + libfvalue_error_t **error ); + ++LIBFVALUE_EXTERN \ ++int libfvalue_value_append_entry( ++ libfvalue_value_t *value, ++ int *value_entry_index, ++ size_t entry_data_offset, ++ size_t entry_data_size, ++ libcerror_error_t **error ); ++ + /* Appends the entry data + * Returns 1 if successful or -1 on error + */ +@@ -979,6 +1003,15 @@ int libfvalue_value_append_entry_data( int encoding, libfvalue_error_t **error ); @@ -46,22 +75,3 @@ Index: libfvalue-20240415/include/libfvalue.h.in /* Copies the value data from a boolean value * Returns 1 if successful, 0 if value could not be set or -1 on error */ -Index: libfvalue-20240415/libfvalue/libfvalue_value.h -=================================================================== ---- libfvalue-20240415.orig/libfvalue/libfvalue_value.h -+++ libfvalue-20240415/libfvalue/libfvalue_value.h -@@ -462,14 +462,6 @@ int libfvalue_value_get_number_of_value_ - libcerror_error_t **error ); - - LIBFVALUE_EXTERN \ --int libfvalue_value_get_entry( -- libfvalue_value_t *value, -- int value_entry_index, -- size_t *entry_data_offset, -- size_t *entry_data_size, -- libcerror_error_t **error ); -- --LIBFVALUE_EXTERN \ - int libfvalue_value_set_entry( - libfvalue_value_t *value, - int value_entry_index, diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo index 44e9d72..0d2d8ff 100644 --- a/_scmsync.obsinfo +++ b/_scmsync.obsinfo @@ -1,4 +1,4 @@ -mtime: 1730563711 -commit: 2df836ddb736a13c96397f8a36728b284fa44260e021c3e579dab154216f66c4 +mtime: 1730564497 +commit: 5037deed9e819852961aea86956727af9511b985ca0ac2394f0f94c4104328f0 url: https://src.opensuse.org/jengelh/libfvalue revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio index 70c6d4a..08ef022 100644 --- a/build.specials.obscpio +++ b/build.specials.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b384314197b8d1796dff99a4cdb03e297e13b1501c54c11edd2dd4aaa99d21db +oid sha256:a7c359ec2e0f2c6a14b2e3afe80100d363bd71d1f9be06de19cfd230f041f349 size 256