summaryrefslogtreecommitdiff
path: root/dev-lang/nasm
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 11:50:53 -0500
commit290aebdea65a02557706eaeda477fef0437b6a48 (patch)
treef87a939169a508a2e943570501b64cc16b411cda /dev-lang/nasm
parent6783ddcd4b73d9ce586a71770caed352bec93b16 (diff)
downloadbaldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz
baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip
Adding metadata
Diffstat (limited to 'dev-lang/nasm')
-rw-r--r--dev-lang/nasm/Manifest2
-rw-r--r--dev-lang/nasm/files/nasm-2.15-bsd-cp-doc.patch13
-rw-r--r--dev-lang/nasm/files/nasm-3.01-musl.patch92
-rw-r--r--dev-lang/nasm/metadata.xml21
-rw-r--r--dev-lang/nasm/nasm-2.16.03.ebuild91
-rw-r--r--dev-lang/nasm/nasm-3.01.ebuild95
6 files changed, 0 insertions, 314 deletions
diff --git a/dev-lang/nasm/Manifest b/dev-lang/nasm/Manifest
deleted file mode 100644
index 0c3cc661ad50..000000000000
--- a/dev-lang/nasm/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST nasm-2.16.03.tar.xz 1032388 BLAKE2B 742cbf330341fde9f778d8ca13e8c06199f48796d47028ac973d39e3d9e434450cdfebe89f6ab248d372bdaeb0c88a25eb7153a39b66fc05e770523d4c9e11e9 SHA512 0c706e41a9c33e1ac3bad5056e8bf8cbcd51785b551a6e34ce7d0d723df8eaab8603a033e89b3dcda1004b558f9e9ef3196691500f10d8201bf47a323a516f84
-DIST nasm-3.01.tar.xz 1499136 BLAKE2B 182d908e949e8212ec29bfaa4b747312f7b57dd686195c9b44701f0055ced4b40555624e27d1e1183b356095da76ba1ac8b2a5aa84b2e0d2277106de8ca915d1 SHA512 ca9550ad3239cfaa9546a908e8de86e11a7c7dd9d6006f42d272d0b025b601cdb205e60b8b3929f31123ef450dd0f0403e1300328cadf0ffdfd459f443944482
diff --git a/dev-lang/nasm/files/nasm-2.15-bsd-cp-doc.patch b/dev-lang/nasm/files/nasm-2.15-bsd-cp-doc.patch
deleted file mode 100644
index 5c7f6cfafea1..000000000000
--- a/dev-lang/nasm/files/nasm-2.15-bsd-cp-doc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Avoid 'cp -u' as it's not portable.
-
-In this case we can unconditionally copy files.
-
-Reported-by: Michał Górny
-Bug: https://bugs.gentoo.org/655444
---- a/doc/Makefile.in
-+++ b/doc/Makefile.in
-@@ -28,3 +28,3 @@ RM_RF = rm -rf
- CP_F = cp -f
--CP_UF = cp -uf
-+CP_UF = cp -f
-
diff --git a/dev-lang/nasm/files/nasm-3.01-musl.patch b/dev-lang/nasm/files/nasm-3.01-musl.patch
deleted file mode 100644
index 20efe150b078..000000000000
--- a/dev-lang/nasm/files/nasm-3.01-musl.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-https://github.com/netwide-assembler/nasm/commit/44e89ba9b650b5e1533bca43682e167f51a3511f
-From: "H. Peter Anvin (Intel)" <hpa@zytor.com>
-Date: Sun, 12 Oct 2025 12:48:32 -0700
-Subject: [PATCH] compiler.h: drop the stupid C++-style cast-to-bool hack
-
-The C++-style cast-to-bool hack was broken in concept that it doesn't help the
-fundamental problem -- implicit conversions are broken for the
-backwards compatibility enum definition -- as well as in
-implementation, as it misspelled __STDC_VERSION__ as __STDC_VERSION.
-
-The #ifdef bool test *should* have prevented this problem, but
-apparently several compilers do define "bool" in <stdbool.h> even when
-it is a keyword, in violation of the C23 spec.
-
-Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
---- a/include/compiler.h
-+++ b/include/compiler.h
-@@ -181,19 +181,10 @@ size_t strlcpy(char *, const char *, size_t);
- char * pure_func strrchrnul(const char *, int);
- #endif
-
--#if !defined(__cplusplus) || (__STDC_VERSION >= 202311L)
- /* C++ and C23 have bool, false, and true as proper keywords */
-+#if !defined(__cplusplus) || (__STDC_VERSION__ >= 202311L)
- # ifdef HAVE_STDBOOL_H
--/* If <stdbool.h> exists, include it explicitly to prevent it from
-- begin included later, causing the "bool" macro to be defined. */
- # include <stdbool.h>
--# ifdef bool
--/* Force bool to be a typedef instead of a macro. What a "clever" hack
-- this is... */
-- typedef bool /* The macro definition of bool */
--# undef bool
-- bool; /* No longer the macro definition */
--# endif
- # elif defined(HAVE___BOOL)
- typedef _Bool bool;
- # define false 0
-@@ -201,14 +192,10 @@ char * pure_func strrchrnul(const char *, int);
- # else
- /* This is a bit dangerous, because casting to this ersatz bool
- will not produce the same result as the standard (bool) cast.
-- Instead, use the bool() constructor-style macro defined below. */
-+ Instead, use the explicit construct !!x instead of relying on
-+ implicit conversions or casts. */
- typedef enum bool { false, true } bool;
- # endif
--/* This amounts to a C++-style conversion cast to bool. This works
-- because C ignores an argument-taking macro when used without an
-- argument and because bool was redefined as a typedef if it previously
-- was defined as a macro (see above.) */
--# define bool(x) ((bool)!!(x))
- #endif
-
- /* Create a NULL pointer of the same type as the address of
-@@ -321,11 +308,11 @@ static inline void *mempset(void *dst, int c, size_t n)
- * less likely to be taken.
- */
- #ifdef HAVE___BUILTIN_EXPECT
--# define likely(x) __builtin_expect(bool(x), true)
--# define unlikely(x) __builtin_expect(bool(x), false)
-+# define likely(x) __builtin_expect(!!(x), true)
-+# define unlikely(x) __builtin_expect(!!(x), false)
- #else
--# define likely(x) bool(x)
--# define unlikely(x) bool(x)
-+# define likely(x) (!!(x))
-+# define unlikely(x) (!!(x))
- #endif
-
- #ifdef HAVE___BUILTIN_PREFETCH
-
-https://github.com/netwide-assembler/nasm/commit/746e7c9efa37cec9a44d84a1e96b8c38f385cc1f
-From: "H. Peter Anvin (Intel)" <hpa@zytor.com>
-Date: Sun, 12 Oct 2025 13:05:55 -0700
-Subject: [PATCH] compiler.h: the test for "neither C++ nor C23" still wrong
-
-The test needs to test for neither nor; as it was it tested "(not C++)
-or C23" which was not at all what was intended...
-
-Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
---- a/include/compiler.h
-+++ b/include/compiler.h
-@@ -182,7 +182,7 @@ char * pure_func strrchrnul(const char *, int);
- #endif
-
- /* C++ and C23 have bool, false, and true as proper keywords */
--#if !defined(__cplusplus) || (__STDC_VERSION__ >= 202311L)
-+#if !defined(__cplusplus) && (__STDC_VERSION__ < 202311L)
- # ifdef HAVE_STDBOOL_H
- # include <stdbool.h>
- # elif defined(HAVE___BOOL)
diff --git a/dev-lang/nasm/metadata.xml b/dev-lang/nasm/metadata.xml
deleted file mode 100644
index 37ca2df20387..000000000000
--- a/dev-lang/nasm/metadata.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>arthurzam@gentoo.org</email>
- <name>Arthur Zamarin</name>
- </maintainer>
- <longdescription>
-The Netwide Assembler, NASM, is an 80x86 assembler designed for portability
-and modularity. It supports a range of object file formats, including Linux
-and NetBSD/FreeBSD a.out, ELF, COFF, Microsoft 16-bit OBJ and Win32. It
-will also output plain binary files. Its syntax is designed to be simple
-and easy to understand, similar to Intel's but less complex. It supports
-Pentium, P6, MMX, 3DNow!, SSE and SSE2 opcodes, and has macro capability.
- </longdescription>
- <upstream>
- <bugs-to>https://bugzilla.nasm.us/</bugs-to>
- <remote-id type="cpe">cpe:/a:nasm:netwide_assembler</remote-id>
- </upstream>
- <origin>baldeagleos-repo</origin>
-</pkgmetadata>
diff --git a/dev-lang/nasm/nasm-2.16.03.ebuild b/dev-lang/nasm/nasm-2.16.03.ebuild
deleted file mode 100644
index e9685fd52d8a..000000000000
--- a/dev-lang/nasm/nasm-2.16.03.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="groovy little assembler"
-HOMEPAGE="https://www.nasm.us/"
-SRC_URI="https://www.nasm.us/pub/nasm/releasebuilds/${PV/_}/${P/_}.tar.xz"
-S="${WORKDIR}"/${P/_}
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
-IUSE="doc"
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- # Windows.
- _BitScanReverse
- _BitScanReverse64
-
- # Linux headers that are not included.
- __cpu_to_le16
- __cpu_to_le32
- __cpu_to_le64
- _byteswap_uint64
- _byteswap_ulong
- _byteswap_ushort
- cpu_to_le16
- cpu_to_le32
- cpu_to_le64
-
- # __typeof as gnu extensions are not enabled
- typeof
-
- # musl doesn't define __bswap_N in endian.h (it's named _bswapN
- # instead). could be fixed to call this instead, or to include
- # musl's byteswap.h instead, but it is much easier to fall back on
- # __builtin_bswapN. Bug #928848
- __bswap_16
- __bswap_32
- __bswap_64
-)
-
-# [fonts note] doc/psfonts.ph defines ordered list of font preference.
-# Currently 'media-fonts/source-pro' is most preferred and is able to
-# satisfy all 6 font flavours: tilt, chapter, head, etc.
-BDEPEND="
- dev-lang/perl
- doc? (
- app-text/ghostscript-gpl
- dev-perl/Font-TTF
- dev-perl/Sort-Versions
- media-fonts/source-code-pro
- media-fonts/source-sans:3
- virtual/perl-File-Spec
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.15-bsd-cp-doc.patch
-)
-
-src_prepare() {
- default
-
- # https://bugs.gentoo.org/870214
- # During the split of media-fonts/source-pro, the source-sans files
- # were renamed. Currently depend on media-fonts/source-sans:3 which works
- # with this sed.
- sed -i 's/SourceSansPro/SourceSans3/g' doc/psfonts.ph || die
-
- AT_M4DIR="${S}/autoconf/m4" eautoreconf
-}
-
-src_configure() {
- # --enable-lto just appends -flto to *FLAGS
- # so let users just use lto through normal make.conf *FLAGS
- econf
-}
-
-src_compile() {
- default
- use doc && emake doc
-}
-
-src_install() {
- default
- emake DESTDIR="${D}" install $(usex doc install_doc '')
-}
diff --git a/dev-lang/nasm/nasm-3.01.ebuild b/dev-lang/nasm/nasm-3.01.ebuild
deleted file mode 100644
index 7ff1e5c14437..000000000000
--- a/dev-lang/nasm/nasm-3.01.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="groovy little assembler"
-HOMEPAGE="https://www.nasm.us/"
-SRC_URI="https://www.nasm.us/pub/nasm/releasebuilds/${PV/_}/${P/_}.tar.xz"
-S=${WORKDIR}/${P/_}
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
-IUSE="doc"
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- # Windows.
- _BitScanReverse
- _BitScanReverse64
-
- # Linux headers that are not included.
- __cpu_to_le16
- __cpu_to_le32
- __cpu_to_le64
- _byteswap_uint64
- _byteswap_ulong
- _byteswap_ushort
- cpu_to_le16
- cpu_to_le32
- cpu_to_le64
-
- # __typeof as gnu extensions are not enabled
- typeof
-
- # musl doesn't define __bswap_N in endian.h (it's named _bswapN
- # instead). could be fixed to call this instead, or to include
- # musl's byteswap.h instead, but it is much easier to fall back on
- # __builtin_bswapN. Bug #928848
- __bswap_16
- __bswap_32
- __bswap_64
-
- # has fallback code to handle this missing on musl
- stdc_leading_zeros
-)
-
-# [fonts note] doc/psfonts.ph defines ordered list of font preference.
-# Currently 'media-fonts/source-pro' is most preferred and is able to
-# satisfy all 6 font flavours: tilt, chapter, head, etc.
-BDEPEND="
- dev-lang/perl
- doc? (
- app-text/ghostscript-gpl
- dev-perl/Font-TTF
- dev-perl/Sort-Versions
- media-fonts/source-code-pro
- media-fonts/source-sans:3
- virtual/perl-File-Spec
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.15-bsd-cp-doc.patch
- "${FILESDIR}"/${P}-musl.patch # merged upstream
-)
-
-src_prepare() {
- default
-
- # https://bugs.gentoo.org/870214
- # During the split of media-fonts/source-pro, the source-sans files
- # were renamed. Currently depend on media-fonts/source-sans:3 which works
- # with this sed.
- sed -i 's/SourceSansPro/SourceSans3/g' doc/psfonts.ph || die
-
- AT_M4DIR="${S}/autoconf/m4" eautoreconf
-}
-
-src_configure() {
- # --enable-lto just appends -flto to *FLAGS
- # so let users just use lto through normal make.conf *FLAGS
- econf
-}
-
-src_compile() {
- default
- use doc && emake doc
-}
-
-src_install() {
- default
- emake DESTDIR="${D}" install $(usex doc install_doc '')
-}