pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lxqt-sudo-0.14.1, fix sudo.cpp patch



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Wed Jan 22 10:26:13 2020 +0100
Changeset:	ae49e5622593a6753a3f594d5c8a5a46fde0c3f4

Modified Files:
	lxqt-sudo/distinfo
	lxqt-sudo/patches/patch-sudo.cpp

Log Message:
lxqt-sudo-0.14.1, fix sudo.cpp patch

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ae49e5622593a6753a3f594d5c8a5a46fde0c3f4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lxqt-sudo/distinfo               | 2 +-
 lxqt-sudo/patches/patch-sudo.cpp | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs:
diff --git a/lxqt-sudo/distinfo b/lxqt-sudo/distinfo
index 661a123803..2d66792a90 100644
--- a/lxqt-sudo/distinfo
+++ b/lxqt-sudo/distinfo
@@ -4,4 +4,4 @@ SHA1 (lxqt-sudo-0.14.1.tar.xz) = ba74c8b6047f8095fe825426e9d29abfaf34bf23
 RMD160 (lxqt-sudo-0.14.1.tar.xz) = bd712eb673239877759b1c3c88bc15592961adf4
 SHA512 (lxqt-sudo-0.14.1.tar.xz) = b2741ead9c03c2dddf878b7658316ad0ce170068aca413b48b2f614e6ee09e7494e9907f7bf46de09c84e50b75cd523b059d47f9a0d2be11b340824475ca9222
 Size (lxqt-sudo-0.14.1.tar.xz) = 30692 bytes
-SHA1 (patch-sudo.cpp) = 7fb9eefcb19b60a99fbb0f058f092e4aa16f0d20
+SHA1 (patch-sudo.cpp) = 0f6addff9c5ede8bdbd9e91238853f3d820b42f9
diff --git a/lxqt-sudo/patches/patch-sudo.cpp b/lxqt-sudo/patches/patch-sudo.cpp
index 3574cfc392..c49afb219b 100644
--- a/lxqt-sudo/patches/patch-sudo.cpp
+++ b/lxqt-sudo/patches/patch-sudo.cpp
@@ -1,6 +1,6 @@
 $NetBSD$
 
-Make it possible to build on NetBSD
+sudo.cpp: Make pty header conditional depending on linux
 
 --- sudo.cpp.orig	2019-02-23 23:40:30.000000000 +0000
 +++ sudo.cpp
@@ -8,12 +8,12 @@ Make it possible to build on NetBSD
  #include <QThread>
  #include <QProcessEnvironment>
  #include <QTimer>
-+#if defined(__NetBSD__)
++#if defined(__Linux__)
+ #include <pty.h>
++#else
 +#include <errno.h>
 +#include <termios.h>
 +#include <util.h>
-+#else
- #include <pty.h>
 +#endif
  #include <unistd.h>
  #include <memory>


Home | Main Index | Thread Index | Old Index