Skip to content

Commit

Permalink
net-libs/libtins: add missing cstdint include for gcc 13 patch
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Arnold <[email protected]>
  • Loading branch information
sarnold committed Jan 30, 2024
1 parent a4a7d5c commit 0cb109f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions net-libs/libtins/files/libtins-4.2-build-fix-with-gcc-13.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
--- a/include/tins/ip_address.h 2024-01-29 16:44:47.951519603 -0800
+++ b/include/tins/ip_address.h 2024-01-29 16:48:36.150742667 -0800
@@ -30,10 +30,10 @@
#ifndef TINS_IPADDRESS_H
#define TINS_IPADDRESS_H

+#include <cstdint>
#include <string>
#include <iosfwd>
#include <functional>
-#include <stdint.h>
#include <tins/cxxstd.h>
#include <tins/macros.h>

4 changes: 4 additions & 0 deletions net-libs/libtins/libtins-4.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ RDEPEND="${DEPEND}

RESTRICT="mirror"

PATCHES=(
"${FILESDIR}/${P}-build-fix-with-gcc-13.patch"
)

src_prepare() {
cmake_src_prepare
sed -i '/CMAKE_INSTALL_LIBDIR lib/d' CMakeLists.txt || die
Expand Down

0 comments on commit 0cb109f

Please sign in to comment.