Skip to content

Instantly share code, notes, and snippets.

@amidevous2
amidevous2 / gist:3ecccf40b029c6e5cb50775c7b8ae2c7
Created August 27, 2026 01:14
amidevous2-crosstool-ng-1.15.3.nopatch.patch
From 86b0347074c13090d30ff82d4b5643eed270f475 Mon Sep 17 00:00:00 2001
From: amidevous2 <amidevous+2@gmail.com>
Date: Thu, 27 Aug 2026 02:38:40 +0200
Subject: [PATCH 01/10] bootstrap
bootstrap
---
autom4te.cache/output.0 | 7165 +++++++++++++++++++++++++++++++++++++++
autom4te.cache/requests | 77 +
autom4te.cache/traces.0 | 490 +++
CT_CONFIGURE_has_xz=y
CT_CONFIGURE_has_cvs=y
CT_CONFIGURE_has_svn=y
CT_MODULES=y
#CT_MULTILIB=y
CT_LOCAL_TARBALLS_DIR="${HOME}/src"
CT_WORK_DIR="${CT_TOP_DIR}/.build"
CT_PREFIX_DIR="${HOME}/.local/gcc64"
CT_INSTALL_DIR="${HOME}/.local/gcc64"
CT_RM_RF_PREFIX_DIR=y
CT_CONFIGURE_has_xz=y
CT_CONFIGURE_has_cvs=y
CT_CONFIGURE_has_svn=y
CT_MODULES=y
CT_LOCAL_TARBALLS_DIR="${HOME}/src"
CT_WORK_DIR="${CT_TOP_DIR}/.build"
CT_PREFIX_DIR="${HOME}/.local/gcc32"
CT_INSTALL_DIR="${HOME}/.local/gcc32"
CT_RM_RF_PREFIX_DIR=y
CT_REMOVE_DOCS=y
AutoReqProv: no
AutoReq: no
AutoProv: no
## START: Set by rpmautospec
## (rpmautospec version 0.3.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
AutoReqProv: no
AutoReq: no
AutoProv: no
## START: Set by rpmautospec
## (rpmautospec version 0.3.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
%bcond_with mingw
Summary: Library for accessing USB devices
Name: libusb1
Version: 1.0.30
Release: 1%{?dist}
Source0: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2
Source1: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2.asc
Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xc68187379b23de9efc46651e2c80ff56c6830a0e#/%{name}.keyring
License: LGPL-2.1-or-later
%bcond_with mingw
Summary: Library for accessing USB devices
Name: libusb1
Version: 1.0.30
Release: 1%{?dist}
Source0: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2
Source1: https://github.com/libusb/libusb/releases/download/v%{version}/libusb-%{version}.tar.bz2.asc
Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xc68187379b23de9efc46651e2c80ff56c6830a0e#/%{name}.keyring
License: LGPL-2.1-or-later
%global majorversion 0
%global minorversion 3
%global microversion 47
%global apiversion 0.3
%global spaversion 0.2
%global soversion 0
%global libversion %{soversion}.%(bash -c '((intversion = (%{minorversion} * 100) + %{microversion})); echo ${intversion}').0
# For rpmdev-bumpspec and releng automation
# Set to bcond_without or use --with bootstrap,
# when bootstrapping a new architecture.
%bcond_with bootstrap
Name: ninja-build
Version: 1.11.1
Release: 7%{?dist}
Summary: Small build system with a focus on speed
License: Apache-2.0
URL: https://ninja-build.org/
# Set to bcond_without or use --with bootstrap,
# when bootstrapping a new architecture.
%bcond_with bootstrap
Name: ninja-build
Version: 1.11.1
Release: 7%{?dist}
Summary: Small build system with a focus on speed
License: Apache-2.0
URL: https://ninja-build.org/