-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main/xz: switch to autogenerated git tarball
- Loading branch information
Showing
3 changed files
with
83 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
commit 3af9e549128c3bdbf2737424990c5ef29181ee90 | ||
Author: q66 <q66@chimera-linux.org> | ||
Date: Sat Mar 30 00:42:08 2024 +0100 | ||
|
||
patch out NLS support | ||
|
||
We need this to break the early bootstrap cycle, as xz would | ||
depend on gettext which depends on libxml2 which depends on xz. | ||
|
||
We can figure out a better way later. | ||
|
||
diff --git a/Makefile.am b/Makefile.am | ||
index 56ecf7d..71882cf 100644 | ||
--- a/Makefile.am | ||
+++ b/Makefile.am | ||
@@ -4,14 +4,14 @@ | ||
# Use -n to prevent gzip from adding a timestamp to the .gz headers. | ||
GZIP_ENV = -9n | ||
|
||
-DIST_SUBDIRS = lib src po tests debug | ||
+DIST_SUBDIRS = lib src tests debug | ||
SUBDIRS = | ||
|
||
if COND_GNULIB | ||
SUBDIRS += lib | ||
endif | ||
|
||
-SUBDIRS += src po tests | ||
+SUBDIRS += src tests | ||
|
||
if COND_DOC | ||
dist_doc_DATA = \ | ||
diff --git a/configure.ac b/configure.ac | ||
index 075567f..3ed7dd8 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -775,16 +775,6 @@ AM_CONDITIONAL([COND_SYMVERS_GENERIC], | ||
# Checks for libraries. | ||
############################################################################### | ||
|
||
-dnl Support for _REQUIRE_VERSION was added in gettext 0.19.6. If both | ||
-dnl _REQUIRE_VERSION and _VERSION are present, the _VERSION is ignored. | ||
-dnl We use both for compatibility with other programs in the Autotools family. | ||
-echo | ||
-echo "Initializing gettext:" | ||
-AM_GNU_GETTEXT_REQUIRE_VERSION([0.19.6]) | ||
-AM_GNU_GETTEXT_VERSION([0.19.6]) | ||
-AM_GNU_GETTEXT([external]) | ||
- | ||
- | ||
############################################################################### | ||
# Checks for header files. | ||
############################################################################### | ||
@@ -1343,7 +1333,6 @@ AC_SUBST([xz]) | ||
|
||
AC_CONFIG_FILES([ | ||
Makefile | ||
- po/Makefile.in | ||
lib/Makefile | ||
src/Makefile | ||
src/liblzma/Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,14 @@ | ||
commit 985c6cd070772cf6ae89cb47eeb516d8003dc04e | ||
Author: q66 <q66@chimera-linux.org> | ||
Date: Fri Mar 8 13:06:01 2024 +0100 | ||
|
||
remove bullshit logic preventing landlock with fsanitize | ||
|
||
We use pure trapping sanitizers only, which does not interefere | ||
with landlock in any way. The logic here is pure nonsense. | ||
|
||
diff --git a/configure b/configure | ||
index c43d63f..b37819b 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -22512,10 +22512,6 @@ | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -1199,11 +1199,6 @@ AS_CASE([$enable_sandbox], | ||
} | ||
]])], [ | ||
enable_sandbox=found | ||
|
||
case $CFLAGS in #( | ||
- *-fsanitize=*) : | ||
- as_fn_error $? " | ||
- | ||
- AS_CASE([$CFLAGS], [*-fsanitize=*], [AC_MSG_ERROR([ | ||
- CFLAGS contains '-fsanitize=' which is incompatible with the Landlock | ||
- sandboxing. Use --disable-sandbox when using '-fsanitize'." "$LINENO" 5 ;; #( | ||
*) : | ||
;; | ||
esac | ||
- sandboxing. Use --disable-sandbox when using '-fsanitize'.])]) | ||
- | ||
AC_DEFINE([HAVE_LINUX_LANDLOCK], [1], | ||
[Define to 1 if Linux Landlock is supported. | ||
See configure.ac for details.]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters