diff options
| author | Eli Schwartz <eschwartz@gentoo.org> | 2025-08-04 21:38:25 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@gentoo.org> | 2025-08-05 15:53:27 -0400 |
| commit | c2ea3c7eab3ceb464809e32b10097245e537e7a9 (patch) | |
| tree | 8fd200e5da659cab53a7c6586b6f9047978b91b4 /dev-db/datadraw/files/datadraw-3.1.1-bashism.patch | |
| parent | 046f61612ddc6f8bcc64a199d194b55e93fc636d (diff) | |
| download | gentoo-c2ea3c7eab3ceb464809e32b10097245e537e7a9.tar.gz gentoo-c2ea3c7eab3ceb464809e32b10097245e537e7a9.tar.bz2 gentoo-c2ea3c7eab3ceb464809e32b10097245e537e7a9.zip | |
dev-db/datadraw: fix configure gaffes
- bashisms
- not a GNU configure script, don't use econf
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-db/datadraw/files/datadraw-3.1.1-bashism.patch')
| -rw-r--r-- | dev-db/datadraw/files/datadraw-3.1.1-bashism.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-db/datadraw/files/datadraw-3.1.1-bashism.patch b/dev-db/datadraw/files/datadraw-3.1.1-bashism.patch new file mode 100644 index 000000000000..e773dcb260cf --- /dev/null +++ b/dev-db/datadraw/files/datadraw-3.1.1-bashism.patch @@ -0,0 +1,26 @@ +From 9063dba4201216e8cc7b8f8d5100abbb83e0dc6f Mon Sep 17 00:00:00 2001 +From: Eli Schwartz <eschwartz@gentoo.org> +Date: Mon, 4 Aug 2025 21:34:28 -0400 +Subject: [PATCH] fix horrible bashism + +Thou shalt never use == in shell scripts, even in bash. +--- + util/configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/util/configure b/util/configure +index 357a9ae..e60e3aa 100755 +--- a/util/configure ++++ b/util/configure +@@ -124,7 +124,7 @@ makeMakefileBottom () { + " >> Makefile + done + +- if [ "$SUFFIX" == "$NONDBG_SUFFIX" ]; then ++ if [ "$SUFFIX" = "$NONDBG_SUFFIX" ]; then + echo "utdatabase$SUFFIX.c utdatabase$SUFFIX.h: DatadrawUtil.dd + datadraw $DATADRAW_FLAGS -s utdatabase$SUFFIX.c -h utdatabase$SUFFIX.h DatadrawUtil.dd + +-- +2.49.1 + |
