Skip to content

Instantly share code, notes, and snippets.

From 0117f90620f451e1d58414b5ca3f3b5eadaba618 Mon Sep 17 00:00:00 2001
From: Matthieu Volat <mazhe@alkumuna.eu>
Date: Tue, 23 May 2017 19:12:20 +0200
Subject: [PATCH 1/6] Flush output of energy tests.
That'll ensure in order output.
---
examples/smpi/energy/f77/sef.f | 2 ++
examples/smpi/energy/f90/sef90.f90 | 2 ++
2 files changed, 4 insertions(+)
Index: graphics/libGL/Makefile.common
===================================================================
--- graphics/libGL/Makefile.common (revision 432154)
+++ graphics/libGL/Makefile.common (working copy)
@@ -62,7 +62,7 @@
COMPONENT= ${PORTNAME:tl:C/^lib//:C/mesa-//}
-MESA_LLVM_VER=37
+MESA_LLVM_VER=39
@mazhe
mazhe / Makefile
Last active November 30, 2016 10:49
JAVA_HOME?=/usr/local/openjdk8
CFLAGS+=-fPIC -I${JAVA_HOME}/include -I${JAVA_HOME}/include/$$(uname|tr '[:upper:]' '[:lower:]')
all: testfoo testfoo.class
testfoo.class: testfoo.java
javac testfoo.java
testfoo: testfoo.o libfoo.so
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# xiccd
# xiccd/distinfo
# xiccd/Makefile
@mazhe
mazhe / docopt.c
Created January 14, 2015 14:01
docopt.c placeholder
include <Python.h>
typedef void *docopt_t;
docopt_t
docopt(const char *doc, int argc, char *argv[], int help, const char *version, int options_first)
{
PyObject *module, *func, *args, *ret;
Py_Initialize();
@mazhe
mazhe / sys_oss.c
Created November 24, 2012 12:34
OSS backend for e17 mixer module
#include "e_mod_system.h"
#include <sys/uio.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#if defined __FreeBSD__
@mazhe
mazhe / .gitmodules
Created December 27, 2011 14:20
Quick'n'dirty service example with cscid
[submodule "amibis"]
path = amibis
url = git://github.com/mazhe/amibis-c.git