Skip to content

Commit

Permalink
x11/xfce4-screensaver: UPdate patch to match upstreamed one
Browse files Browse the repository at this point in the history
  • Loading branch information
madpilot78 committed Mar 17, 2024
1 parent 65e7f24 commit fdb5363
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions x11/xfce4-screensaver/files/patch-src_gs-auth-pwent.c
Original file line number Diff line number Diff line change
@@ -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__

0 comments on commit fdb5363

Please sign in to comment.