pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/xfce4-power-manager/patches



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Tue Nov 30 15:28:00 UTC 2021

Modified Files:
        pkgsrc/sysutils/xfce4-power-manager/patches: patch-src_xfpm-suspend.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/sysutils/xfce4-power-manager/patches/patch-src_xfpm-suspend.c

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

Modified files:

Index: pkgsrc/sysutils/xfce4-power-manager/patches/patch-src_xfpm-suspend.c
diff -u pkgsrc/sysutils/xfce4-power-manager/patches/patch-src_xfpm-suspend.c:1.2 pkgsrc/sysutils/xfce4-power-manager/patches/patch-src_xfpm-suspend.c:1.3
--- pkgsrc/sysutils/xfce4-power-manager/patches/patch-src_xfpm-suspend.c:1.2    Tue Nov 30 14:52:32 2021
+++ pkgsrc/sysutils/xfce4-power-manager/patches/patch-src_xfpm-suspend.c        Tue Nov 30 15:28:00 2021
@@ -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