File 0002-use-packaged-cargo-about.patch of Package zed

--- a/script/generate-licenses
+++ b/script/generate-licenses
@@ -2,7 +2,6 @@
 
 set -euo pipefail
 
-CARGO_ABOUT_VERSION="0.8.2"
 OUTPUT_FILE="${1:-$(pwd)/assets/licenses.md}"
 TEMPLATE_FILE="script/licenses/template.md.hbs"
 
@@ -27,16 +26,14 @@
     echo -e "\n# ###### CODE LICENSES ######\n"
 } >>"$OUTPUT_FILE"
 
-if ! cargo about --version | grep "cargo-about $CARGO_ABOUT_VERSION" &>/dev/null; then
-    echo "Installing cargo-about@$CARGO_ABOUT_VERSION..."
-    cargo install "cargo-about@$CARGO_ABOUT_VERSION"
-else
-    echo "cargo-about@$CARGO_ABOUT_VERSION is already installed."
+if ! cargo about --version >/dev/null 2>&1; then
+    echo "cargo-about is not installed" >&2
+    exit 1
 fi
 
 echo "Generating cargo licenses"
 if [ -z "${ALLOW_MISSING_LICENSES-}" ]; then FAIL_FLAG=--fail; else FAIL_FLAG=""; fi
-if [ -z "${ALLOW_MISSING_LICENSES-}" ]; then WRAPPER=fail_on_stderr; else WRAPPER=""; fi
+WRAPPER=""
 set -x
 $WRAPPER cargo about generate \
     $FAIL_FLAG \
--- a/script/licenses/zed-licenses.toml
+++ b/script/licenses/zed-licenses.toml
@@ -1,4 +1,3 @@
-no-clearly-defined = true
 private = { ignore = true }
 # Licenses allowed in Zed's dependencies. AGPL should not be added to this list.
 # When adding to this list, please check the following open source license policies: