From a478bb95581d5a544b70902520203ad321e9a3cf Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 19 Dec 2016 08:45:36 -0600 Subject: [PATCH] Add Portage patches for portage, xautolock --- .../patches/sys-apps/portage/no-ro-check.patch | 8 ++++++++ .../x11-misc/xautolock/xautolock-max-lock-mins.patch | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 etc/portage/patches/sys-apps/portage/no-ro-check.patch create mode 100644 etc/portage/patches/x11-misc/xautolock/xautolock-max-lock-mins.patch diff --git a/etc/portage/patches/sys-apps/portage/no-ro-check.patch b/etc/portage/patches/sys-apps/portage/no-ro-check.patch new file mode 100644 index 0000000..afe51d9 --- /dev/null +++ b/etc/portage/patches/sys-apps/portage/no-ro-check.patch @@ -0,0 +1,8 @@ +--- a/pym/portage/util/writeable_check.py 2014-12-02 12:57:08.000000000 -0600 ++++ b/pym/portage/util/writeable_check.py 2014-12-21 19:30:24.933655034 -0600 +@@ -82,5 +82,4 @@ + # _CHECKERS is a map from ostype output to the appropriate function to return + # in get_ro_checker. + _CHECKERS = { +- "Linux": linux_ro_checker, + } diff --git a/etc/portage/patches/x11-misc/xautolock/xautolock-max-lock-mins.patch b/etc/portage/patches/x11-misc/xautolock/xautolock-max-lock-mins.patch new file mode 100644 index 0000000..59bd8dc --- /dev/null +++ b/etc/portage/patches/x11-misc/xautolock/xautolock-max-lock-mins.patch @@ -0,0 +1,11 @@ +--- a/include/config.h 2007-09-30 16:27:49.000000000 -0500 ++++ b/include/config.h 2016-11-07 09:53:44.378017135 -0600 +@@ -77,7 +77,7 @@ + #define MIN_LOCK_MINS 1 /* minimum number of minutes + before firing up the locker */ + #define LOCK_MINS 10 /* default ... */ +-#define MAX_LOCK_MINS 60 /* maximum ... */ ++#define MAX_LOCK_MINS 1440 /* maximum ... */ + + #define MIN_KILL_MINS 10 /* minimum number of minutes + before firing up the killer */