Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
still thinking 🤔

Calvin Buckley NattyNarwhal

🤔
still thinking 🤔
View GitHub Profile
View gist:6fe25dd6b7cb56158f67b2a32c0d70d0
~/src/sofort$ bash configure
configure: line 113: cd: configure/: Not a directory
sofort : configure : init_vars() ................................. OK.
sofort : configure : verify_build_directory() .................... OK.
sofort : configure : verify_source_directory() ................... OK.
sofort : configure : verify_source_info() ........................ OK.
sofort : configure : common_defaults() ........................... OK.
sofort : configure : config_flags() .............................. OK.
sofort : configure : config_copy() ............................... OK.
..
View gist:9ffe45b38367073a129e2bb4a985e606
~/src/sofort$ ./configure
sofort : configure : init_vars() ................................. OK.
sofort : configure : verify_build_directory() .................... OK.
sofort : configure : verify_source_directory() ................... OK.
sofort : configure : verify_source_info() ........................ OK.
sofort : configure : common_defaults() ........................... OK.
sofort : configure : config_flags() .............................. OK.
sofort : configure : config_copy() ............................... OK.
..
sofort : configure : detect and query host (targeted) system
View gist:f04adf11b6ce63a6854b827a96cdd36b
$ repoquery -q --whatrequires ImageMagick-libs
ImageMagick-1:6.9.10.86-2.fc32.i686
ImageMagick-1:6.9.10.86-2.fc32.x86_64
ImageMagick-c++-1:6.9.10.86-2.fc32.i686
ImageMagick-c++-1:6.9.10.86-2.fc32.x86_64
ImageMagick-devel-1:6.9.10.86-2.fc32.i686
ImageMagick-devel-1:6.9.10.86-2.fc32.x86_64
ImageMagick-djvu-1:6.9.10.86-2.fc32.x86_64
ImageMagick-perl-1:6.9.10.86-2.fc32.x86_64
WINGs-libs-0:0.95.8-14.fc32.i686
@NattyNarwhal
NattyNarwhal / php-freetype-pkgconfig.patch
Created Apr 25, 2020
Unbreak modern freetype on PHP 7.3
View php-freetype-pkgconfig.patch
From c2355f2b6f193f26ee0c6e0479c760e8bd3daf9b Mon Sep 17 00:00:00 2001
From: Calvin Buckley <calvin@cmpct.info>
Date: Sat, 25 Apr 2020 14:57:25 -0300
Subject: [PATCH] Don't use freetype-config, use pkg-config for freetype
Proper fix is in #3632, but might be too dependent on 7.4 changes.
---
ext/gd/config.m4 | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
@NattyNarwhal
NattyNarwhal / gist:4c1fa1aae1a55b54e5ab64b2cc92bd64
Created Apr 25, 2020
Missing packages for mostly virgin yum on i install
View gist:4c1fa1aae1a55b54e5ab64b2cc92bd64
calvin@SEIDEN72:~/repos/seiden-specs$ rpmbuild -ba php/php.spec
error: Failed build dependencies:
bzip2-devel is needed by php-7.3.17-1seiden.ppc64
curl-devel >= 7.65.3 is needed by php-7.3.17-1seiden.ppc64
freetype-devel is needed by php-7.3.17-1seiden.ppc64
libiconv-devel is needed by php-7.3.17-1seiden.ppc64
libintl-devel is needed by php-7.3.17-1seiden.ppc64
libjpeg-turbo-devel is needed by php-7.3.17-1seiden.ppc64
libpng-devel is needed by php-7.3.17-1seiden.ppc64
libsodium-devel is needed by php-7.3.17-1seiden.ppc64
@NattyNarwhal
NattyNarwhal / gist:eaf76463b8f9905c24c8a6ac87dd7235
Created Sep 28, 2019
PASE 7.1 RPMs (before IBM recompiled them)
View gist:eaf76463b8f9905c24c8a6ac87dd7235
$ find public.dhe.ibm.com/ | grep ibmi7.1
public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/noarch/yum-plugin-downloadonly-1.1.31-4.ibmi7.1.noarch.rpm
public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/noarch/yum-plugin-security-1.1.31-4.ibmi7.1.noarch.rpm
public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/noarch/yum-plugin-local-1.1.31-4.ibmi7.1.noarch.rpm
public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/noarch/yum-plugin-tmprepo-1.1.31-4.ibmi7.1.noarch.rpm
public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/noarch/python3-idna-2.8-0.ibmi7.1.noarch.rpm
public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/noarch/yum-plugin-versionlock-1.1.31-4.ibmi7.1.noarch.rpm
public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/noarch/yum-plugin-fastestmirror-1.1.31-4.ibmi7.1.noarch.rpm
public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/noarch/yum-plugin-changelog-1.1.31-4.ibmi7.1.noarch.rpm
public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/noarch/rpmdevtools-8.10-1.ibmi
View gist:ae8817508b8bf7462fd20a5bcdfccf9b
pkgdata: rm -f ../lib/libicudata.so;gcc -O2 -std=c99 -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_ALL_SOURCE -Wl,-brtl -pthread -Wl,-bbigtoc -Wl,-brtl -shared -Wl,-bexpall -Wl,-bsymbolic -nodefaultlibs -nostdlib -o ../lib/libicudata.so ./out/tmp/icudt61b_dat.o ./out/tmp/af_res.o ./out/tmp/af_NA_res.o ./out/tmp/af_ZA_res.o ./out/tmp/agq_res.o ./out/tmp/agq_CM_res.o ./out/tmp/ak_res.o ./out/tmp/ak_GH_res.o ./out/tmp/am_res.o ./out/tmp/am_ET_res.o ./out/tmp/ar_res.o ./out/tmp/ar_001_res.o ./out/tmp/ar_AE_res.o ./out/tmp/ar_BH_res.o ./out/tmp/ar_DJ_res.o ./out/tmp/ar_DZ_res.o ./out/tmp/ar_EG_res.o ./out/tmp/ar_EH_res.o ./out/tmp/ar_ER_res.o ./out/tmp/ar_IL_res.o ./out/tmp/ar_IQ_res.o ./out/tmp/ar_JO_res.o ./out/tmp/ar_KM_res.o ./out/tmp/ar_KW_res.o ./out/tmp/ar_LB_res.o ./out/tmp/ar_LY_res.o ./out/tmp/ar_MA_res.o ./out/tmp/ar_MR_res.o ./out/tmp/ar_OM_res.o ./out/tmp/ar_PS_res.o ./out/tmp/ar_QA_res.o ./out/tmp/ar_SA_res.o ./out/tmp/ar_SD_res.o ./out/tmp/ar_SO_res.o ./out/tmp
View doctools.diff
diff --git a/mdoc/Mono.Documentation/Updater/DocUtils.cs b/mdoc/Mono.Documentation/Updater/DocUtils.cs
index b0ea1a1..a10ed6e 100644
--- a/mdoc/Mono.Documentation/Updater/DocUtils.cs
+++ b/mdoc/Mono.Documentation/Updater/DocUtils.cs
@@ -291,8 +291,8 @@ namespace Mono.Documentation.Updater
{
bool IEqualityComparer<TypeReference>.Equals (TypeReference x, TypeReference y)
{
- if (x is null && y is null) return true;
- if (x is null || y is null) return false;
View loadaddr.c
#include <stdio.h>
#include <string.h>
#include <dlfcn.h>
#include <sys/errno.h>
#include <stdlib.h>
/* AIX specific headers for loadquery and traceback structure */
#include <sys/ldr.h>
#include <sys/debug.h>
View gist:5d84f6d3c6966bd6d6e233292a7f792b
# shutdown
SHUTDOWN PROGRAM
Thu Jul 18 16:51:22 EDT 2019
Broadcast message from root@aix.autocoder.local (tty) at 16:51:22 ...
shutdown: PLEASE LOG OFF NOW !!!
All processes will be killed in 1 minute.