From 2a9f08c8f2397eec54d8cf39dc12f42c18b4dbbe2694c45a2eab59cb5c315d87 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 9 Jan 2020 23:31:14 +0000 Subject: [PATCH 1/2] - u_fno-common.patch * fix build with gcc's -fno-common option (boo#1160278) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xf86-video-ati?expand=0&rev=85 --- u_fno-common.patch | 11 +++++++++++ xf86-video-ati.changes | 6 ++++++ xf86-video-ati.spec | 4 +++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 u_fno-common.patch diff --git a/u_fno-common.patch b/u_fno-common.patch new file mode 100644 index 0000000..ce0174b --- /dev/null +++ b/u_fno-common.patch @@ -0,0 +1,11 @@ +--- xf86-video-ati-19.1.0.old/src/drmmode_display.h 2020-01-09 23:19:29.783677517 +0000 ++++ xf86-video-ati-19.1.0/src/drmmode_display.h 2020-01-09 23:20:10.268450223 +0000 +@@ -262,7 +262,7 @@ Bool drmmode_wait_vblank(xf86CrtcPtr crt + uint64_t *ust, uint32_t *result_seq); + + +-miPointerSpriteFuncRec drmmode_sprite_funcs; ++extern miPointerSpriteFuncRec drmmode_sprite_funcs; + + + #endif diff --git a/xf86-video-ati.changes b/xf86-video-ati.changes index 286c050..c17ecc6 100644 --- a/xf86-video-ati.changes +++ b/xf86-video-ati.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 9 23:26:04 UTC 2020 - Stefan Dirsch + +- u_fno-common.patch + * fix build with gcc's -fno-common option (boo#1160278) + ------------------------------------------------------------------- Tue Oct 15 16:55:49 UTC 2019 - Stefan Dirsch diff --git a/xf86-video-ati.spec b/xf86-video-ati.spec index 3cedc92..64c9e85 100644 --- a/xf86-video-ati.spec +++ b/xf86-video-ati.spec @@ -1,7 +1,7 @@ # # spec file for package xf86-video-ati # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,7 @@ Url: http://xorg.freedesktop.org/ Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2 Source1: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2.sig Source2: %{name}.keyring +Patch0: u_fno-common.patch BuildRequires: autoconf >= 2.60 BuildRequires: automake BuildRequires: libtool @@ -66,6 +67,7 @@ driver as appropriate. %prep %setup -q +%patch0 -p1 %build autoreconf -fiv From 794930fa46dc84848aee7b15af9d0d4cfcd0236d9f80d2c80fa0f6f8ca936b45 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 9 Jan 2020 23:46:47 +0000 Subject: [PATCH 2/2] fixed bug number OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xf86-video-ati?expand=0&rev=86 --- xf86-video-ati.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xf86-video-ati.changes b/xf86-video-ati.changes index c17ecc6..86de9f7 100644 --- a/xf86-video-ati.changes +++ b/xf86-video-ati.changes @@ -2,7 +2,7 @@ Thu Jan 9 23:26:04 UTC 2020 - Stefan Dirsch - u_fno-common.patch - * fix build with gcc's -fno-common option (boo#1160278) + * fix build with gcc's -fno-common option (boo#1160422) ------------------------------------------------------------------- Tue Oct 15 16:55:49 UTC 2019 - Stefan Dirsch