Skip to content

Instantly share code, notes, and snippets.

make[1]: Entering directory `/usr/lib/mxe'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
uname -a
Linux sd-68075 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u4 x86_64 GNU/Linux
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1
d61cb69bc9df24efbc0f8da685ec0acc13d308f1 - add package libmms [73 minutes ago] [ (HEAD, master)]
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
Distributor ID: Debian
Description: Debian GNU/Linux 7.11 (wheezy)
Release: 7.11
@starius
starius / -
Created February 25, 2017 17:17
diff --git a/bloom.go b/bloom.go
index e19ba10..b7f74c7 100644
--- a/bloom.go
+++ b/bloom.go
@@ -72,6 +72,9 @@ type BloomFilter struct {
// New creates a new Bloom filter with _m_ bits and _k_ hashing functions
func New(m uint, k uint) *BloomFilter {
+ if m == 0 {
+ m = 1
package main
import (
"log"
"bytes"
"fmt"
"golang.org/x/crypto/ssh"
)
@starius
starius / -
Created January 30, 2017 01:16
diff --git a/src/cairo.mk b/src/cairo.mk
index 0bfc159..75e3a69 100644
--- a/src/cairo.mk
+++ b/src/cairo.mk
@@ -3,11 +3,11 @@
PKG := cairo
$(PKG)_WEBSITE := http://cairographics.org/
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 1.14.6
-$(PKG)_CHECKSUM := 613cb38447b76a93ff7235e17acd55a78b52ea84a9df128c3f2257f8eaa7b252
This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Boris Nagaev <bnagaev@gmail.com>
Date: Sun, 29 Jan 2017 21:47:39 +0100
Subject: [PATCH] These were adapted from the gtk2 patchset.
This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Boris Nagaev <bnagaev@gmail.com>
Date: Sun, 29 Jan 2017 21:47:39 +0100
Subject: [PATCH] These were adapted from the gtk2 patchset.
@starius
starius / -
Created January 30, 2017 00:30
diff --git a/src/cairo.mk b/src/cairo.mk
index 0bfc159..75e3a69 100644
--- a/src/cairo.mk
+++ b/src/cairo.mk
@@ -3,11 +3,11 @@
PKG := cairo
$(PKG)_WEBSITE := http://cairographics.org/
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 1.14.6
-$(PKG)_CHECKSUM := 613cb38447b76a93ff7235e17acd55a78b52ea84a9df128c3f2257f8eaa7b252
@starius
starius / -
Created January 29, 2017 21:55
diff --git a/src/cairo.mk b/src/cairo.mk
index 0bfc159..75e3a69 100644
--- a/src/cairo.mk
+++ b/src/cairo.mk
@@ -3,11 +3,11 @@
PKG := cairo
$(PKG)_WEBSITE := http://cairographics.org/
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 1.14.6
-$(PKG)_CHECKSUM := 613cb38447b76a93ff7235e17acd55a78b52ea84a9df128c3f2257f8eaa7b252
make[7]: Entering directory '/home/bnagaev/mxe/tmp-gtk3-i686-w64-mingw32.static/gtk+-3.22.
7/demos/gtk-demo'
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
test -n "" || ../../gtk/gtk-update-icon-cache.exe --ignore-theme-index --force "/home/bnag
aev/mxe/usr/i686-w64-mingw32.static/share/icons/hicolor"
/bin/bash: ../../gtk/gtk-update-icon-cache.exe: No such file or directory
Makefile:1464: recipe for target 'install-update-icon-cache' failed
make[7]: *** [install-update-icon-cache] Error 127
@starius
starius / -
Created January 29, 2017 16:38
diff --git a/src/cairo.mk b/src/cairo.mk
index 0bfc159..75e3a69 100644
--- a/src/cairo.mk
+++ b/src/cairo.mk
@@ -3,11 +3,11 @@
PKG := cairo
$(PKG)_WEBSITE := http://cairographics.org/
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 1.14.6
-$(PKG)_CHECKSUM := 613cb38447b76a93ff7235e17acd55a78b52ea84a9df128c3f2257f8eaa7b252