Accepting request 762589 from X11:XOrg

- u_fno-common.patch
  * fix build with gcc's -fno-common option (boo#1160422)

OBS-URL: https://build.opensuse.org/request/show/762589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xf86-video-ati?expand=0&rev=38
This commit is contained in:
Dominique Leuenberger 2020-01-12 22:17:57 +00:00 committed by Git OBS Bridge
commit 66e5c30e96
3 changed files with 20 additions and 1 deletions

11
u_fno-common.patch Normal file
View File

@ -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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 9 23:26:04 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- u_fno-common.patch
* fix build with gcc's -fno-common option (boo#1160422)
-------------------------------------------------------------------
Tue Oct 15 16:55:49 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -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