Skip to content

Commit

Permalink
attr: fix build with GCC 14.x
Browse files Browse the repository at this point in the history
Add a trivial patch in order to do so.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
  • Loading branch information
rsalvaterra committed May 7, 2024
1 parent 19ea26c commit 10f697e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions utils/attr/patches/103-fix_gcc_14_build.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Index: attr-2.5.2/tools/attr.c
===================================================================
--- attr-2.5.2.orig/tools/attr.c
+++ attr-2.5.2/tools/attr.c
@@ -28,6 +28,7 @@
#include <errno.h>
#include <string.h>
#include <locale.h>
+#include <libgen.h>

#include <attr/attributes.h>

0 comments on commit 10f697e

Please sign in to comment.