public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/musl:master commit in: net-vpn/ipsec-tools/files/, net-vpn/ipsec-tools/
Date: Sat, 11 Aug 2018 14:27:11 +0000 (UTC)	[thread overview]
Message-ID: <1533997624.9f6a1013e0be70d051399a7d98bb3d506a29d884.blueness@gentoo> (raw)

commit:     9f6a1013e0be70d051399a7d98bb3d506a29d884
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 11 14:27:04 2018 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Aug 11 14:27:04 2018 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=9f6a1013

net-vpn/ipsec-tools: replace strtouq -> strtoull

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../ipsec-tools/files/ipsec-tools-replace-strtouq.patch  | 16 ++++++++++++++++
 net-vpn/ipsec-tools/ipsec-tools-0.8.2-r5.ebuild          |  1 +
 2 files changed, 17 insertions(+)

diff --git a/net-vpn/ipsec-tools/files/ipsec-tools-replace-strtouq.patch b/net-vpn/ipsec-tools/files/ipsec-tools-replace-strtouq.patch
new file mode 100644
index 0000000..73baf36
--- /dev/null
+++ b/net-vpn/ipsec-tools/files/ipsec-tools-replace-strtouq.patch
@@ -0,0 +1,16 @@
+diff -Naur ipsec-tools-0.8.2.orig/src/racoon/backupsa.c ipsec-tools-0.8.2/src/racoon/backupsa.c
+--- ipsec-tools-0.8.2.orig/src/racoon/backupsa.c	2010-04-02 15:15:00.000000000 +0000
++++ ipsec-tools-0.8.2/src/racoon/backupsa.c	2018-08-11 14:22:15.868343597 +0000
+@@ -276,9 +276,9 @@
+ 		GETNEXTNUM(sa_args.a_keylen, strtoul);
+ 		GETNEXTNUM(sa_args.flags, strtoul);
+ 		GETNEXTNUM(sa_args.l_alloc, strtoul);
+-		GETNEXTNUM(sa_args.l_bytes, strtouq);
+-		GETNEXTNUM(sa_args.l_addtime, strtouq);
+-		GETNEXTNUM(sa_args.l_usetime, strtouq);
++		GETNEXTNUM(sa_args.l_bytes, strtoull);
++		GETNEXTNUM(sa_args.l_addtime, strtoull);
++		GETNEXTNUM(sa_args.l_usetime, strtoull);
+ 		GETNEXTNUM(sa_args.seq, strtoul);
+ 
+ #undef GETNEXTNUM

diff --git a/net-vpn/ipsec-tools/ipsec-tools-0.8.2-r5.ebuild b/net-vpn/ipsec-tools/ipsec-tools-0.8.2-r5.ebuild
index db0a367..de9e81d 100644
--- a/net-vpn/ipsec-tools/ipsec-tools-0.8.2-r5.ebuild
+++ b/net-vpn/ipsec-tools/ipsec-tools-0.8.2-r5.ebuild
@@ -192,6 +192,7 @@ src_prepare() {
 	# musl fixes
 	eapply "${FILESDIR}"/${PN}-remove__P.patch
 	eapply "${FILESDIR}"/${PN}-remove_GLOB_TILDE.patch
+	eapply "${FILESDIR}"/${PN}-replace-strtouq.patch
 
 	AT_M4DIR="${S}" eautoreconf
 


             reply	other threads:[~2018-08-11 14:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-11 14:27 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-07  7:28 [gentoo-commits] proj/musl:master commit in: net-vpn/ipsec-tools/files/, net-vpn/ipsec-tools/ Sam James

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=1533997624.9f6a1013e0be70d051399a7d98bb3d506a29d884.blueness@gentoo \
    --to=blueness@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