8 Commits

Author SHA256 Message Date
1319be6939 Accepting request 1269490 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1269490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uasm?expand=0&rev=5
2025-04-16 18:37:38 +00:00
07c0825829 add -std=gnu11 to CFLAGS to fix prototype issues w /gcc-15, and to still allow build on Leap 15.6
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/uasm?expand=0&rev=9
2025-04-15 08:35:28 +00:00
d9181a12eb Accepting request 1267070 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1267070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uasm?expand=0&rev=4
2025-04-07 15:35:00 +00:00
7e51f8aa45 add fix-bool.patch to fix gcc-15 compile error
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/uasm?expand=0&rev=7
2025-04-04 08:16:28 +00:00
a6cdf74118 Accepting request 1235214 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1235214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uasm?expand=0&rev=3
2025-01-07 19:50:11 +00:00
655b06dfb0 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/uasm?expand=0&rev=5
2025-01-06 14:45:42 +00:00
70f3763c8a Accepting request 1187883 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1187883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uasm?expand=0&rev=2
2024-07-17 13:13:52 +00:00
b47fb311ab - Added -fpermissive to %{optflags} so that GCC 14 does not
treat various C99 violations present in the source as errors
  by default. [boo#1225948]

If the request is OK, please forward it to Factory soon-ish too, so
that we can switch the default compiler.  Thanks!

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/uasm?expand=0&rev=3
2024-07-16 11:11:27 +00:00
5 changed files with 78 additions and 6 deletions

25
fix-bool.patch Normal file
View 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

View File

@@ -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>

View File

@@ -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

Binary file not shown.

3
v2.57r.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09fa69445f2af47551e82819d024e6b4b629fcfd47af4a22ccffbf37714230e5
size 1240492