From 7e0dfb4c50be8a7e7f6d74d1ac37da85d375acdf Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 24 Aug 2022 18:47:28 +0300 Subject: [PATCH] libarchive rebuild glibc --- system/devel/libarchive/files/glibc.patch | 14 ++++++++++++++ system/devel/libarchive/pspec.xml | 10 ++++++++++ 2 files changed, 24 insertions(+) create mode 100644 system/devel/libarchive/files/glibc.patch diff --git a/system/devel/libarchive/files/glibc.patch b/system/devel/libarchive/files/glibc.patch new file mode 100644 index 00000000..626fb336 --- /dev/null +++ b/system/devel/libarchive/files/glibc.patch @@ -0,0 +1,14 @@ +diff -Nuar a/tar/write.c b/tar/write.c +--- a/tar/write.c 2022-04-08 14:40:26.000000000 +0300 ++++ b/tar/write.c 2022-08-24 11:26:50.499748792 +0300 +@@ -33,7 +33,9 @@ + #ifdef HAVE_SYS_STAT_H + #include + #endif +-#ifdef HAVE_ATTR_XATTR_H ++#if HAVE_SYS_XATTR_H ++#include ++#elif HAVE_ATTR_XATTR_H + #include + #endif + #ifdef HAVE_ERRNO_H diff --git a/system/devel/libarchive/pspec.xml b/system/devel/libarchive/pspec.xml index 25954c40..0f21391c 100644 --- a/system/devel/libarchive/pspec.xml +++ b/system/devel/libarchive/pspec.xml @@ -26,6 +26,9 @@ lzo-devel zlib-devel + + glibc.patch + @@ -64,6 +67,13 @@ + + 202-07-24 + 3.6.1 + Rebuild + Mustafa Cinasal + muscnsl@gmail.com + 202-05-05 3.6.1