diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-06-29 05:01:47 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-06-30 11:57:49 +0200 |
commit | 154f3dc4ae4140c8ae0e5c257ea4a990280e21dd (patch) | |
tree | 7116b58c4cb6b8973cbc3159fe6c935423c1d357 /Ports | |
parent | 6d4d6c3e2a096f9e475ac090a8bfd257535f8132 (diff) | |
download | serenity-154f3dc4ae4140c8ae0e5c257ea4a990280e21dd.zip |
Ports: Add a port of `e2fsprogs`
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/e2fsprogs/package.sh | 6 | ||||
-rw-r--r-- | Ports/e2fsprogs/patches/0001-Include-sys-time.h-in-various-places.patch | 50 | ||||
-rw-r--r-- | Ports/e2fsprogs/patches/ReadMe.md | 10 |
4 files changed, 67 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index d5737820e3..e2e9adc69d 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -44,6 +44,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`dreamweb`](dreamweb/) | DreamWeb | 1.1 | https://www.scummvm.org/games/#games-dreamweb | | [`dropbear`](dropbear/) | Dropbear SSH | 2022.82 | https://dropbear.nl/mirror/dropbear.html | | [`dungeonrush`](dungeonrush/) | DungeonRush | 1.1-beta | https://github.com/Rapiz1/DungeonRush | +| [`e2fsprogs`](e2fsprogs/) | e2fsprogs | 1.46.5 | http://e2fsprogs.sourceforge.net/ | | [`ed`](ed/) | GNU ed | 1.18 | https://www.gnu.org/software/ed/ | | [`edid-decode`](edid-decode/) | edid-decode | 20220315.cb74358c2896 | https://git.linuxtv.org/edid-decode | | [`emu2`](emu2/) | emu2 DOS emulator | 2021.01 | https://github.com/dmsc/emu2 | diff --git a/Ports/e2fsprogs/package.sh b/Ports/e2fsprogs/package.sh new file mode 100755 index 0000000000..63a17cd3c5 --- /dev/null +++ b/Ports/e2fsprogs/package.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port='e2fsprogs' +version='1.46.5' +files="https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${version}/e2fsprogs-${version}.tar.xz e2fsprogs-${version}.tar.xz 2f16c9176704cf645dc69d5b15ff704ae722d665df38b2ed3cfc249757d8d81e" +auth_type='sha256' +useconfigure='true' diff --git a/Ports/e2fsprogs/patches/0001-Include-sys-time.h-in-various-places.patch b/Ports/e2fsprogs/patches/0001-Include-sys-time.h-in-various-places.patch new file mode 100644 index 0000000000..d0da1da4d4 --- /dev/null +++ b/Ports/e2fsprogs/patches/0001-Include-sys-time.h-in-various-places.patch @@ -0,0 +1,50 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Tim Schumacher <timschumi@gmx.de> +Date: Wed, 29 Jun 2022 03:48:52 +0200 +Subject: [PATCH] Include `sys/time.h` in various places + +Apparently, certain definitions from `sys/time.h` are supposed to be +available from `sys/types.h` as well, but there isn't anything to verify +that, so just add the inclusions manually for now. +--- + lib/ext2fs/bitmaps.c | 1 + + lib/ext2fs/blkmap64_ba.c | 1 + + lib/ext2fs/blkmap64_rb.c | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/lib/ext2fs/bitmaps.c b/lib/ext2fs/bitmaps.c +index 834a396..6a05b1b 100644 +--- a/lib/ext2fs/bitmaps.c ++++ b/lib/ext2fs/bitmaps.c +@@ -21,6 +21,7 @@ + #if HAVE_SYS_STAT_H + #include <sys/stat.h> + #endif ++#include <sys/time.h> + #if HAVE_SYS_TYPES_H + #include <sys/types.h> + #endif +diff --git a/lib/ext2fs/blkmap64_ba.c b/lib/ext2fs/blkmap64_ba.c +index 5d8f154..63e6008 100644 +--- a/lib/ext2fs/blkmap64_ba.c ++++ b/lib/ext2fs/blkmap64_ba.c +@@ -20,6 +20,7 @@ + #if HAVE_SYS_STAT_H + #include <sys/stat.h> + #endif ++#include <sys/time.h> + #if HAVE_SYS_TYPES_H + #include <sys/types.h> + #endif +diff --git a/lib/ext2fs/blkmap64_rb.c b/lib/ext2fs/blkmap64_rb.c +index 0df58dc..57d0346 100644 +--- a/lib/ext2fs/blkmap64_rb.c ++++ b/lib/ext2fs/blkmap64_rb.c +@@ -20,6 +20,7 @@ + #if HAVE_SYS_STAT_H + #include <sys/stat.h> + #endif ++#include <sys/time.h> + #if HAVE_SYS_TYPES_H + #include <sys/types.h> + #endif diff --git a/Ports/e2fsprogs/patches/ReadMe.md b/Ports/e2fsprogs/patches/ReadMe.md new file mode 100644 index 0000000000..ca703d0fd7 --- /dev/null +++ b/Ports/e2fsprogs/patches/ReadMe.md @@ -0,0 +1,10 @@ +# Patches for e2fsprogs on SerenityOS + +## `0001-Include-sys-time.h-in-various-places.patch` + +Include `sys/time.h` in various places + +Apparently, certain definitions from `sys/time.h` are supposed to be +available from `sys/types.h` as well, but there isn't anything to verify +that, so just add the inclusions manually for now. + |