diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2024-03-18 00:46:34 +0100 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2024-03-18 00:46:34 +0100 |
commit | fdb5363efcb59716c000abd59f66692ec4244d8d (patch) | |
tree | 88eb3f0ffd5f62750a8c8d68ab1b00d39d6f8b1c | |
parent | 65e7f24d0e75010ced45634eb90d1c0cda54895b (diff) | |
download | freebsd-ports-fdb5363efcb59716c000abd59f66692ec4244d8d.zip |
x11/xfce4-screensaver: UPdate patch to match upstreamed one
PR: 277763
Obtained from: https://gitlab.xfce.org/apps/xfce4-screensaver/-/commit/cd212e0e964af794eb98c6a0c1108204cee9ef32
-rw-r--r-- | x11/xfce4-screensaver/files/patch-src_gs-auth-pwent.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/x11/xfce4-screensaver/files/patch-src_gs-auth-pwent.c b/x11/xfce4-screensaver/files/patch-src_gs-auth-pwent.c index 65dcf88e7068..59b7fd556fd1 100644 --- a/x11/xfce4-screensaver/files/patch-src_gs-auth-pwent.c +++ b/x11/xfce4-screensaver/files/patch-src_gs-auth-pwent.c @@ -1,19 +1,13 @@ --- src/gs-auth-pwent.c.orig 2023-03-20 15:38:27 UTC +++ src/gs-auth-pwent.c -@@ -37,10 +37,12 @@ - # include <unistd.h> +@@ -38,7 +38,9 @@ #endif --#ifdef HAVE_LIBCRYPT + #ifdef HAVE_LIBCRYPT -# include <crypt.h> --#else --# define crypt(a, b) NULL -+#if !defined(__FreeBSD__) -+# ifdef HAVE_LIBCRYPT ++# ifndef __FreeBSD__ +# include <crypt.h> -+# else -+# define crypt(a, b) NULL +# endif + #else + # define crypt(a, b) NULL #endif - - #ifdef __bsdi__ |