forked from pool/ansilove-term
Accepting request 1083726 from graphics
OBS-URL: https://build.opensuse.org/request/show/1083726 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ansilove-term?expand=0&rev=2
This commit is contained in:
commit
15858f303a
12
ansilove-term-gcc13.patch
Normal file
12
ansilove-term-gcc13.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: ansilove-term-0.0.0+git.20190908/src/libtextmode/utf8.h
|
||||
===================================================================
|
||||
--- ansilove-term-0.0.0+git.20190908.orig/src/libtextmode/utf8.h
|
||||
+++ ansilove-term-0.0.0+git.20190908/src/libtextmode/utf8.h
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
+#include <cstdint>
|
||||
|
||||
std::string cp_437_code_to_string(const uint8_t& cp_437);
|
||||
std::string cp_437_to_utf8_string(std::vector<uint8_t>& vector);
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 12 09:38:34 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Add ansilove-term-gcc13.patch: fix build using GCC 13.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 27 18:32:14 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#
|
||||
# spec file for package ansilove-term
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -26,6 +27,7 @@ URL: https://www.ansilove.org
|
||||
#Git-Clone: https://github.com/ansilove/ansilove-term.git
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Patch0: ansilove-term-use-gcc.patch
|
||||
Patch1: ansilove-term-gcc13.patch
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
%description
|
||||
@ -33,8 +35,7 @@ Ansilove-Term is a command line tool to render text-mode art files as
|
||||
PNG files, as well as displaying in several different mediums.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
export CXXFLAGS="%{optflags} -Wno-return-type"
|
||||
|
Loading…
Reference in New Issue
Block a user