From 6cc2ed00d1a1693b382a179618737e4b511b457e3fe0ad6656bd60b7b578bb87 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 7 Nov 2023 10:33:08 +0000 Subject: [PATCH] Accepting request 1121710 from home:tabraham1:branches:Base:System - Add libhugetlbfs-increase-mount-buffer.patch for upstream issue gh#43 (boo#1216576) OBS-URL: https://build.opensuse.org/request/show/1121710 OBS-URL: https://build.opensuse.org/package/show/Base:System/libhugetlbfs?expand=0&rev=66 --- _servicedata | 4 ++++ libhugetlbfs-2.23.0.g6b126a4.obscpio | 2 +- libhugetlbfs-increase-mount-buffer.patch | 11 +++++++++++ libhugetlbfs.changes | 6 ++++++ libhugetlbfs.spec | 3 ++- 5 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 _servicedata create mode 100644 libhugetlbfs-increase-mount-buffer.patch diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..c0de687 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/libhugetlbfs/libhugetlbfs.git + 6b126a4d7da9490fa40fe7e1b962edcb939feddc \ No newline at end of file diff --git a/libhugetlbfs-2.23.0.g6b126a4.obscpio b/libhugetlbfs-2.23.0.g6b126a4.obscpio index 5ac0f1b..d1be668 100644 --- a/libhugetlbfs-2.23.0.g6b126a4.obscpio +++ b/libhugetlbfs-2.23.0.g6b126a4.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:559023960a0535e817aa01ba1d1ac425f1bc705b83be1e5b6eee914f16f4daa9 +oid sha256:29a57b022dbb2f5f51988c9b44548ad2b62f888bacea9cfcf280136dd1689e30 size 772108 diff --git a/libhugetlbfs-increase-mount-buffer.patch b/libhugetlbfs-increase-mount-buffer.patch new file mode 100644 index 0000000..bd906e3 --- /dev/null +++ b/libhugetlbfs-increase-mount-buffer.patch @@ -0,0 +1,11 @@ +--- a/hugeutils.c ++++ b/hugeutils.c +@@ -617,7 +617,7 @@ + hpage_sizes[i].mount); + } + +-#define LINE_MAXLEN 2048 ++#define LINE_MAXLEN 4096 + static void find_mounts(void) + { + int fd; diff --git a/libhugetlbfs.changes b/libhugetlbfs.changes index eecd38e..8ffcd9c 100644 --- a/libhugetlbfs.changes +++ b/libhugetlbfs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 1 16:44:03 UTC 2023 - Thomas Abraham + +- Add libhugetlbfs-increase-mount-buffer.patch for upstream issue gh#43 + (boo#1216576) + ------------------------------------------------------------------- Wed Mar 1 03:18:42 UTC 2023 - Bernhard Wiedemann diff --git a/libhugetlbfs.spec b/libhugetlbfs.spec index bab7497..a15b7a9 100644 --- a/libhugetlbfs.spec +++ b/libhugetlbfs.spec @@ -1,7 +1,7 @@ # # spec file for package libhugetlbfs # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,6 +31,7 @@ Patch1: libhugetlbfs_ia64_fix_missing_test.patch Patch2: disable-rw-on-non-ldscripts.diff Patch3: zero_filesize_segment.patch Patch4: glibc-2.34-fix.patch +Patch5: libhugetlbfs-increase-mount-buffer.patch BuildRequires: doxygen BuildRequires: glibc-devel-static BuildRoot: %{_tmppath}/%{name}-%{version}-build