mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
givaro: patch for gcc 13
This commit is contained in:
parent
f790f379dd
commit
a8cdcd8beb
2 changed files with 24 additions and 1 deletions
23
srcpkgs/givaro/patches/218.patch
Normal file
23
srcpkgs/givaro/patches/218.patch
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
From c7744bb133496cd7ac04688f345646d505e1bf52 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||||
|
Date: Thu, 19 Jan 2023 09:12:22 -0500
|
||||||
|
Subject: [PATCH] Add missing #include <cstdint> for (u)int64_t
|
||||||
|
|
||||||
|
Fixes failure to compile on GCC 13.
|
||||||
|
---
|
||||||
|
src/library/poly1/givdegree.h | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/library/poly1/givdegree.h b/src/library/poly1/givdegree.h
|
||||||
|
index 3753a425..eb85a0dd 100644
|
||||||
|
--- a/src/library/poly1/givdegree.h
|
||||||
|
+++ b/src/library/poly1/givdegree.h
|
||||||
|
@@ -19,6 +19,8 @@
|
||||||
|
#ifndef __GIVARO_poly1degree_H
|
||||||
|
#define __GIVARO_poly1degree_H
|
||||||
|
|
||||||
|
+#include <cstdint>
|
||||||
|
+
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
namespace Givaro {
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'givaro'
|
# Template file for 'givaro'
|
||||||
pkgname=givaro
|
pkgname=givaro
|
||||||
version=4.2.0
|
version=4.2.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="gmpxx-devel"
|
makedepends="gmpxx-devel"
|
||||||
short_desc="C++ library for arithmetic and algebraic computations"
|
short_desc="C++ library for arithmetic and algebraic computations"
|
||||||
|
|
Loading…
Add table
Reference in a new issue