public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ian Stakenvicius" <axs@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/torque/, sys-cluster/torque/files/
Date: Tue, 21 Nov 2017 19:31:59 +0000 (UTC)	[thread overview]
Message-ID: <1511292710.d6f144825d2c355ac84e6d24631d170a8502f064.axs@gentoo> (raw)

commit:     d6f144825d2c355ac84e6d24631d170a8502f064
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 21 19:31:11 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 19:31:50 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6f14482

sys-cluster/torque-6.0.3: fix an empty-string comparison error

Bug: http://bugs.gentoo.org/638346
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 .../torque-6.0.3-fix-emptystring-comparison.patch   | 21 +++++++++++++++++++++
 sys-cluster/torque/torque-6.0.3.ebuild              |  1 +
 2 files changed, 22 insertions(+)

diff --git a/sys-cluster/torque/files/torque-6.0.3-fix-emptystring-comparison.patch b/sys-cluster/torque/files/torque-6.0.3-fix-emptystring-comparison.patch
new file mode 100644
index 00000000000..0666eda1593
--- /dev/null
+++ b/sys-cluster/torque/files/torque-6.0.3-fix-emptystring-comparison.patch
@@ -0,0 +1,21 @@
+--- a/src/lib/Libattr/req.cpp	2017-01-24 18:35:27.000000000 -0500
++++ b/src/lib/Libattr/req.cpp	2017-11-21 13:40:27.201964749 -0500
+@@ -1037,17 +1037,17 @@
+     error = "Bad tasks value: '";
+     error += submission_str;
+     error += "'";
+     return(PBSE_BAD_PARAMETER);
+     }
+ 
+   if (*current == ':')
+     current++;
+-  else if (current != '\0')
++  else if (*current != '\0')
+     {
+     error = "Invalid task specification";
+     return(PBSE_BAD_PARAMETER);
+     }
+ 
+   while ((current != NULL) && 
+          (*current != '\0'))
+     {

diff --git a/sys-cluster/torque/torque-6.0.3.ebuild b/sys-cluster/torque/torque-6.0.3.ebuild
index 74409b48eef..ec9563e95bf 100644
--- a/sys-cluster/torque/torque-6.0.3.ebuild
+++ b/sys-cluster/torque/torque-6.0.3.ebuild
@@ -81,6 +81,7 @@ pkg_setup() {
 }
 
 src_prepare() {
+	epatch "${FILESDIR}"/${P}-fix-emptystring-comparison.patch
 	# We install to a valid location, no need to muck with ld.so.conf
 	# --without-loadlibfile is supposed to do this for us...
 	sed -i '/mk_default_ld_lib_file || return 1/d' buildutils/pbs_mkdirs.in || die


             reply	other threads:[~2017-11-21 19:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-21 19:31 Ian Stakenvicius [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-13  4:52 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/torque/, sys-cluster/torque/files/ Sam James
2020-11-15 15:31 Joonas Niilola
2019-10-22 17:06 Ian Stakenvicius
2017-05-24 14:35 Ian Stakenvicius

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=1511292710.d6f144825d2c355ac84e6d24631d170a8502f064.axs@gentoo \
    --to=axs@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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