Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2a903a7b20 | |||
| 8a7482da34 |
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -9,7 +9,7 @@
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
#*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
From d8b74e872ae054f16c55c144db9799297a7e6d0a Mon Sep 17 00:00:00 2001
|
||||
From: Joel Uckelman <joel.uckelman@aon.com>
|
||||
Date: Wed, 3 Jul 2024 17:44:20 +0100
|
||||
Subject: [PATCH] Added missing declaration of function used externally.
|
||||
References: https://github.com/libyal/libfwnt/pull/14
|
||||
|
||||
---
|
||||
include/libfwnt.h.in | 4 ++++
|
||||
libfwnt/libfwnt_locale_identifier.h | 3 +++
|
||||
2 files changed, 7 insertions(+)
|
||||
|
||||
diff --git a/include/libfwnt.h.in b/include/libfwnt.h.in
|
||||
index 3c8c6aa..43e3806 100644
|
||||
--- a/include/libfwnt.h.in
|
||||
+++ b/include/libfwnt.h.in
|
||||
@@ -128,6 +128,10 @@ int libfwnt_error_backtrace_sprint(
|
||||
* Locale identifier (LCID) functions
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
+LIBFWNT_EXTERN \
|
||||
+const char *libfwnt_locale_identifier_language_tag_get_identifier(
|
||||
+ uint16_t lcid_language_tag );
|
||||
+
|
||||
/* -------------------------------------------------------------------------
|
||||
* Security descriptor functions
|
||||
* ------------------------------------------------------------------------- */
|
||||
diff --git a/libfwnt/libfwnt_locale_identifier.h b/libfwnt/libfwnt_locale_identifier.h
|
||||
index cfa040d..ebea8bd 100644
|
||||
--- a/libfwnt/libfwnt_locale_identifier.h
|
||||
+++ b/libfwnt/libfwnt_locale_identifier.h
|
||||
@@ -25,6 +25,8 @@
|
||||
#include <common.h>
|
||||
#include <types.h>
|
||||
|
||||
+#include "libfwnt_extern.h"
|
||||
+
|
||||
#if defined( __cplusplus )
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -46,6 +48,7 @@ struct libfwnt_locale_identifier_language_tag
|
||||
const char *description;
|
||||
};
|
||||
|
||||
+LIBFWNT_EXTERN \
|
||||
const char *libfwnt_locale_identifier_language_tag_get_identifier(
|
||||
uint16_t lcid_language_tag );
|
||||
|
||||
--
|
||||
2.47.0
|
||||
|
||||
Binary file not shown.
@@ -1,8 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 2 15:40:15 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Add 0001-Added-missing-declaration-of-function-used-externall.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 17:31:32 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ Source: https://github.com/libyal/libfwnt/releases/download/%version/lib
|
||||
Source2: https://github.com/libyal/libfwnt/releases/download/%version/libfwnt-alpha-%version.tar.gz.asc
|
||||
Source3: %name.keyring
|
||||
Source11: Locale_identifier_LCID.pdf
|
||||
Patch1: 0001-Added-missing-declaration-of-function-used-externall.patch
|
||||
BuildRequires: %python_module devel
|
||||
BuildRequires: %python_module setuptools
|
||||
BuildRequires: c_compiler
|
||||
|
||||
Reference in New Issue
Block a user