Hello community,
here is the log from the commit of package xf86-video-openchrome for
openSUSE:Factory checked in at 2020-06-10 00:50:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-video-openchrome (Old)
and /work/SRC/openSUSE:Factory/.xf86-video-openchrome.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-openchrome"
Wed Jun 10 00:50:43 2020 rev:12 rq:812880 version:0.6.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/xf86-video-openchrome/xf86-video-openchrome.changes
2018-05-29 16:51:08.922304544 +0200
+++
/work/SRC/openSUSE:Factory/.xf86-video-openchrome.new.3606/xf86-video-openchrome.changes
2020-06-10 00:50:45.803313417 +0200
@@ -1,0 +2,6 @@
+Tue Jun 9 11:06:06 UTC 2020 - Stefan Dirsch <[email protected]>
+
+- u_gcc10.patch
+ * fixes build against gcc10, which uses -fno-common by default
+
+-------------------------------------------------------------------
New:
----
u_gcc10.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xf86-video-openchrome.spec ++++++
--- /var/tmp/diff_new_pack.9JNfdK/_old 2020-06-10 00:50:46.415315018 +0200
+++ /var/tmp/diff_new_pack.9JNfdK/_new 2020-06-10 00:50:46.419315029 +0200
@@ -1,7 +1,7 @@
#
# spec file for package xf86-video-openchrome
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -22,9 +22,10 @@
Summary: Openchrome driver (VIA GPUs) for the Xorg X server
License: MIT
Group: System/X11/Servers/XF86_4
-Url: http://xorg.freedesktop.org/
+URL: http://xorg.freedesktop.org/
Source0:
http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
Patch0: n_xorg-server-1.20.patch
+Patch1: u_gcc10.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(x11)
@@ -42,6 +43,7 @@
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%configure
++++++ u_gcc10.patch ++++++
diff -u -r -p xf86-video-openchrome-0.6.0.old/src/via_driver.h
xf86-video-openchrome-0.6.0/src/via_driver.h
--- xf86-video-openchrome-0.6.0.old/src/via_driver.h 2020-06-09
10:58:52.420835420 +0000
+++ xf86-video-openchrome-0.6.0/src/via_driver.h 2020-06-09
11:00:52.395304562 +0000
@@ -394,8 +394,8 @@ typedef struct
/* In via_display.c. */
-const xf86CrtcFuncsRec iga1_crtc_funcs;
-const xf86CrtcFuncsRec iga2_crtc_funcs;
+extern const xf86CrtcFuncsRec iga1_crtc_funcs;
+extern const xf86CrtcFuncsRec iga2_crtc_funcs;
/* In via_exa.c. */
Bool viaInitExa(ScreenPtr pScreen);
diff -u -r -p xf86-video-openchrome-0.6.0.old/src/via_sii164.h
xf86-video-openchrome-0.6.0/src/via_sii164.h
--- xf86-video-openchrome-0.6.0.old/src/via_sii164.h 2020-06-09
10:58:52.416835339 +0000
+++ xf86-video-openchrome-0.6.0/src/via_sii164.h 2020-06-09
11:03:01.321957561 +0000
@@ -47,7 +47,7 @@ typedef struct _viaSiI164 {
} viaSiI164Rec, *viaSiI164RecPtr;
-const xf86OutputFuncsRec via_sii164_funcs;
+extern const xf86OutputFuncsRec via_sii164_funcs;
Bool viaSiI164Init(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus);
diff -u -r -p xf86-video-openchrome-0.6.0.old/src/via_vt1632.h
xf86-video-openchrome-0.6.0/src/via_vt1632.h
--- xf86-video-openchrome-0.6.0.old/src/via_vt1632.h 2020-06-09
10:58:52.428835584 +0000
+++ xf86-video-openchrome-0.6.0/src/via_vt1632.h 2020-06-09
11:01:55.924611902 +0000
@@ -44,7 +44,7 @@ typedef struct _viaVT1632Rec {
} viaVT1632Rec, *viaVT1632RecPtr;
-const xf86OutputFuncsRec via_vt1632_funcs;
+extern const xf86OutputFuncsRec via_vt1632_funcs;
Bool viaVT1632Init(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus);