pkgsrc-WIP-changes archive

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

lxqt-sudo, patched and building



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sun Jan 12 17:35:43 2020 +0100
Changeset:	4d4e839057c5d035101c0d07be6e8bd3efb2ed1d

Modified Files:
	lxqt-sudo/PLIST
	lxqt-sudo/distinfo
Added Files:
	lxqt-sudo/patches/patch-sudo.cpp
Removed Files:
	lxqt-sudo/TODO

Log Message:
lxqt-sudo, patched and building

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

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

diffstat:
 lxqt-sudo/PLIST                  | 37 ++++++++++++++++++++++++++++++++++---
 lxqt-sudo/TODO                   | 33 ---------------------------------
 lxqt-sudo/distinfo               |  1 +
 lxqt-sudo/patches/patch-sudo.cpp | 20 ++++++++++++++++++++
 4 files changed, 55 insertions(+), 36 deletions(-)

diffs:
diff --git a/lxqt-sudo/PLIST b/lxqt-sudo/PLIST
index 92ba51a2d7..f56c0467ba 100644
--- a/lxqt-sudo/PLIST
+++ b/lxqt-sudo/PLIST
@@ -1,4 +1,35 @@
 @comment $NetBSD$
-@comment TODO: to fill this file with the file listing:
-@comment TODO: 1. run "/usr/bin/make package"
-@comment TODO: 2. run "/usr/bin/make print-PLIST"
+bin/lxqt-sudo
+bin/lxsu
+bin/lxsudo
+man/man1/lxqt-sudo.1
+man/man1/lxsu.1
+man/man1/lxsudo.1
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_ar.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_ca.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_cs.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_cy.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_da.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_de.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_el.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_es.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_fi.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_fr.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_gl.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_he.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_hu.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_id.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_it.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_ja.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_lt.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_nb_NO.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_nl.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_pl.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_pt.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_ru.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_sk.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_tr.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_uk.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_vi.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_zh_CN.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_zh_TW.qm
diff --git a/lxqt-sudo/TODO b/lxqt-sudo/TODO
deleted file mode 100644
index a0b0984d16..0000000000
--- a/lxqt-sudo/TODO
+++ /dev/null
@@ -1,33 +0,0 @@
-[ 94%] Building CXX object CMakeFiles/lxqt-sudo.dir/main.cpp.o
-/usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/sudo.cpp:41:10: fatal error: pty.h
- #include <pty.h>
-          ^~~~~~~
-compilation terminated.
---- CMakeFiles/lxqt-sudo.dir/sudo.cpp.o ---
-*** [CMakeFiles/lxqt-sudo.dir/sudo.cpp.o] Error code 1
-
-make[2]: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
-1 error
-
-make[2]: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
---- CMakeFiles/lxqt-sudo.dir/all ---
-*** [CMakeFiles/lxqt-sudo.dir/all] Error code 2
-
-make[1]: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
-1 error
-
-make[1]: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
-*** [all] Error code 2
-
-make: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
-1 error
-
-make: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
-*** Error code 2
-
-Stop.
-make[1]: stopped in /usr/pkgsrc/wip/lxqt-sudo
-*** Error code 1
-
-Stop.
-
diff --git a/lxqt-sudo/distinfo b/lxqt-sudo/distinfo
index 0601e67f89..661a123803 100644
--- a/lxqt-sudo/distinfo
+++ b/lxqt-sudo/distinfo
@@ -4,3 +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
diff --git a/lxqt-sudo/patches/patch-sudo.cpp b/lxqt-sudo/patches/patch-sudo.cpp
new file mode 100644
index 0000000000..3574cfc392
--- /dev/null
+++ b/lxqt-sudo/patches/patch-sudo.cpp
@@ -0,0 +1,20 @@
+$NetBSD$
+
+Make it possible to build on NetBSD
+
+--- sudo.cpp.orig	2019-02-23 23:40:30.000000000 +0000
++++ sudo.cpp
+@@ -38,7 +38,13 @@
+ #include <QThread>
+ #include <QProcessEnvironment>
+ #include <QTimer>
++#if defined(__NetBSD__)
++#include <errno.h>
++#include <termios.h>
++#include <util.h>
++#else
+ #include <pty.h>
++#endif
+ #include <unistd.h>
+ #include <memory>
+ #include <csignal>


Home | Main Index | Thread Index | Old Index