Skip to content

Instantly share code, notes, and snippets.

View awesomebytes's full-sized avatar

Sam Pfeiffer awesomebytes

View GitHub Profile
This file has been truncated, but you can view the full file.
>>> Emerging (50 of 64) dev-libs/openssl-1.1.1d-r3::gentoo
* openssl-1.1.1d.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking openssl-1.1.1d.tar.gz to /tmp/gentoo/var/tmp/portage/dev-libs/openssl-1.1.1d-r3/work
>>> Source unpacked in /tmp/gentoo/var/tmp/portage/dev-libs/openssl-1.1.1d-r3/work
>>> Preparing source in /tmp/gentoo/var/tmp/portage/dev-libs/openssl-1.1.1d-r3/work/openssl-1.1.1d ...
* Applying openssl-1.1.0j-parallel_install_fix.patch ...
[ ok ]
* Applying openssl-1.1.1d-fix-zlib.patch ...
[ ok ]
This file has been truncated, but you can view the full file.
>>> Emerging (50 of 64) dev-libs/openssl-1.1.1d-r3::gentoo
* openssl-1.1.1d.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking openssl-1.1.1d.tar.gz to /tmp/gentoo/var/tmp/portage/dev-libs/openssl-1.1.1d-r3/work
>>> Source unpacked in /tmp/gentoo/var/tmp/portage/dev-libs/openssl-1.1.1d-r3/work
>>> Preparing source in /tmp/gentoo/var/tmp/portage/dev-libs/openssl-1.1.1d-r3/work/openssl-1.1.1d ...
* Applying openssl-1.1.0j-parallel_install_fix.patch ...
[ ok ]
* Applying openssl-1.1.1d-fix-zlib.patch ...
[ ok ]
@awesomebytes
awesomebytes / boost_signals_tf_1.12.0.patch
Created March 4, 2020 05:42
Patch for tf-1.12.0 to remove boost signals from CMakeLists.txt for melodic
From 2eed72cb7b63fc4ee98af695c625d9a741a09897 Mon Sep 17 00:00:00 2001
From: Maarten de Vries <[email protected]>
Date: Thu, 17 Jan 2019 21:40:28 +0100
Subject: [PATCH] Remove `signals` from find_package(Boost COMPONENTS ...)
tf is using signals2, which is not the same library as signals.
Additionally, signals2 has always been header only, and header only
libraries must not be listed in find_package.
Boost 1.69 removed the old signals library entirely, so the otherwise
@awesomebytes
awesomebytes / tf2-0.6.6-1.ebuild
Created March 4, 2020 04:36
tf2-0.6.6-1.ebuild manually created
# Copyright 2020 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
inherit ros-cmake
DESCRIPTION="tf2 is the second generation of the transform library, which lets\
the [...]"
@awesomebytes
awesomebytes / bootstrap_prefix.sh.patch
Created January 27, 2020 09:28
patch to succesfully execute functions
< bootstrap_interactive() {
---
> bootstrap_get_defaults() {
2724a2725,2729
> }
>
> bootstrap_all_stages() {
> bootstrap_get_defaults
>
2848a2854,2858
@awesomebytes
awesomebytes / bootstrap_prefix.sh
Created January 27, 2020 09:26
bootstrap_prefix.sh able to execute functions separated
#!/usr/bin/env bash
# Copyright 2006-2019 Gentoo Authors; Distributed under the GPL v2
trap 'exit 1' TERM KILL INT QUIT ABRT
# some basic output functions
eerror() { echo "!!! $*" 1>&2; }
einfo() { echo "* $*"; }
# RAP (libc) mode is triggered on Linux kernel and glibc.
@awesomebytes
awesomebytes / bashrc
Last active January 24, 2020 12:13
EPREFIX/etc/portage/bashrc hooks test
if [ "${EBUILD_PHASE_FUNC}" == "pkg_pretend" ];
then
echo "----------------------------------------------"
echo "===== HOOKING INTO pkg_pretend PHASE ========"
echo "----------------------------------------------"
fi
if [ "${EBUILD_PHASE_FUNC}" == "pkg_nofetch" ];
then
@awesomebytes
awesomebytes / bootstrap-prefix.sh
Created January 16, 2020 03:26
bootstrap-prefix.sh as of 16 jan 2020
#!/usr/bin/env bash
# Copyright 2006-2018 Gentoo Foundation; Distributed under the GPL v2
trap 'exit 1' TERM KILL INT QUIT ABRT
# some basic output functions
eerror() { echo "!!! $*" 1>&2; }
einfo() { echo "* $*"; }
# RAP (libc) mode is triggered on Linux kernel and glibc.
From 2419c53879d7d2cfc4be387f8d48e5661489c329 Mon Sep 17 00:00:00 2001
From: Sammy Pfeiffer <[email protected]>
Date: Mon, 13 Jan 2020 17:58:15 +1100
Subject: [PATCH 1/1] Add the possibility to stop after a specific stage
---
scripts/bootstrap-prefix.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
@awesomebytes
awesomebytes / 0001-Substitute-declaration-of-boost-asio-for-boost-1.71..patch
Last active December 10, 2019 08:19
Remove error: conflicting declaration 'typedef class boost::asio::io_context boost::asio::io_service' typedef io_context io_service
From 1e2dade59718cfcd96e712fdf91be99524d7cac1 Mon Sep 17 00:00:00 2001
From: Sammy Pfeiffer <[email protected]>
Date: Tue, 10 Dec 2019 19:18:06 +1100
Subject: [PATCH 1/1] Substitute declaration of boost:asio for boost 1.71.0
---
qi/eventloop.hpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/qi/eventloop.hpp b/qi/eventloop.hpp