diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-05 23:52:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-05 23:52:45 +0000 |
commit | 1c33e521c460dc40899ce7bc919602b842ce27e2 (patch) | |
tree | 580eefad4cce1e883e7504b93352a9029b53036d /dev-embedded/gputils/files | |
parent | 65e4244e411c4f65f55f2aa91f39e228f4c0680b (diff) |
gentoo auto-resync : 05:03:2023 - 23:52:45
Diffstat (limited to 'dev-embedded/gputils/files')
-rw-r--r-- | dev-embedded/gputils/files/gputils-1.5.2-fix-invalid-operator.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-embedded/gputils/files/gputils-1.5.2-fix-invalid-operator.patch b/dev-embedded/gputils/files/gputils-1.5.2-fix-invalid-operator.patch new file mode 100644 index 000000000000..ec2d8d425832 --- /dev/null +++ b/dev-embedded/gputils/files/gputils-1.5.2-fix-invalid-operator.patch @@ -0,0 +1,25 @@ +Fix invalid operator in dash + +Some shells, like dash, don't support [ x == x ], reporting invalid syntax, +and silently failing. + +--- gputils-1.5.2.orig/doc/html-help/Makefile.am ++++ gputils-1.5.2/doc/html-help/Makefile.am +@@ -7,7 +7,7 @@ + pkgdatadir = @GPUTILS_HTMLDOC_PATH@ + + html-doc: +- if [ "$(ENABLE_HTML_DOC)" == "yes" ]; then \ ++ if [ "$(ENABLE_HTML_DOC)" = "yes" ]; then \ + if [ ! -e $(DEFAULT_MPLABX_PATH)/mpasmx/8bit_device.info ]; then \ + @echo "Can't find mplabx installation; HTML documentation will not be built."; \ + else \ +@@ -18,7 +18,7 @@ + install: install-html + + install-html: +- if [ "$(ENABLE_HTML_DOC)" == "yes" ]; then \ ++ if [ "$(ENABLE_HTML_DOC)" = "yes" ]; then \ + if [ -n "$$(ls *.html 2>/dev/null)" -a -n "$$(ls *.css 2>/dev/null)" ]; then \ + $(install_sh) -d "$(DESTDIR)$(pkgdatadir)"; \ + $(install_sh) -c -m 644 *.css *.html "$(DESTDIR)$(pkgdatadir)"; \ |