Christophe Marin 2020-01-13 13:06:57 +00:00 committed by Git OBS Bridge
parent 31ae20e6ac
commit aa94240bce
3 changed files with 42 additions and 1 deletions

View File

@ -0,0 +1,37 @@
From dec30fec70d9ec9bcb52372b054d0d409f8c3075 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Mon, 13 Jan 2020 13:50:23 +0100
Subject: [PATCH] Add the missing cassert include
---
src/kdirtreeview.cpp | 1 +
src/ktreemaptile.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/kdirtreeview.cpp b/src/kdirtreeview.cpp
index 808d20a..88b2ee3 100644
--- a/src/kdirtreeview.cpp
+++ b/src/kdirtreeview.cpp
@@ -7,6 +7,7 @@
#include <stdlib.h>
#include <time.h>
+#include <cassert>
#include <QDesktopServices>
#include <QHeaderView>
diff --git a/src/ktreemaptile.cpp b/src/ktreemaptile.cpp
index 3c140eb..27c4632 100644
--- a/src/ktreemaptile.cpp
+++ b/src/ktreemaptile.cpp
@@ -6,6 +6,7 @@
#include <QDebug>
#include <algorithm>
+#include <cassert>
#include <math.h>
#include <qimage.h>
#include <qpainter.h>
--
2.24.1

View File

@ -6,6 +6,8 @@ Mon Jan 13 12:35:34 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
multi-selection multi-selection
* 'Open in terminal' now open Konsole in the selected folder * 'Open in terminal' now open Konsole in the selected folder
* Move from bitbucket to github * Move from bitbucket to github
- Add patch to fix build on Leap 15.1
* 0001-Add-the-missing-cassert-include.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 2 15:30:22 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr> Tue Apr 2 15:30:22 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -24,6 +24,8 @@ License: GPL-2.0-only AND LGPL-2.0-only
Group: Productivity/File utilities Group: Productivity/File utilities
URL: https://github.com/jeromerobert/k4dirstat URL: https://github.com/jeromerobert/k4dirstat
Source0: https://github.com/jeromerobert/k4dirstat/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/jeromerobert/k4dirstat/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM
Patch0: 0001-Add-the-missing-cassert-include.patch
BuildRequires: kf5-filesystem BuildRequires: kf5-filesystem
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5CoreAddons)
@ -50,7 +52,7 @@ graphically.
%lang_package %lang_package
%prep %prep
%setup -q %autosetup -p1
%build %build
%cmake_kf5 -d build %cmake_kf5 -d build