forked from pool/adriconf
Accepting request 1074957 from home:iznogood:branches:X11:Utilities
- Add fix-missing-include.patch: Add missing include exposed by gcc13. OBS-URL: https://build.opensuse.org/request/show/1074957 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/adriconf?expand=0&rev=15
This commit is contained in:
parent
786a736ccf
commit
516d6cb7ab
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 28 09:26:46 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Add fix-missing-include.patch: Add missing include exposed by
|
||||
gcc13.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 15:37:10 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
|
||||
|
||||
|
@ -26,6 +26,8 @@ URL: https://gitlab.freedesktop.org/mesa/adriconf
|
||||
Source0: https://gitlab.freedesktop.org/mesa/adriconf/-/archive/v%{version}/adriconf-v%{version}.tar.bz2
|
||||
Source1: adriconf.desktop
|
||||
Source2: driconf-icon.png
|
||||
# PATCH-FIX-UPSTREAM fix-missing-include.patch -- Add missing include exposed by gcc 13
|
||||
Patch0: fix-missing-include.patch
|
||||
BuildRequires: Mesa-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
@ -53,7 +55,7 @@ the standard drirc file used by the Mesa drivers.
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-v%{version}
|
||||
%autosetup -n %{name}-v%{version} -p1
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
|
22
fix-missing-include.patch
Normal file
22
fix-missing-include.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -Nur adriconf-v2.6.0-orig/adriconf/Utils/PCIDatabaseQuery.h adriconf-v2.6.0/adriconf/Utils/PCIDatabaseQuery.h
|
||||
--- adriconf-v2.6.0-orig/adriconf/Utils/PCIDatabaseQuery.h 2023-03-28 11:58:00.433964215 +0200
|
||||
+++ adriconf-v2.6.0/adriconf/Utils/PCIDatabaseQuery.h 2023-03-28 11:59:12.830851304 +0200
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <glibmm/ustring.h>
|
||||
#include "PCIDatabaseQueryInterface.h"
|
||||
+#include <cstdint>
|
||||
|
||||
extern "C" {
|
||||
#include <pci/pci.h>
|
||||
diff -Nur adriconf-v2.6.0-orig/adriconf/Utils/PCIDatabaseQueryInterface.h adriconf-v2.6.0/adriconf/Utils/PCIDatabaseQueryInterface.h
|
||||
--- adriconf-v2.6.0-orig/adriconf/Utils/PCIDatabaseQueryInterface.h 2023-03-28 11:58:13.394123341 +0200
|
||||
+++ adriconf-v2.6.0/adriconf/Utils/PCIDatabaseQueryInterface.h 2023-03-28 11:59:27.811034337 +0200
|
||||
@@ -2,6 +2,7 @@
|
||||
#define ADRICONF_PCIDATABASEQUERYINTERFACE_H
|
||||
|
||||
#include <glibmm/ustring.h>
|
||||
+#include <cstdint>
|
||||
|
||||
class PCIDatabaseQueryInterface {
|
||||
public:
|
Loading…
Reference in New Issue
Block a user