From: Markham Date: Sun, 1 Oct 2023 20:42:12 +0000 (+0200) Subject: add patch to fix build fuse-exfat & exfat-utils X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=39f6f8c71c14f6339340635e89d7ac8554c5eae9;p=bs-cst-neutrino-hd.git add patch to fix build fuse-exfat & exfat-utils --- diff --git a/archive-patches/fuse-exfat_fix_c99.patch b/archive-patches/fuse-exfat_fix_c99.patch new file mode 100644 index 0000000..532db10 --- /dev/null +++ b/archive-patches/fuse-exfat_fix_c99.patch @@ -0,0 +1,15 @@ +--- a/libexfat/compiler.h ++++ b/libexfat/compiler.h +@@ -24,9 +24,9 @@ + #ifndef COMPILER_H_INCLUDED + #define COMPILER_H_INCLUDED + +-#if __STDC_VERSION__ < 199901L +-#error C99-compliant compiler is required +-#endif ++//#if __STDC_VERSION__ < 199901L ++//#error C99-compliant compiler is required ++//#endif + + #if defined(__clang__) + diff --git a/make/libraries.mk b/make/libraries.mk index 9e01b2b..66e0829 100755 --- a/make/libraries.mk +++ b/make/libraries.mk @@ -372,6 +372,7 @@ $(D)/fuse-exfat: $(ARCHIVE)/fuse-exfat-$(FUSE_EXFAT_VER).tar.gz $(D)/libfuse | $ $(REMOVE)/fuse-exfat-$(FUSE_EXFAT_VER) $(UNTAR)/fuse-exfat-$(FUSE_EXFAT_VER).tar.gz pushd $(BUILD_TMP)/fuse-exfat-$(FUSE_EXFAT_VER); \ + $(PATCH)/fuse-exfat_fix_c99.patch; \ autoreconf -fi; \ $(CONFIGURE) \ --prefix= \ @@ -388,6 +389,7 @@ $(D)/exfat-utils: $(ARCHIVE)/exfat-utils-$(EXFAT_UTILS_VER).tar.gz $(D)/fuse-exf $(REMOVE)/exfat-utils-$(EXFAT_UTILS_VER) $(UNTAR)/exfat-utils-$(EXFAT_UTILS_VER).tar.gz pushd $(BUILD_TMP)/exfat-utils-$(EXFAT_UTILS_VER); \ + $(PATCH)/fuse-exfat_fix_c99.patch; \ autoreconf -fi; \ $(CONFIGURE) \ --prefix= \