libx86-1: upgrade 1.1 -> 1.1.1
PATCH 1/1 libx86-1: upgrade 1.1 -> 1.1.1
Bugfix release, mostly with patches applied from other distros. Also fixes the SRC_URI which became inaccessible over time. Drop patches that are included in this release.
Shortlog:
https://gitlab.archlinux.org/grawlinson/libx86/-/compare/v1.1...v1.1.1
Signed-off-by Gyorgy Sarvari <[email protected]>
---
...efine-CARD32-as-uint-as-it-is-32-bit.patch | 0
.../0001-assume-zero-is-valid-address.patch | 0
...-type-of-the-void-pointer-assignment.patch | 33 ---
.../libx86-1.1/libx86-mmap-offset.patch | 192 ------------------
.../libx86-1.1/makefile-add-ldflags.patch | 17 --
.../{libx86-1_1.1.bb => libx86-1_1.1.1.bb} | 9 +-
6 files changed, 4 insertions(+), 247 deletions(-)
rename meta-oe/recipes-extended/libx86-1/{libx86-1.1 => libx86-1.1.1}/0001-Define-CARD32-as-uint-as-it-is-32-bit.patch (100%)
rename meta-oe/recipes-extended/libx86-1/{libx86-1.1 => libx86-1.1.1}/0001-assume-zero-is-valid-address.patch (100%)
delete mode 100644 meta-oe/recipes-extended/libx86-1/libx86-1.1/0001-Fix-type-of-the-void-pointer-assignment.patch
delete mode 100644 meta-oe/recipes-extended/libx86-1/libx86-1.1/libx86-mmap-offset.patch
delete mode 100644 meta-oe/recipes-extended/libx86-1/libx86-1.1/makefile-add-ldflags.patch
rename meta-oe/recipes-extended/libx86-1/{libx86-1_1.1.bb => libx86-1_1.1.1.bb} (74%)meta-oe/recipes-extended/libx86-1/libx86-1.1.1/0001-Define-CARD32-as-uint-as-it-is-32-bit.patch renamed from meta-oe/recipes-extended/libx86-1/libx86-1.1/0001-Define-CARD32-as-uint-as-it-is-32-bit.patch +0 -0
meta-oe/recipes-extended/libx86-1/libx86-1.1.1/0001-assume-zero-is-valid-address.patch renamed from meta-oe/recipes-extended/libx86-1/libx86-1.1/0001-assume-zero-is-valid-address.patch +0 -0
meta-oe/recipes-extended/libx86-1/libx86-1.1/0001-Fix-type-of-the-void-pointer-assignment.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From c782e208021409e9b78acb2200abd4319072e78a Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Fri, 2 Sep 2022 00:28:05 -0700 -Subject: [PATCH] Fix type of the void pointer assignment - -Fixes build with clang - -x86-common.c:216:9: error: incompatible integer to pointer conversion assigning to 'void *' from 'long' [-Wint-conversion] - offset = mem_info.offset - REAL_MEM_BASE; - ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Upstream-Status: Pending -Signed-off-by: Khem Raj <[email protected]> ---- - x86-common.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/x86-common.c b/x86-common.c -index 137bc3c..6f737ed 100644 ---- a/x86-common.c -+++ b/x86-common.c -@@ -213,7 +213,7 @@ void *LRMI_common_init(int high_page) - if (!real_mem_init(high_page)) - return NULL; - -- offset = mem_info.offset - REAL_MEM_BASE; -+ offset = (void*)(mem_info.offset - REAL_MEM_BASE); - - /* - Map the Interrupt Vectors (0x0 - 0x400) + BIOS data (0x400 - 0x502) --- -2.37.3 -
meta-oe/recipes-extended/libx86-1/libx86-1.1/libx86-mmap-offset.patch deleted +0 -192
192 lines not on this page · raw message
meta-oe/recipes-extended/libx86-1/libx86-1.1/makefile-add-ldflags.patch deleted +0 -17
@@ -1,17 +0,0 @@ -Upstream-Status: Pending - -Signed-off-by: Yi Zhao <[email protected]> - -diff --git a/Makefile b/Makefile -index 951b617..6d9b73d 100644 ---- a/Makefile -+++ b/Makefile -@@ -22,7 +22,7 @@ static: $(OBJECTS) - $(AR) cru libx86.a $(OBJECTS) - - shared: $(OBJECTS) -- $(CC) $(CFLAGS) -o libx86.so.1 -shared -Wl,-soname,libx86.so.1 $(OBJECTS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o libx86.so.1 -shared -Wl,-soname,libx86.so.1 $(OBJECTS) - - objclean: - $(MAKE) -C x86emu clean
meta-oe/recipes-extended/libx86-1/libx86-1_1.1.1.bb renamed from meta-oe/recipes-extended/libx86-1/libx86-1_1.1.bb +4 -5
@@ -7,17 +7,16 @@ LICENSE = "MIT & BSD-3-Clause" SECTION = "libs" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=633af6c02e6f624d4c472d970a2aca53" -SRC_URI = "https://mirrors.slackware.com/slackware/slackware-current/source/ap/libx86/libx86-${PV}.tar.gz \ - file://libx86-mmap-offset.patch \ +SRC_URI = "https://mirrors.slackware.com/slackware/slackware-current/source/ap/libx86/libx86-v${PV}.tar.lz \ file://0001-assume-zero-is-valid-address.patch \ - file://makefile-add-ldflags.patch \ - file://0001-Fix-type-of-the-void-pointer-assignment.patch \ file://0001-Define-CARD32-as-uint-as-it-is-32-bit.patch \ " -SRC_URI[sha256sum] = "5bf13104cb327472b5cb65643352a9138646becacc06763088d83001d832d048" +SRC_URI[sha256sum] = "0de221c8e2fcc84078155c1a82f86dcd71c2706033eb410d2090d86c99f51141" UPSTREAM_CHECK_URI = "https://mirrors.slackware.com/slackware/slackware-current/source/ap/libx86/" +S = "${UNPACKDIR}/${BPN}-v${PV}" + BPN = "libx86" COMPATIBLE_HOST = '(x86_64|i.86).*-linux'