Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] xinit: add patch
Date: Fri, 07 Jun 2019 05:31:52 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12242@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

There is a new pull request by ekomizer against master on the void-packages repository

https://github.com/ekomizer/void-packages xinit-patch-1
https://github.com/void-linux/void-packages/pull/12242

xinit: add patch
Move startx auth files in /tmp so they are removed on reboot.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357736
The trap patch didn't seem to work on reboot.

Source: https://git.archlinux.org/svntogit/packages.git/tree/trunk/06_move_serverauthfile_into_tmp.diff?h=packages/xorg-xinit

A patch file from https://github.com/void-linux/void-packages/pull/12242.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xinit-patch-1-12242.patch --]
[-- Type: application/text/x-diff, Size: 1371 bytes --]

From 962201a91417ca525f33f83a13d7bde7a71244d1 Mon Sep 17 00:00:00 2001
From: amaya <cliffordsabalo@gmail.com>
Date: Fri, 7 Jun 2019 11:20:07 +0800
Subject: [PATCH] xinit: add patch

Move startx auth files in /tmp so they are removed on reboot.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357736
The trap patch didn't seem to work on reboot.
(taken from Arch Linux)

Source: https://git.archlinux.org/svntogit/packages.git/tree/trunk/06_move_serverauthfile_into_tmp.diff?h=packages/xorg-xinit
---
 .../patches/06_move_serverauthfile_into_tmp.diff      | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 srcpkgs/xinit/patches/06_move_serverauthfile_into_tmp.diff

diff --git a/srcpkgs/xinit/patches/06_move_serverauthfile_into_tmp.diff b/srcpkgs/xinit/patches/06_move_serverauthfile_into_tmp.diff
new file mode 100644
index 00000000000..4c3f7d5093d
--- /dev/null
+++ b/srcpkgs/xinit/patches/06_move_serverauthfile_into_tmp.diff
@@ -0,0 +1,11 @@
+--- startx.cpp.orig
++++ startx.cpp
+@@ -281,7 +281,7 @@
+     dummy=0
+ 
+     XCOMM create a file with auth information for the server. ':0' is a dummy.
+-    xserverauthfile=$HOME/.serverauth.$$
++    xserverauthfile=`mktemp -p /tmp serverauth.XXXXXXXXXX`
+     trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP KILL BUS TERM
+     xauth -q -f "$xserverauthfile" << EOF
+ add :$dummy . $mcookie

             reply	other threads:[~2019-06-07  3:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-07  3:31 voidlinux-github [this message]
2019-06-07  7:14 ` voidlinux-github
2019-06-07  7:14 ` voidlinux-github
2019-06-07 13:49 ` [PR PATCH] [Closed]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12242@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).