Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 1319be6939 | |||
| 07c0825829 | |||
| d9181a12eb | |||
| 7e51f8aa45 | |||
| a6cdf74118 | |||
| 655b06dfb0 | |||
| 70f3763c8a | |||
| b47fb311ab |
25
fix-bool.patch
Normal file
25
fix-bool.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
github.com/gentoo/gentoo/commit/f1ad5f3
|
||||
|
||||
From: NRK <nrk@disroot.org>
|
||||
Date: Sat, 8 Mar 2025 20:52:10 +0000
|
||||
Subject: [PATCH] dev-lang/uasm: replace custom bool with stdbool.h
|
||||
Closes: https://bugs.gentoo.org/944192
|
||||
|
||||
|
||||
diff --git a/H/bool.h b/H/bool.h
|
||||
index fbf55c8..ddb7396 100644
|
||||
--- a/H/bool.h
|
||||
+++ b/H/bool.h
|
||||
@@ -30,10 +30,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
-#if !defined( BOOL_DEFINED ) && !defined( bool ) && !(__WATCOMC__ >= 1070 && defined(__cplusplus))
|
||||
- #define BOOL_DEFINED
|
||||
- typedef unsigned char bool;
|
||||
-#endif
|
||||
+#include <stdbool.h>
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
#endif
|
||||
43
uasm.changes
43
uasm.changes
@@ -1,3 +1,46 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 17:06:33 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
||||
|
||||
- add -std=gnu11 to CFLAGS to fix prototype issues w /gcc-15, and
|
||||
to still allow build on Leap 15.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 2 19:44:45 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
||||
|
||||
- add fix-bool.patch to fix gcc-15 compile time error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 5 20:48:04 UTC 2025 - Antonio Teixeira <antonio.teixeira@suse.com>
|
||||
|
||||
- Update to 2.57:
|
||||
* Added aam/aad imm8 missing instruction variant.
|
||||
* Added corrections for constant too large warnings and included >64bit size immediate errors.
|
||||
* Corrected a conflict between local and struct having the same name.
|
||||
* Updated the encoding of xchg eax,eax to not just be a NOP in 64bit code as a side effect is
|
||||
clearing the top half of RAX.
|
||||
* Reduced unnecessary REX prefixes in PROC prologue.
|
||||
* Cleaned up makefile names
|
||||
* Fixed a general failure on empty unions.
|
||||
* Applied typedef ptr fix in legacy codeview symbolic debugging info.
|
||||
* Noted string literal usage in manual.
|
||||
* Fixed a stack balancing regression leading to an umatched add/sub rsp,8 pair forLinux 64bit.
|
||||
* Prevented vmovd/vmovq from accepting ymm or zmm registes.
|
||||
* Prevent OR rax,64bit immediate and other instructions that aren't MOV.
|
||||
* Based on a patch to original Jwasm which may have entered an infinite loop if a structured
|
||||
variable wasn't defined (yet), but a member name matched a local name.
|
||||
* Included Vortex Def2Lib utility in the distribution with Import Definitions kindly supplied
|
||||
from MASM32.
|
||||
Can be run via MakeLib.bat or
|
||||
def2lib *.def
|
||||
def2lib ntvdm.def -e
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 15 12:21:34 UTC 2024 - Martin Jambor <mjambor@suse.com>
|
||||
|
||||
- Added -fpermissive to %{optflags} so that GCC 14 does not
|
||||
treat various C99 violations present in the source as errors
|
||||
by default. [boo#1225948]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 11:12:24 UTC 2022 - Danilo Spinella <danilo.spinella@suse.com>
|
||||
|
||||
|
||||
10
uasm.spec
10
uasm.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package uasm
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,14 +15,16 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: uasm
|
||||
Version: 2.56.2
|
||||
Version: 2.57r
|
||||
Release: 0
|
||||
Summary: MASM-compatible assembler based on JWasm
|
||||
License: Watcom-1.0
|
||||
URL: http://www.terraspace.co.uk/%{name}.html
|
||||
Source: https://github.com/Terraspace/%{name}/archive/refs/tags/v%{version}.tar.gz
|
||||
Patch0: fix-error-return-type.patch
|
||||
Patch1: fix-bool.patch
|
||||
BuildRequires: glibc-devel
|
||||
|
||||
%description
|
||||
@@ -32,7 +34,9 @@ MASM-compatible assembler based on JWasm
|
||||
%autosetup -n UASM-%{version} -p1
|
||||
|
||||
%build
|
||||
%make_build -f gccLinux64.mak CFLAGS="%{optflags}"
|
||||
# Workaround for boo#1225948
|
||||
%global optflags %{optflags} -fpermissive
|
||||
%make_build -f Makefile-Linux-GCC-64.mak CFLAGS="%{optflags} -std=gnu11"
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
|
||||
BIN
v2.56.2.tar.gz
LFS
BIN
v2.56.2.tar.gz
LFS
Binary file not shown.
3
v2.57r.tar.gz
Normal file
3
v2.57r.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09fa69445f2af47551e82819d024e6b4b629fcfd47af4a22ccffbf37714230e5
|
||||
size 1240492
|
||||
Reference in New Issue
Block a user