Skip to content

Instantly share code, notes, and snippets.

@c-14
c-14 / PKGBUILD
Last active December 16, 2015 22:20
AUR sex PKGBUILD
# Maintainer: imachine <m.jedrasik@gmail.com>
# Contributor: c_14 <archmailing5@gmail.com>
pkgname=sex
pkgver=1.0
pkgrel=3
pkgdesc="Spouts silly mad-lib-style porn-like text"
url="http://spatula.net/software/sex/"
license=('custom')
depends=()
arch=('any')
@c-14
c-14 / sxiv-zoom-switch.patch
Created January 13, 2014 23:16
[PATCH] Fix -z command line switch so it actually accepts valid input.
From 242bf4bf7baf6bfe43d37e9a7f0743e24d1d73af Mon Sep 17 00:00:00 2001
From: c_14 <c-14git.shadowmurderer@spamgourmet.com>
Date: Tue, 14 Jan 2014 00:10:06 +0100
Subject: [PATCH] Fix -z command line switch so it actually accepts valid
input.
---
options.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@c-14
c-14 / xmobar-0.20.1-r1.ebuild
Created April 13, 2014 15:06
Updated ebuilds for xmobar without the unnecessary mpd dependency.
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
# ebuild generated by hackport 0.3.6.9999
#hackport: flags: -all_extensions,+with_threaded,+with_utf8,with_iwlib:wifi,with_alsa:alsa,with_xft:xft,with_datezone:timezone,with_dbus:dbus,with_mpd:mpd,with_inotify:inotify,with_mpris:mpris
CABAL_FEATURES="bin"
From 34150e1fbe980368f7dc271261984803bc1da4f8 Mon Sep 17 00:00:00 2001
From: c_14 <git@c-14.de>
Date: Thu, 9 Mar 2017 17:01:05 +0100
Subject: [PATCH 1/2] Add ec_init_wsock API.
---
oshw/linux/nicdrv.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++
oshw/linux/nicdrv.h | 1 +
soem/ethercatmain.c | 20 +++++++++++++++++
soem/ethercatmain.h | 2 ++
#include <string.h>
#include <stdio.h>
#include <sysexits.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <net/ethernet.h>
#include <net/if.h>
#include <linux/if_packet.h>
#include <sys/ioctl.h>