Skip to content

Commit

Permalink
[bsd] Test older version of gnulib
Browse files Browse the repository at this point in the history
  • Loading branch information
ileanadumitrescu95 committed Oct 30, 2024
1 parent 7968f4c commit 03d651b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build-dev-tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ git clone --depth 2 -b "$branch" https://git.savannah.gnu.org/git/"$package".git
git clone --depth 1 https://git.savannah.gnu.org/git/gnulib.git

# Apply patches.
(cd "$package" && patch -p1 < ../patches/0001-libtool.m4-Update-hardcode_shlibpath_var-for-OpenBSD.patch)
(cd "$package" && patch -p1 < ../patches/0001-libtool.m4-Update-hardcode_shlibpath_var-for-OpenBSD.patch \
&& patch -p1 < ../patches/0002-gnulib-Revert-submodule-to-older-commit.patch)

export GNULIB_SRCDIR=`pwd`/gnulib
cd "$package"
# Force use of the newest gnulib.
rm -f .gitmodules
# rm -f .gitmodules

# Fetch extra files and generate files (uses packages wget, python3, automake, autoconf, m4,
# texinfo, xz-utils).
Expand Down
19 changes: 19 additions & 0 deletions patches/0002-gnulib-Revert-submodule-to-older-commit.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
From 1eb64a1469f33a144e3e18f9691dcefda4da0b4a Mon Sep 17 00:00:00 2001
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
Date: Wed, 30 Oct 2024 21:04:48 +0200
Subject: [PATCH 2/2] gnulib: Revert submodule to older commit

---
gnulib | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnulib b/gnulib
index b3791b2b..30417e7f 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit b3791b2bb9bdf03b2f99be5629d017a40382e1ee
+Subproject commit 30417e7f918e95c368ef56a650fa5b5fa45cb130
--
2.45.2

0 comments on commit 03d651b

Please sign in to comment.