[info=b2e0839597dfb60e8e3c1b4ee7e0d8247d81d563c3e1c87d9e49916ea2251b0d]

OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfvalue?expand=0&rev=29
This commit is contained in:
OBS User unknown 2024-11-02 16:28:07 +00:00 committed by Git OBS Bridge
parent 844daaa67d
commit 3f3db034d7
3 changed files with 12 additions and 5 deletions

View File

@ -2,9 +2,16 @@ From 9829f2df776a28ac373a3235030123bcd902a06f Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Sat, 2 Nov 2024 16:36:19 +0100
Subject: [PATCH] Export libfvalue_value_get_entry
References: https://github.com/libyal/libfvalue/issues/6
References: https://github.com/libyal/libfvalue/pull/7
`libfvalue_value_get_entry`` is used externally, by libesedb. Hence,
it needs to be exported for DLLs to work correctly. This patch
libesedb_multi_value.c:338:13: error: implicit declaration of function 'libfvalue_value_get_entry'; did you mean 'libfvalue_value_get_data'? [-Wimplicit-function-declaration]
libesedb_multi_value.c:385:13: error: implicit declaration of function 'libfvalue_value_copy_entry_data'; did you mean 'libfvalue_value_set_entry_data'? [-Wimplicit-function-declaration]
libesedb_record.c:3813:29: error: implicit declaration of function 'libfvalue_value_append_entry'; did you mean 'libfvalue_value_append_entry_data'? [-Wimplicit-function-declaration]
libesedb_value_data_handle.c:175:29: error: implicit declaration of function 'libfvalue_data_handle_append_value_entry'; did you mean 'libfvalue_data_handle_append_value_entry_data'? [-Wimplicit-function-declaration]
``libfvalue_value_get_entry`` et al is used externally, by libesedb.
Hence, it needs to be exported for DLLs to work correctly. This patch
corrects that problem.
---
include/libfvalue.h.in | 33 +++++++++++++++++++++++++++++++++

View File

@ -1,4 +1,4 @@
mtime: 1730564497
commit: 5037deed9e819852961aea86956727af9511b985ca0ac2394f0f94c4104328f0
mtime: 1730564877
commit: b2e0839597dfb60e8e3c1b4ee7e0d8247d81d563c3e1c87d9e49916ea2251b0d
url: https://src.opensuse.org/jengelh/libfvalue
revision: master

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7c359ec2e0f2c6a14b2e3afe80100d363bd71d1f9be06de19cfd230f041f349
oid sha256:26f441b8cdab1a482b37c8bb24a4ff9f7e21dea70e8d3a2ba6a4a8b0ae8b8f6d
size 256