diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-05-28 13:38:19 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-07 09:58:05 -0500 |
commit | 83acd7503dace5593d0d9af73fc562dfc57b50ab (patch) | |
tree | fc862a0d64701d6296b443835769f5cd7fa67fbe /user/libnih/gcc10.patch | |
parent | d91ca4dc9994b040b76162c60cf8a0daeed20376 (diff) | |
download | packages-83acd7503dace5593d0d9af73fc562dfc57b50ab.tar.gz packages-83acd7503dace5593d0d9af73fc562dfc57b50ab.tar.bz2 packages-83acd7503dace5593d0d9af73fc562dfc57b50ab.tar.xz packages-83acd7503dace5593d0d9af73fc562dfc57b50ab.zip |
user/libnih: Fix for GCC -fno-common
Diffstat (limited to 'user/libnih/gcc10.patch')
-rw-r--r-- | user/libnih/gcc10.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/user/libnih/gcc10.patch b/user/libnih/gcc10.patch new file mode 100644 index 000000000..a118b1f53 --- /dev/null +++ b/user/libnih/gcc10.patch @@ -0,0 +1,15 @@ +GCC 10+ use -fno-common by default, which means we need to declare this 'extern'. + +There is no upstream to send this to. + +--- libnih-1.0.3/nih-dbus-tool/output.h.old 2010-09-20 18:17:01.000000000 -0500 ++++ libnih-1.0.3/nih-dbus-tool/output.h 2024-05-28 13:22:58.501847205 -0500 +@@ -27,7 +27,7 @@ + + NIH_BEGIN_EXTERN + +-char *output_package; ++extern char *output_package; + + int output (const char *source_path, int source_fd, + const char *header_path, int header_fd, |