]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
add patch to fix build fuse-exfat & exfat-utils
authorMarkham <markham001@gmx.de>
Sun, 1 Oct 2023 20:42:12 +0000 (22:42 +0200)
committerMarkham <markham001@gmx.de>
Sun, 1 Oct 2023 20:42:12 +0000 (22:42 +0200)
archive-patches/fuse-exfat_fix_c99.patch [new file with mode: 0644]
make/libraries.mk

diff --git a/archive-patches/fuse-exfat_fix_c99.patch b/archive-patches/fuse-exfat_fix_c99.patch
new file mode 100644 (file)
index 0000000..532db10
--- /dev/null
@@ -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__)
index 9e01b2bcde8b3d635b0e3ea22d713d65e2cd0d62..66e0829462f9fee55b61941b7554911a737acc80 100755 (executable)
@@ -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= \