Skip to content

Instantly share code, notes, and snippets.

Avatar

Rosen Penev neheb

View GitHub Profile
View gist:f3dcda1109b395ffc5227886127d53a3
In file included from /home/mangix/devstuff/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-9.3.0_musl/include/pthread.h:30,
from /home/mangix/devstuff/openwrt/build_dir/toolchain-mipsel_24kc_gcc-9.3.0_musl/gcc-9.3.0-final/mipsel-openwrt-linux-musl/libstdc++-v3/include/mipsel-openwrt-linux-musl/bits/gthr-default.h:35,
from /home/mangix/devstuff/openwrt/build_dir/toolchain-mipsel_24kc_gcc-9.3.0_musl/gcc-9.3.0-final/mipsel-openwrt-linux-musl/libstdc++-v3/include/mipsel-openwrt-linux-musl/bits/gthr.h:148,
from /home/mangix/devstuff/openwrt/build_dir/toolchain-mipsel_24kc_gcc-9.3.0_musl/gcc-9.3.0/libstdc++-v3/libsupc++/atexit_thread.cc:27:
/home/mangix/devstuff/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-9.3.0_musl/include/sched.h:141:8: error: expected constructor, destructor, or type conversion before '(' token
141 | __REDIR(sched_rr_get_interval, __sched_rr_get_interval_time64);
| ^
In file included from /home/mangix/devstuff/openwrt/staging_dir
View gist:508befec8ce0e106d64a50eb956fee6b
From 73f0e186964126c9e2bfba43488f543ace54746b Mon Sep 17 00:00:00 2001
From: Rosen Penev <rosenp@gmail.com>
Date: Thu, 23 Jan 2020 18:54:51 -0800
Subject: [PATCH 2/2] libcrypto: remove deprecated API usage
EVP_CIPHER_CTX_init was replaced with _reset.
Removed EVP_CIPHER_CTX_cleanup. The successive _free call handles that.
Removed old SSLeay function usage.
View gist:58418a124c2cc23c50f9838e208b89f8
From ce7de0261f0c1f1640da5673dd24939a37e33bd9 Mon Sep 17 00:00:00 2001
From: Rosen Penev <rosenp@gmail.com>
Date: Thu, 23 Jan 2020 18:53:06 -0800
Subject: [PATCH 1/2] libcrypto-compat: add extra functions
Changed the define to compare OPENSSL_API_COMPAT instead of version as
OpenSSL can be compiled in different ways. One is to disable all
deprecated APIs.
Added extra functions. The next commit will switch to them.
View gist:3037333560c138095ecef33fc5585260
#
# Automatically generated file; DO NOT EDIT.
# OpenWrt Configuration
#
CONFIG_MODULES=y
CONFIG_HAVE_DOT_CONFIG=y
# CONFIG_TARGET_sunxi is not set
# CONFIG_TARGET_apm821xx is not set
# CONFIG_TARGET_ath25 is not set
# CONFIG_TARGET_ar71xx is not set
View gist:903d07b5f7b7e9796e026bafe819d68c
Sun Jan 12 15:01:34 2020 daemon.err uhttpd[1747]: luci: accepted login on / for root from 192.168.0.205
Sun Jan 12 15:01:35 2020 kern.info kernel: [157640.733345] do_page_fault(): sending SIGSEGV to rpcd for invalid read access from 39383830
Sun Jan 12 15:01:35 2020 kern.info kernel: [157640.741905] epc = 77de71e0 in luci.so[77de6000+16000]
Sun Jan 12 15:01:35 2020 kern.info kernel: [157640.747144] ra = 77dea6c4 in luci.so[77de6000+16000]
View gist:714676c6b926b8f3d40434ddec5d04d1
diff --git a/utils/canutils/Makefile b/utils/canutils/Makefile
index 4aebafd95..ffc94c97f 100644
--- a/utils/canutils/Makefile
+++ b/utils/canutils/Makefile
@@ -19,6 +19,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/can-utils-$(PKG_VERSION)
PKG_MAINTAINER:=Anton Glukhov <anton.a.glukhov@gmail.com>
PKG_LICENSE:=GPL-2.0-or-later
+PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
View gist:b28ce1a2045af6c83cdf95232262fee3
libavcodec/x86/ac3dsp.asm:348: error: binary output format does not support external references
libavutil/x86/x86inc.asm:1369: ... from macro `pmaddwd' defined here
libavutil/x86/x86inc.asm:1185: ... from macro `RUN_AVX_INSTR' defined here
View gist:9cec313cc7c8949d712f7a0e3df48637
Sending build context to Docker daemon 361.5kB
Step 1/17 : FROM debian:9
---> 5c43e435cc11
Step 2/17 : MAINTAINER OpenWrt Maintainers
---> Using cache
---> 4fc764f0e8c7
Step 3/17 : ARG DEBIAN_FRONTEND=noninteractive
---> Using cache
---> d0a80324278f
Step 4/17 : ENV BUILDMASTER_CONFIG config.ini
View gist:91e1fc794864f526ed71e17f730b17b4
#!/bin/sh /etc/rc.common
# Copyright (C) 2010-2015 OpenWrt.org
START=99
USE_PROCD=1
LIST_SEP="
"
append_params() {
You can’t perform that action at this time.