public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/udis86/, dev-libs/udis86/files/
@ 2021-03-06 18:55 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2021-03-06 18:55 UTC (permalink / raw
  To: gentoo-commits

commit:     49d6eac33c52e82b98c4715a843cd2ff35b7ed9a
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  6 18:55:08 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar  6 18:55:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49d6eac3

dev-libs/udis86: Fix uninitialized var

* Taken from upstream commit
  https://github.com/vmt/udis86/commit/cce390dd61996e569bd8a3bca78e7aa4b286d6df

Closes: https://bugs.gentoo.org/768573
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../udis86-1.7.2-uninitialized-variable.patch      | 22 ++++++++++++++++++++++
 dev-libs/udis86/udis86-1.7.2-r1.ebuild             |  1 +
 2 files changed, 23 insertions(+)

diff --git a/dev-libs/udis86/files/udis86-1.7.2-uninitialized-variable.patch b/dev-libs/udis86/files/udis86-1.7.2-uninitialized-variable.patch
new file mode 100644
index 00000000000..3778e535caa
--- /dev/null
+++ b/dev-libs/udis86/files/udis86-1.7.2-uninitialized-variable.patch
@@ -0,0 +1,22 @@
+From cce390dd61996e569bd8a3bca78e7aa4b286d6df Mon Sep 17 00:00:00 2001
+From: Vivek Thampi <vivek.mt@gmail.com>
+Date: Sun, 22 Sep 2013 12:13:05 -0700
+Subject: [PATCH] Minor fix for an uninitialized var
+
+---
+ libudis86/decode.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libudis86/decode.c b/libudis86/decode.c
+index 3dab9ad..55638bd 100644
+--- a/libudis86/decode.c
++++ b/libudis86/decode.c
+@@ -228,7 +228,7 @@ static int
+ decode_prefixes(struct ud *u)
+ {
+   int done = 0;
+-  uint8_t curr, last = 0;
++  uint8_t curr = 0, last = 0;
+   UD_RETURN_ON_ERROR(u);
+ 
+   do {

diff --git a/dev-libs/udis86/udis86-1.7.2-r1.ebuild b/dev-libs/udis86/udis86-1.7.2-r1.ebuild
index f7f19738e44..8a158bc2c33 100644
--- a/dev-libs/udis86/udis86-1.7.2-r1.ebuild
+++ b/dev-libs/udis86/udis86-1.7.2-r1.ebuild
@@ -27,6 +27,7 @@ BDEPEND="
 PATCHES=(
 	"${FILESDIR}"/${P}-docdir.patch
 	"${FILESDIR}"/${P}-python3.patch
+	"${FILESDIR}"/${P}-uninitialized-variable.patch
 )
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/udis86/, dev-libs/udis86/files/
@ 2021-03-12 15:37 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2021-03-12 15:37 UTC (permalink / raw
  To: gentoo-commits

commit:     35ab4e9a03cd5cb8b8da2c6e4a0459d5aa18eed6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 12 15:34:11 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 12 15:37:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35ab4e9a

dev-libs/udis86: Drop 1.7-r2, EAPI5--

Closes: https://bugs.gentoo.org/768576
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/udis86/Manifest                    |  1 -
 dev-libs/udis86/files/udis86-1.7-yasm.patch | 35 --------------------------
 dev-libs/udis86/udis86-1.7-r2.ebuild        | 38 -----------------------------
 3 files changed, 74 deletions(-)

diff --git a/dev-libs/udis86/Manifest b/dev-libs/udis86/Manifest
index e6b0e175868..0c27a721feb 100644
--- a/dev-libs/udis86/Manifest
+++ b/dev-libs/udis86/Manifest
@@ -1,2 +1 @@
 DIST udis86-1.7.2.tar.gz 445085 BLAKE2B 0e67a1ae28688a5febdb4502714a6d99b1fda9028470bac1ecf9314d33c2f081726e3706e9616f352fbf1561283429cb96b92ea4a88e454ec21eadc84bb336d8 SHA512 8cb35d70ac020cd74ced22252aa735a266e5db98d89df565a560baa4ace0cd730e9db838241b70c3b93c27d6b2c75a88edf9c357c864d0f0104323925371c96f
-DIST udis86-1.7.tar.gz 696651 BLAKE2B 5d0a97e06b6bc7b263b6f080e12f832d4bfc9a4791a495e49cd2f4ee6d37d13e593891e02fe9ee3c3fb5e7ec23bf25ae7aa1dccd1f95b5c003f6a6e45bbb7f8d SHA512 df0f802d4c0cf6b39b5b996cfd721cb7d0bdd1b0e2f2f7bcb7165514541b94d795c653e885d9f928d9a27f19464ed6fa948f4315fc1f3887079201fcbb2a241e

diff --git a/dev-libs/udis86/files/udis86-1.7-yasm.patch b/dev-libs/udis86/files/udis86-1.7-yasm.patch
deleted file mode 100644
index 3d3eecdf828..00000000000
--- a/dev-libs/udis86/files/udis86-1.7-yasm.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -25,6 +25,9 @@
- AC_DISABLE_SHARED
- AC_PROG_LIBTOOL
- 
-+AC_PATH_PROG([YASM], yasm,)
-+AC_SUBST(YASM)
-+
- # If this is a gnu compiler, pass -Wall
- if test "$ac_cv_c_compiler_gnu" = "yes"; then
- 	CFLAGS="$CFLAGS -Wall"
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -10,7 +10,7 @@
- ovrrun_LDADD   = ../libudis86/libudis86.la
- ovrrun_CFLAGS  = -I$(top_srcdir)/libudis86 -I$(top_srcdir)
- 
--YASM = yasm
-+YASM = @YASM@
- 
- dist_check_DATA = test16.asm test32.asm test64.asm testjmp.asm testobscure.asm \
- 		 testjmp.ref testobscure.ref randtest.raw randtest16.ref      \
-@@ -18,7 +18,10 @@
- 
- check-local: tests
- 
--tests: test16 test32 test64 testjmp bufovrrun randraw
-+yasm_tests: test16 test32 test64 testjmp
-+no_yasm_tests: bufovrrun randraw
-+
-+tests: $(if $(YASM), yasm_tests) no_yasm_tests
- 
- test16: gen 
- 	$(YASM) -f bin -o test16.bin $(top_srcdir)/tests/test16.asm

diff --git a/dev-libs/udis86/udis86-1.7-r2.ebuild b/dev-libs/udis86/udis86-1.7-r2.ebuild
deleted file mode 100644
index 130c1b7981a..00000000000
--- a/dev-libs/udis86/udis86-1.7-r2.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=1
-inherit autotools-multilib eutils
-
-DESCRIPTION="Disassembler library for the x86/-64 architecture sets"
-HOMEPAGE="http://udis86.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ppc ~ppc64 ~sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? (
-		amd64? ( dev-lang/yasm )
-		x86? ( dev-lang/yasm )
-		x86-fbsd? ( dev-lang/yasm )
-	)"
-RDEPEND=""
-
-PATCHES=(
-	"${FILESDIR}"/${P}-yasm.patch
-)
-
-src_configure() {
-	local myeconfargs=(
-		--disable-static
-		--enable-shared
-		--with-pic
-	)
-
-	autotools-multilib_src_configure
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-12 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-12 15:37 [gentoo-commits] repo/gentoo:master commit in: dev-libs/udis86/, dev-libs/udis86/files/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2021-03-06 18:55 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox