Skip to content

Commit

Permalink
Fix build with GCC 12
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Jan 11, 2023
1 parent 22baeee commit da18362
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
libkf5libkleo (4:21.08.1-deepin2) unstable; urgency=medium

* Fix build with GCC 12

-- Clansty <i@gao4.pw> Wed, 11 Jan 2023 11:50:43 +0800

libkf5libkleo (4:21.08.1-deepin1) unstable; urgency=medium

* Rebuild
Expand Down
13 changes: 13 additions & 0 deletions debian/patches/fix-gcc12.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Description: Fix build with GCC 12
Author: Clansty <i@gao4.pw>

--- libkf5libkleo-21.08.1.orig/src/utils/algorithm.h
+++ libkf5libkleo-21.08.1/src/utils/algorithm.h
@@ -11,6 +11,7 @@
#pragma once

#include <algorithm>
+#include <vector>

namespace Kleo
{
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix-gcc12.patch

0 comments on commit da18362

Please sign in to comment.