[packages/gdm2.20] - fix patch fuzz

baggins baggins at pld-linux.org
Tue Aug 12 08:52:50 CEST 2025


commit 1b10888c841d83d8419315b55648e827ae6c2516
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Aug 12 10:52:33 2025 +0200

    - fix patch fuzz

 gdm-xdmcp.patch    | 2 +-
 gdm-xsession.patch | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdm-xdmcp.patch b/gdm-xdmcp.patch
index 06ed096..0753d7b 100644
--- a/gdm-xdmcp.patch
+++ b/gdm-xdmcp.patch
@@ -3,7 +3,7 @@ diff -aurN gdm-2.13.0.7.orig/daemon/server.c gdm-2.13.0.7/daemon/server.c
 +++ gdm-2.13.0.7/daemon/server.c	2006-02-05 17:12:06.557522000 +0100
 @@ -1150,7 +1150,7 @@
          /* Log all output from spawned programs to a file */
- 	logfile = gdm_make_filename (gdm_get_value_string (GDM_KEY_LOG_DIR), d->name, ".log");
+ 	logfile = gdm_make_filename (gdm_daemon_config_get_value_string (GDM_KEY_LOG_DIR), d->name, ".log");
  	VE_IGNORE_EINTR (g_unlink (logfile));
 -	VE_IGNORE_EINTR (logfd = open (logfile, O_CREAT|O_TRUNC|O_WRONLY|O_EXCL, 0644));
 +	VE_IGNORE_EINTR (logfd = open (logfile, O_CREAT|O_TRUNC|O_WRONLY|O_EXCL, 0640));
diff --git a/gdm-xsession.patch b/gdm-xsession.patch
index dd6070f..ab95243 100644
--- a/gdm-xsession.patch
+++ b/gdm-xsession.patch
@@ -10,8 +10,8 @@ diff -urN gdm-2.6.0.3.orig/config/Xsession.in gdm-2.6.0.3/config/Xsession.in
 +fi
 +
  # Translation stuff
- if [ -x "@EXPANDED_LIBEXECDIR@/gdmtranslate" ] ; then
-   gdmtranslate="@EXPANDED_LIBEXECDIR@/gdmtranslate"
+ if [ -x "@libexecdir@/gdmtranslate" ] ; then
+   gdmtranslate="@libexecdir@/gdmtranslate"
 @@ -222,14 +226,23 @@
    fi
  fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gdm2.20.git/commitdiff/1b10888c841d83d8419315b55648e827ae6c2516



More information about the pld-cvs-commit mailing list