commit:     29b220ce1f48c5407c3cd73395b6caf610c416b7
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 08:30:10 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 09:32:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b220ce

dev-embedded/jal: remove an assert

That assert is obviously wrong, and the fix doesn't look right.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 .../files/jal-0.4.62-fix-incompatible-integer-to-pointer-clang16.patch | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/dev-embedded/jal/files/jal-0.4.62-fix-incompatible-integer-to-pointer-clang16.patch
 
b/dev-embedded/jal/files/jal-0.4.62-fix-incompatible-integer-to-pointer-clang16.patch
index 10bef3a4c573..77536e0fefac 100644
--- 
a/dev-embedded/jal/files/jal-0.4.62-fix-incompatible-integer-to-pointer-clang16.patch
+++ 
b/dev-embedded/jal/files/jal-0.4.62-fix-incompatible-integer-to-pointer-clang16.patch
@@ -12,12 +12,11 @@ Bug: https://bugs.gentoo.org/883243
  
 --- a/jal/treetools.c
 +++ b/jal/treetools.c
-@@ -600,7 +600,7 @@ tree arg(tree p, int n, boolean must_find)
+@@ -600,7 +600,6 @@ tree arg(tree p, int n, boolean must_find)
  #endif
      assert_kind(p->loc, p, node_procedure);
  /*    jal_assert(p->loc, n > 0); */
 -    assert_pointer(p->loc, n > 0);
-+    assert_pointer(p->loc, (void *)( n > 0 ));
      p = p->first;
      assert_pointer(NULL, p);
  

Reply via email to