Github messages for voidlinux
 help / color / mirror / Atom feed
From: mobinmob <mobinmob@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] 66: minor upstream fix
Date: Sun, 08 Nov 2020 11:59:58 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26217@inbox.vuxu.org> (raw)

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

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

https://github.com/mobinmob/void-packages 66fix
https://github.com/void-linux/void-packages/pull/26217

66: minor upstream fix


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-66fix-26217.patch --]
[-- Type: text/x-diff, Size: 2911 bytes --]

From e5e7a26b966d1c8b5299a58d45bdeb9a07af2fd7 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Sun, 8 Nov 2020 12:57:11 +0200
Subject: [PATCH] 66: minor upstream fix

---
 ...38d6cbdc78e3b8ce869949b601505caa4b6cb.diff | 26 +++++++++++++++++++
 srcpkgs/66/template                           |  3 ++-
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/66/patches/ed738d6cbdc78e3b8ce869949b601505caa4b6cb.diff

diff --git a/srcpkgs/66/patches/ed738d6cbdc78e3b8ce869949b601505caa4b6cb.diff b/srcpkgs/66/patches/ed738d6cbdc78e3b8ce869949b601505caa4b6cb.diff
new file mode 100644
index 00000000000..3ba2c9a5fd3
--- /dev/null
+++ b/srcpkgs/66/patches/ed738d6cbdc78e3b8ce869949b601505caa4b6cb.diff
@@ -0,0 +1,26 @@
+diff --git a/src/lib66/ss_environ.c b/src/lib66/ss_environ.c
+index 05f2697c45d3958147d9243c24a5389897c2bd41..12c2b8fcbc99fcb83adf576c1541984a4b23e8e5 100644
+--- a/src/lib66/ss_environ.c
++++ b/src/lib66/ss_environ.c
+@@ -185,7 +185,7 @@ int env_make_symlink(stralloc *dst,stralloc *old_dst,sv_alltype *sv,uint8_t conf
+ 	 * a directory. File means old format, in this case we enforce to pass
+ 	 * to the new one. */
+ 	r = lstat(sym_version,&st) ;
+-	if (S_ISLNK(st.st_mode))
++	if (S_ISLNK(st.st_mode) && !r)
+ 	{
+ 		if (sarealpath(&saversion,sym_version) == -1)
+ 			log_warn_return(LOG_EXIT_ZERO,"sarealpath of: ",sym_version) ;
+diff --git a/src/lib66/ssexec_disable.c b/src/lib66/ssexec_disable.c
+index ed884021cea729be8d22af9323fa5ec67c7a7b56..5e056509171fcaaa48ae52ea2390400edc1a3312 100644
+--- a/src/lib66/ssexec_disable.c
++++ b/src/lib66/ssexec_disable.c
+@@ -213,7 +213,7 @@ int ssexec_disable(int argc, char const *const *argv,char const *const *envp,sse
+ 		
+ 		/** The force options can be only used if the service is not marked initialized.
+ 		 * This option should only be used when we have a inconsistent state between 
+-		 * the /var/lib/66/system/<tree>/servicedirs/* and /var/lib/66/system/<tree>/.resolve
++		 * the /var/lib/66/system/<tree>/servicedirs/ and /var/lib/66/system/<tree>/.resolve
+ 		 * directory meaning a service which is not present in the compiled db but its resolve file
+ 		 * exist.*/
+ 		if (FORCE && ss_state_check(state,name))
diff --git a/srcpkgs/66/template b/srcpkgs/66/template
index 299a772da05..5766b141932 100644
--- a/srcpkgs/66/template
+++ b/srcpkgs/66/template
@@ -1,7 +1,7 @@
 # Template file for '66'
 pkgname=66
 version=0.5.1.0
-revision=1
+revision=2
 wrksrc="66-v${version}"
 build_style=configure
 configure_args="--prefix=/usr
@@ -18,6 +18,7 @@ homepage="http://web.obarun.org/software/"
 changelog="https://framagit.org/Obarun/66/raw/master/NEWS.md"
 distfiles="https://framagit.org/Obarun/66/-/archive/v${version}/66-v${version}.tar.bz2"
 checksum=16a720f493d40a6d43e78b66ddd218335926ed988b7ea2aed82d17c6f7b5a8a6
+patch_args="-Np1"
 
 conf_files="/etc/66/init /etc/66/init.conf"
 

             reply	other threads:[~2020-11-08 11:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-08 10:59 mobinmob [this message]
2020-11-14 15:14 ` [PR PATCH] [Merged]: " Hoshpak

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-26217@inbox.vuxu.org \
    --to=mobinmob@users.noreply.github.com \
    --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).