Hello community, here is the log from the commit of package finalcut for openSUSE:Factory checked in at 2019-10-21 12:30:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/finalcut (Old) and /work/SRC/openSUSE:Factory/.finalcut.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "finalcut" Mon Oct 21 12:30:23 2019 rev:4 rq:741235 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/finalcut/finalcut.changes 2019-10-11 15:20:34.151567204 +0200 +++ /work/SRC/openSUSE:Factory/.finalcut.new.2352/finalcut.changes 2019-10-21 12:30:26.400099402 +0200 @@ -1,0 +2,10 @@ +Mon Oct 17 21:29:43 UTC 2019 - Markus Gans <[email protected]> + +- 0001-arm-glibc-2.30.patch: Fixes compilation error with arm architecture with glibc >= 2.30 + +------------------------------------------------------------------- +Mon Oct 15 01:14:57 UTC 2019 - Markus Gans <[email protected]> + +- Release (version 0.6.0) + +------------------------------------------------------------------- @@ -2,0 +13 @@ + @@ -6,0 +18 @@ + @@ -35,0 +48 @@ + @@ -39,0 +53 @@ + @@ -43,0 +58 @@ + @@ -47,0 +63 @@ + @@ -51,0 +68 @@ + Old: ---- finalcut-0.5.1.tar.gz New: ---- 0001-arm-glibc-2.30.patch finalcut-0.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ finalcut.spec ++++++ --- /var/tmp/diff_new_pack.WcEZpc/_old 2019-10-21 12:30:27.804100994 +0200 +++ /var/tmp/diff_new_pack.WcEZpc/_new 2019-10-21 12:30:27.808100998 +0200 @@ -1,7 +1,7 @@ # # spec file for package finalcut.spec # -# Copyright (c) 2018 by Markus Gans +# Copyright (c) 2019 by Markus Gans # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,22 +18,26 @@ %define sover 0 Name: finalcut -Version: 0.5.1 +Version: 0.6.0 Release: 0 Summary: Console widget library License: LGPL-3.0-or-later Group: Development/Libraries/C and C++ URL: https://github.com/gansm/finalcut/ Source: https://github.com/gansm/finalcut/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: 0001-arm-glibc-2.30.patch +BuildRequires: autoconf +BuildRequires: autoconf-archive BuildRequires: automake -BuildRequires: gcc-c++ +BuildRequires: gcc-c++ >= 5.1 BuildRequires: glib2-devel BuildRequires: gpm-devel +BuildRequires: gdb BuildRequires: libtool BuildRequires: ncurses-devel %description -The Final Cut is a class library and widget toolkit with full mouse +FINAL CUT is a class library and widget toolkit with full mouse support for creating a text-based user interface. The library supports the programmer to develop an application for the text console. It allows the simultaneous handling of multiple windows on the screen. @@ -42,12 +46,12 @@ radio buttons, input lines, list boxes, status bars and so on. %package -n libfinal-devel -Summary: Development files for The Final Cut text widget library +Summary: Development files for the FINAL CUT text widget library Group: Development/Libraries/C and C++ Requires: libfinal%{sover} = %{version} Requires: bdftopcf Requires: coreutils -Requires: gcc-c++ +Requires: gcc-c++ >= 5.1 Requires: grep Requires: gzip Requires: sed @@ -57,7 +61,7 @@ Recommends: %{name}-examples = %{version} %description -n libfinal-devel -The Final Cut is a class library and widget toolkit with full mouse +FINAL CUT is a class library and widget toolkit with full mouse support for creating a text-based user interface. The library supports the programmer to develop an application for the text console. It allows the simultaneous handling of multiple windows on the screen. @@ -66,14 +70,14 @@ radio buttons, input lines, list boxes, status bars and so on. %package -n libfinal-examples -Summary: Example files for The Final Cut library +Summary: Example files for the FINAL CUT library Group: Development/Languages/C and C++ BuildArch: noarch Provides: finalcut-examples = %{version} Obsoletes: finalcut-examples < %{version} %description -n libfinal-examples -The Final Cut is a class library and widget toolkit with full mouse +FINAL CUT is a class library and widget toolkit with full mouse support for creating a text-based user interface. The library supports the programmer to develop an application for the text console. It allows the simultaneous handling of multiple windows on the screen. @@ -86,7 +90,7 @@ Group: System/Libraries %description -n libfinal%{sover} -The Final Cut is a class library and widget toolkit with full mouse +FINAL CUT is a class library and widget toolkit with full mouse support for creating a text-based user interface. The library supports the programmer to develop an application for the text console. It allows the simultaneous handling of multiple windows on the screen. @@ -96,6 +100,7 @@ %prep %setup -q +%patch0 -p1 %build autoreconf -vif @@ -110,8 +115,10 @@ make install libdir=%{buildroot}%{_libdir}/ \ includedir=%{buildroot}%{_includedir} \ bindir=%{buildroot}%{_bindir} \ - docdir=%{buildroot}%{_docdir}/%{name}/ + docdir=%{buildroot}%{_docdir}/%{name}/ \ + fontdir=%{buildroot}%{_miscfontsdir}/%{name}/ mkdir -p %{buildroot}%{_docdir}/%{name}/examples +mkdir -p %{buildroot}%{_miscfontsdir}/%{name}/ cp -p examples/*.cpp %{buildroot}%{_docdir}/%{name}/examples cp -p examples/Makefile.clang %{buildroot}%{_docdir}/%{name}/examples cp -p examples/Makefile.gcc %{buildroot}%{_docdir}/%{name}/examples ++++++ 0001-arm-glibc-2.30.patch ++++++ --- 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 <sys/io.h> // <asm/io.h> 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 <sys/io.h> + #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 { ++++++ finalcut-0.5.1.tar.gz -> finalcut-0.6.0.tar.gz ++++++ ++++ 85039 lines of diff (skipped)
