pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/xfce4-power-manager/patches xfce4-power-manag...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ea0e5450f65
branches:  trunk
changeset: 770447:8ea0e5450f65
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Tue Nov 30 15:28:00 2021 +0000

description:
xfce4-power-manager: fix merge botch in a patch, ride update

diffstat:

 sysutils/xfce4-power-manager/patches/patch-src_xfpm-suspend.c |  24 +++++++---
 1 files changed, 17 insertions(+), 7 deletions(-)

diffs (37 lines):

diff -r ee9916ba9ec5 -r 8ea0e5450f65 sysutils/xfce4-power-manager/patches/patch-src_xfpm-suspend.c
--- a/sysutils/xfce4-power-manager/patches/patch-src_xfpm-suspend.c     Tue Nov 30 15:10:30 2021 +0000
+++ b/sysutils/xfce4-power-manager/patches/patch-src_xfpm-suspend.c     Tue Nov 30 15:28:00 2021 +0000
@@ -1,16 +1,26 @@
-$NetBSD: patch-src_xfpm-suspend.c,v 1.2 2021/11/30 14:52:32 gutteridge Exp $
+$NetBSD: patch-src_xfpm-suspend.c,v 1.3 2021/11/30 15:28:00 gutteridge Exp $
 
 Add NetBSD support.
 
---- src/xfpm-suspend.c.orig    2021-11-26 18:17:09.717521832 +0000
+--- src/xfpm-suspend.c.orig    2020-11-04 23:23:14.000000000 +0000
 +++ src/xfpm-suspend.c
-@@ -137,6 +137,9 @@ out:
-   return ret;
- }
+@@ -152,6 +151,9 @@ xfpm_suspend_can_suspend (void)
+ #ifdef BACKEND_TYPE_OPENBSD
+   return TRUE;
  #endif
 +#ifdef BACKEND_TYPE_NETBSD
-+    return TRUE;
++  return TRUE;
 +#endif
  
+   return FALSE;
+ }
+@@ -169,6 +171,9 @@ xfpm_suspend_can_hibernate (void)
+ #ifdef BACKEND_TYPE_OPENBSD
+   return TRUE;
+ #endif
++#ifdef BACKEND_TYPE_NETBSD
++  return TRUE;
++#endif
  
- gboolean
+   return FALSE;
+ }



Home | Main Index | Thread Index | Old Index