pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/libgdm libgdm: Fix building with OpenPAM on Linux



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c06f3ad9f48
branches:  trunk
changeset: 450770:9c06f3ad9f48
user:      cirnatdan <cirnatdan%pkgsrc.org@localhost>
date:      Wed Apr 21 12:23:21 2021 +0000

description:
libgdm: Fix building with OpenPAM on Linux

diffstat:

 x11/libgdm/distinfo                          |  4 ++--
 x11/libgdm/patches/patch-pam__gdm_pam__gdm.c |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r ec497d922102 -r 9c06f3ad9f48 x11/libgdm/distinfo
--- a/x11/libgdm/distinfo       Wed Apr 21 12:11:35 2021 +0000
+++ b/x11/libgdm/distinfo       Wed Apr 21 12:23:21 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2021/04/16 13:57:52 cirnatdan Exp $
+$NetBSD: distinfo,v 1.2 2021/04/21 12:23:21 cirnatdan Exp $
 
 SHA1 (gdm-40.0.tar.gz) = f16d102b1052ff3ae0b64cac47dd3910b9b2ae74
 RMD160 (gdm-40.0.tar.gz) = aef9fa9d25f92b671166b9b2a56f9f5811e912cc
@@ -32,4 +32,4 @@
 SHA1 (patch-libgdm_gdm-user-switching_c) = 91ebba68b5496c1de00108e1609f47c6019eadcc
 SHA1 (patch-libgdm_meson.build) = 6341327da7925597c9f15370faeacfd88a686802
 SHA1 (patch-meson.build) = d2c5bfe7d65b753722409860afc807031f9ee336
-SHA1 (patch-pam__gdm_pam__gdm.c) = a2906c96c8c5dc49e2663123b6dcd39821c7b47d
+SHA1 (patch-pam__gdm_pam__gdm.c) = d136b1f89c935efd51c9f819d9710c9eb22ac2b6
diff -r ec497d922102 -r 9c06f3ad9f48 x11/libgdm/patches/patch-pam__gdm_pam__gdm.c
--- a/x11/libgdm/patches/patch-pam__gdm_pam__gdm.c      Wed Apr 21 12:11:35 2021 +0000
+++ b/x11/libgdm/patches/patch-pam__gdm_pam__gdm.c      Wed Apr 21 12:23:21 2021 +0000
@@ -1,21 +1,21 @@
-$NetBSD: patch-pam__gdm_pam__gdm.c,v 1.1 2021/04/16 13:57:52 cirnatdan Exp $
+$NetBSD: patch-pam__gdm_pam__gdm.c,v 1.2 2021/04/21 12:23:21 cirnatdan Exp $
 
 Include only supported pam headers
 
---- pam_gdm/pam_gdm.c.orig     2020-12-15 18:16:43.000000000 +0000
+--- pam_gdm/pam_gdm.c.orig     2021-03-30 13:25:30.000000000 +0000
 +++ pam_gdm/pam_gdm.c
 @@ -21,11 +21,13 @@
  
  #include <unistd.h>
  
-+#ifdef __linux__
++#include <security/pam_modules.h>
++#ifndef OPENPAM
  #include <security/_pam_macros.h>
  #include <security/pam_ext.h>
  #include <security/pam_misc.h>
 -#include <security/pam_modules.h>
  #include <security/pam_modutil.h>
 +#endif
-+#include <security/pam_modules.h>
  
  #ifdef HAVE_KEYUTILS
  #include <keyutils.h>



Home | Main Index | Thread Index | Old Index