mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Kate: add recipe for version 18.04.0
This commit is contained in:
22
kde-base/kate/patches/kate-18.04.0.patchset
Normal file
22
kde-base/kate/patches/kate-18.04.0.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From aeecd9ef70d033a80e1f14be6b8ec563101575f5 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Mon, 23 Apr 2018 14:32:30 +0300
|
||||
Subject: Allow running as root on Haiku
|
||||
|
||||
|
||||
diff --git a/kate/main.cpp b/kate/main.cpp
|
||||
index e20fcff..630e92e 100644
|
||||
--- a/kate/main.cpp
|
||||
+++ b/kate/main.cpp
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
-#ifndef Q_OS_WIN
|
||||
+#if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU)
|
||||
/**
|
||||
* Check whether we are running as root
|
||||
**/
|
||||
--
|
||||
2.16.2
|
||||
|
||||
Reference in New Issue
Block a user