Skip to content

Instantly share code, notes, and snippets.

View iquiw's full-sized avatar
🦛
Do not underestimate hippopotamus

Iku Iwasa iquiw

🦛
Do not underestimate hippopotamus
View GitHub Profile
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
index 363af60b883..594b76f3889 100644
--- a/textproc/aspell/Makefile
+++ b/textproc/aspell/Makefile
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.72 2019/08/11 13:23:21 wiz Exp $
#
-DISTNAME= aspell-0.60.6.1
-PKGREVISION= 10
@iquiw
iquiw / udsuid.c
Created December 31, 2019 01:17
UID of unix domain socket
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <err.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
const char SOCK_PATH[] = "/tmp/foo-socket";
#!/bin/sh
set -e
TMPOUT=$(mktemp /tmp/diag.XXXXXX)
trap 'rm "$TMPOUT"' 0 1 2 3 15
"/usr/bin/$1" -a -o "$TMPOUT" /dev/stdin
cat "$TMPOUT"
@iquiw
iquiw / patch-jansson-option.diff
Last active August 22, 2020 06:08
Patches for editors/emacs27
diff --git a/editors/emacs27/options.mk b/editors/emacs27/options.mk
index a0e8f6d05e4e..7b254d356d72 100644
--- a/editors/emacs27/options.mk
+++ b/editors/emacs27/options.mk
@@ -2,7 +2,7 @@
### Set options
PKG_OPTIONS_VAR= PKG_OPTIONS.emacs
-PKG_SUPPORTED_OPTIONS= dbus gconf gnutls imagemagick svg xaw3d xft2 xml
+PKG_SUPPORTED_OPTIONS= dbus gconf gnutls imagemagick jansson svg xaw3d xft2 xml
From 965a0e67efc564aae286d18b03c72722949bfdb5 Mon Sep 17 00:00:00 2001
From: Iku Iwasa <iku.iwasa@gmail.com>
Date: Wed, 18 Jan 2023 22:15:38 +0900
Subject: [PATCH 1/3] x11/xcb-imdkit: Update to 1.0.3
---
x11/xcb-imdkit/Makefile | 2 +-
x11/xcb-imdkit/distinfo | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)