1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11/xfce4-screensaver: UPdate patch to match upstreamed one

PR:		277763
Obtained from:	cd212e0e96
This commit is contained in:
Guido Falsi 2024-03-18 00:46:34 +01:00
parent 65e7f24d0e
commit fdb5363efc

View File

@ -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__