summaryrefslogtreecommitdiff
path: root/freefilesync/ffs_bit.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-10-22 13:56:22 -0400
committerB Stack <bgstack15@gmail.com>2019-10-22 13:56:22 -0400
commit1240098e4905fc5fdf54740709873bed5137f7eb (patch)
tree90cf843f39b7886d3e8cbaa273c7d5b92ca64c13 /freefilesync/ffs_bit.patch
parentWIP: fix el patch (diff)
downloadstackrpms-1240098e4905fc5fdf54740709873bed5137f7eb.tar.gz
stackrpms-1240098e4905fc5fdf54740709873bed5137f7eb.tar.bz2
stackrpms-1240098e4905fc5fdf54740709873bed5137f7eb.zip
WIP: test a separate patch for the include <bit>
Diffstat (limited to 'freefilesync/ffs_bit.patch')
-rw-r--r--freefilesync/ffs_bit.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/freefilesync/ffs_bit.patch b/freefilesync/ffs_bit.patch
new file mode 100644
index 0000000..3cc6ccc
--- /dev/null
+++ b/freefilesync/ffs_bit.patch
@@ -0,0 +1,26 @@
+Author: bgstack15
+Date: 2019-10-22
+Version: FreeFileSync 10.17
+Distro: el7,el8,fc29
+Message: Some library is not available to these older distros, and it doesn't matter too much so far.
+diff -Naur -x '*.orig' -x '*.rej' -x '*.swp' 10.17-0/zen/build_info.h 10.17-1/zen/build_info.h
+--- 10.17-0/zen/build_info.h 2019-10-21 11:23:51.249139703 -0400
++++ 10.17-1/zen/build_info.h 2019-10-22 13:53:00.207113564 -0400
+@@ -7,7 +7,7 @@
+ #ifndef BUILD_INFO_H_5928539285603428657
+ #define BUILD_INFO_H_5928539285603428657
+
+- #include <bit> //std::endian
++ //#include <bit> //std::endian
+
+ #define ZEN_ARCH_32BIT 32
+ #define ZEN_ARCH_64BIT 64
+@@ -24,7 +24,7 @@
+
+ constexpr bool usingLittleEndian()
+ {
+- return std::endian::native == std::endian::little;
++ return true;
+ }
+
+ #endif //BUILD_INFO_H_5928539285603428657
bgstack15