Skip to content

Instantly share code, notes, and snippets.

View iMichka's full-sized avatar

Michka Popoff iMichka

View GitHub Profile
docker pull debian/eol:wheezy
docker run -it --name=linuxbrew-debian debian/eol:wheezy
apt-get update
apt-get install bison flex texinfo gcc g++ make curl
# Create the Linuxbrew user
useradd -m -s /bin/bash linuxbrew
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
su -l linuxbrew
linuxbrew@48d00cc69a5d:~$ brew linkage patchelf
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 4: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
System libraries:
/lib/x86_64-linux-gnu/libc.so.6
/lib/x86_64-linux-gnu/libm.so.6
/lib64/ld-linux-x86-64.so.2
linuxbrew@48d00cc69a5d:~$ brew linkage --reverse patchelf
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 4: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
/lib/x86_64-linux-gnu/libc.so.6
bin/patchelf
@iMichka
iMichka / subversion1.12.0.patch
Created May 11, 2019 13:12
subversion1.12.0.patch
Submitted By: Pierre Labastie (pierre dot labastie at neuf dot fr)
Date: 2019-04-17
Initial Package Version: 1.11.1
Origin: Upstream revision 1857391
Upstream Status: Committed
Description: Get rid of apr_int64_t format string check in swig py configure.
This check relied on APR implementation details and broke with APR 1.7.0.
Rather than trying to guess a perfect format string to use, just use the
largest possible format and cast the argument accordingly.
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:46,
from /usr/include/x86_64-linux-gnu/c++/5/bits/opt_random.h:33,
from /usr/include/c++/5/random:50,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from ../../include/QtCore/../../src/corelib/global/qglobal.h:142,
from ../../include/QtCore/qglobal.h:1,
from ../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43,
from ../../include/QtGui/qtguiglobal.h:1,
@iMichka
iMichka / # qt - 2019-04-18_22-52-54.txt
Created April 18, 2019 20:53
qt on Ubuntu 18.10 - Homebrew build logs
Homebrew build logs for qt on Ubuntu 18.10
Build date: 2019-04-18 22:52:54
@iMichka
iMichka / config.log
Created April 2, 2019 21:19
qtconfig
Command line: -verbose -prefix /home/linuxbrew/.linuxbrew/Cellar/qt/5.12.2 -release -opensource -confirm-license -system-zlib -qt-libpng -qt-libjpeg -qt-freetype -qt-pcre -nomake examples -nomake tests -pkg-config -dbus-runtime -proprietary-codecs -qt-xcb -R/home/linuxbrew/.linuxbrew/Cellar/qt/5.12.2/lib -no-avx2
executing config test use_gold_linker
+ cd /tmp/qt-20190402-23741-rdhsgg/qt-everywhere-src-5.12.2/config.tests && g++ -pipe -fuse-ld=gold -o conftest-out conftest.cpp
test config.qtbase.tests.use_gold_linker succeeded
executing config test machineTuple
+ g++ -dumpmachine
> x86_64-linux-gnu
test config.qtbase.tests.machineTuple succeeded
executing config test verifyspec
+ cd /tmp/qt-20190402-23741-rdhsgg/qt-everywhere-src-5.12.2/config.tests/verifyspec && /tmp/qt-20190402-23741-rdhsgg/qt-everywhere-src-5.12.2/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" /tmp/qt-20190402-23741-rdhsgg/qt-everywhere-src-5.12.2/qtba
@iMichka
iMichka / qt
Created April 1, 2019 17:43
qt
g++ -Wl,--no-undefined -Wl,--version-script,QtXcbQpa.version -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -Wl,-z,origin -Wl,-rpath,\$ORIGIN -Wl,-rpath,/home/linuxbrew/.linuxbrew/Cellar/qt/5.12.2/lib -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5XcbQpa.so.5 -o libQt5XcbQpa.so.5.12.2 .obj/qxcbclipboard.o .obj/qxcbconnection.o .obj/qxcbintegration.o .obj/qxcbkeyboard.o .obj/qxcbmime.o .obj/qxcbscreen.o .obj/qxcbwindow.o .obj/qxcbbackingstore.o .obj/qxcbwmsupport.o .obj/qxcbnativeinterface.o .obj/qxcbcursor.o .obj/qxcbimage.o .obj/qxcbxsettings.o .obj/qxcbsystemtraytracker.o .obj/qxcbeventqueue.o .obj/qxcbeventdispatcher.o .obj/qxcbconnection_basic.o .obj/qxcbconnection_screens.o .obj/qxcbatom.o .obj/qxcbdrag.o .obj/qxcbconnection_xi2.o .obj/qxcbsessionmanager.o .obj/qxcbglintegrationfactory.o .obj/qxcbglintegration.o .obj/qxcbnativeinterfacehandler.o .obj/moc_qxcbclipboard.o .obj/moc_qxcbconnection.o .obj/moc_qxcbmime.o .obj/moc_qxcbnativeinterface.o .obj/moc_qxcbsystemtraytracker.o .obj/moc_qxcbeventqueue.
@iMichka
iMichka / clang8
Created March 23, 2019 08:29
clang8
diff -Naur cfe-8.0.0.src_old/lib/Driver/ToolChains/Gnu.cpp cfe-8.0.0.src/lib/Driver/ToolChains/Gnu.cpp
--- cfe-8.0.0.src_old/lib/Driver/ToolChains/Gnu.cpp 2019-03-22 21:56:19.000000000 +0100
+++ cfe-8.0.0.src/lib/Driver/ToolChains/Gnu.cpp 2019-03-22 22:00:14.000000000 +0100
@@ -26,6 +26,7 @@
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/TargetParser.h"
+#include "llvm/Support/FileSystem.h"
#include "llvm/Support/VirtualFileSystem.h"
#include <system_error>
@iMichka
iMichka / libgsm
Created February 11, 2019 17:39
libgsm
From: <jochen@scram.de>
Subject: New patch generated from libgsm 1.0.10-14 diff.gz
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,7 @@ TOAST_INSTALL_MAN = $(TOAST_INSTALL_ROOT
# Other tools
SHELL = /bin/sh
-LN = ln
@iMichka
iMichka / libid3tag.diff
Last active February 9, 2019 15:43
libid3tag.diff
diff -u libid3tag-0.15.1b/compat.h libid3tag-0.15.1b-old/compat.h
--- libid3tag-0.15.1b/compat.h 2019-02-09 16:30:00.295070208 +0100
+++ libid3tag-0.15.1b-old/compat.h 2004-01-23 10:41:32.000000000 +0100
@@ -34,7 +34,7 @@
};
struct id3_compat const *id3_compat_lookup(register char const *,
- register unsigned int);
+ register size_t);