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 new patch
Date: Sun, 09 Jun 2019 06:37:30 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12327@inbox.vuxu.org> (raw)

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

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

https://github.com/ekomizer/void-packages xinit-add-patch
https://github.com/void-linux/void-packages/pull/12327

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

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

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

From b3c5e6a9354b973623a2a01391e8a9c61fd2b8d5 Mon Sep 17 00:00:00 2001
From: Clifford Sabalo <cliffordsabalo@gmail.com>
Date: Sun, 9 Jun 2019 12:35:53 +0800
Subject: [PATCH] xinit: add new patch

---
 .../06_move_serverauthfile_into_tmp.diff      | 20 +++++++++++++++++++
 srcpkgs/xinit/template                        |  2 +-
 2 files changed, 21 insertions(+), 1 deletion(-)
 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..4770eaf4524
--- /dev/null
+++ b/srcpkgs/xinit/patches/06_move_serverauthfile_into_tmp.diff
@@ -0,0 +1,20 @@
+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.
+---
+ startx.cpp |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: startx.cpp.orig
+===================================================================
+--- startx.cpp.orig
++++ startx.cpp
+@@ -273,7 +273,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
diff --git a/srcpkgs/xinit/template b/srcpkgs/xinit/template
index 9147e652dec..2c80a458eb5 100644
--- a/srcpkgs/xinit/template
+++ b/srcpkgs/xinit/template
@@ -1,7 +1,7 @@
 # Template file for 'xinit'
 pkgname=xinit
 version=1.4.1
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="--with-xinitdir=/etc/X11/xinit"
 hostmakedepends="pkg-config"

             reply	other threads:[~2019-06-09  4:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-09  4:37 voidlinux-github [this message]
2019-06-09 10:04 ` voidlinux-github
2019-06-09 14:45 ` xinit: add patch to fix $HOME getting spammed with .serverauthXXXX files voidlinux-github
2019-06-09 15:11 ` voidlinux-github
2019-06-09 17:18 ` voidlinux-github
2019-06-10 11:09 ` voidlinux-github
2019-06-10 12:04 ` voidlinux-github
2019-06-11  7:37 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-11  7:37 ` voidlinux-github
2019-06-11  7:44 ` voidlinux-github
2019-06-11 13:19 ` voidlinux-github
2019-06-11 13:37 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-11 13:37 ` voidlinux-github
2019-06-11 13:39 ` voidlinux-github
2019-06-15 12:54 ` [PR PATCH] [Merged]: xinit: add new patch 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-12327@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).