From 895297ae869a6ebc40d2c00f65af60022c854e8f52518c05d6a880763a14180a Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Thu, 17 Oct 2019 21:57:58 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/finalcut?expand=0&rev=19 --- 0001-arm-glibc-2.30.patch | 65 --------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 0001-arm-glibc-2.30.patch diff --git a/0001-arm-glibc-2.30.patch b/0001-arm-glibc-2.30.patch deleted file mode 100644 index 8fc88b9..0000000 --- a/0001-arm-glibc-2.30.patch +++ /dev/null @@ -1,65 +0,0 @@ ---- a/src/include/final/fsystemimpl.h -+++ b/src/include/final/fsystemimpl.h -@@ -36,9 +36,19 @@ - #endif - - #if defined(__linux__) -- #if defined(__x86_64__) || defined(__i386) || defined(__arm__) -- #include // is deprecated -- #endif // defined(__x86_64__) || defined(__i386) || defined(__arm__) -+ -+ #if defined(__arm__) && defined(__GLIBC__) && defined(__GLIBC_PREREQ) -+ // ISA sysctl support on arm processors only up to glibc-2.29 -+ #if !__GLIBC_PREREQ(2,30) -+ #define ARM_ISA_SYSCTL -+ #endif -+ #endif -+ -+ #if defined(__x86_64__) || defined(__i386) || defined(ARM_ISA_SYSCTL) -+ #define ISA_SYSCTL_SUPPORT -+ #include -+ #endif // defined(__x86_64__) || defined(__i386) || defined(ARM_ISA_SYSCTL) -+ - #endif // defined(__linux__) - - #if defined(__sun) && defined(__SVR4) -@@ -88,8 +98,7 @@ class FSystemImpl : public FSystem - virtual ~FSystemImpl(); - - // Methods --#if defined(__linux__) --#if defined(__x86_64__) || defined(__i386) || defined(__arm__) -+#if defined(ISA_SYSCTL_SUPPORT) - uChar inPortByte (uShort port) override - { - return ::inb (port); -@@ -100,16 +109,9 @@ class FSystemImpl : public FSystem - return 0; - } - #endif --#else -- uChar inPortByte (uShort) override -- { -- return 0; -- } --#endif - - --#if defined(__linux__) --#if defined(__x86_64__) || defined(__i386) || defined(__arm__) -+#if defined(ISA_SYSCTL_SUPPORT) - void outPortByte (uChar value, uShort port) override - { - ::outb (value, port); -@@ -118,11 +120,6 @@ class FSystemImpl : public FSystem - void outPortByte (uChar, uShort) override - { } - #endif --#else -- void outPortByte (uChar, uShort) override -- { } --#endif -- - - int isTTY (int fd) override - {