Skip to content

Instantly share code, notes, and snippets.

View ant32's full-sized avatar

Philip A Reimer ant32

  • Alberta, Canada
View GitHub Profile
@ant32
ant32 / use_fopen_for_xp_compatibility.patch
Created January 28, 2015 22:41
mingw-w64-libmariadbclient not working on Windows XP becuase of missing fopen_s in msvcrt.dll
--- libmariadb/dbug.c 2014-04-04 04:21:01.000000000 -0600
+++ libmariadb/dbug.c 2015-01-24 16:47:13.316693150 -0700
@@ -2050,11 +2050,7 @@
}
else
{
-#ifdef _WIN32
- if (fopen_s(&fp, name, append ? "a+" : "w"))
-#else
if (!(fp= fopen(name, append ? "a+" : "w")))
@ant32
ant32 / PKGBUILD
Created February 2, 2015 20:40
mingw-w64-postgresql-libs PKGBUILD
# Contributor: ant32 <antreimer@gmail.com>
pkgname=mingw-w64-postgresql-libs
pkgver=9.4.0
pkgrel=1
pkgdesc="Libraries for use with PostgreSQL (mingw-w64)"
arch=(any)
url="http://www.postgresql.org"
license=("custom:PostgreSQL")
makedepends=(mingw-w64-configure libxml2)
depends=(mingw-w64-gettext mingw-w64-openssl mingw-w64-libxslt)
@ant32
ant32 / PKGBUILD
Created February 3, 2015 16:19
cmake 3.1.1-1 with fixed openssl detect
# $Id: PKGBUILD 229676 2015-01-23 08:04:19Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=cmake
pkgver=3.1.1
pkgrel=1
pkgdesc='A cross-platform open-source make system'
arch=('i686' 'x86_64')
url="http://www.cmake.org/"
@ant32
ant32 / PKGBUILD
Last active August 29, 2015 14:14
mingw-w64-mariadb-connector 2.1.0
# Maintainer: ant32 <antreimer@gmail.com>
pkgname=mingw-w64-libmariadbclient #mingw-w64-mariadb-connector-c
epoch=2
pkgver=2.1.0
pkgrel=1
pkgdesc="MariaDB Client Library for C (mingw-w64)" #"Connect applications developed in C/C++ to MariaDB and MySQL databases (mingw-w64)"
arch=(any)
url="https://mariadb.com/kb/en/mariadb/about-mariadb-connector-c/"
license=("LGPL")
#replaces=('mingw-w64-libmariadbclient')
@ant32
ant32 / invoice_print.xml
Created December 22, 2015 18:59
Half Quaser Invoice
<?xml version="1.0" encoding="ISO-8859-1"?>
<ReportDefn
name="Print Customer Invoice"
module="Sales"
orientation="Portrait"
pageWidth="5100"
pageHeight="3300"
leftMargin="150"
rightMargin="150"
Only in orig_tcl8.6.4/compat/zlib: inflate.c
Only in orig_tcl8.6.4/compat/zlib: inflate.h
diff -ur orig_tcl8.6.4/win/configure.in tcl8.6.4/win/configure.in
--- orig_tcl8.6.4/win/configure.in 2015-03-11 07:59:56.000000000 -0600
+++ tcl8.6.4/win/configure.in 2018-04-05 17:52:51.129758764 -0600
@@ -126,20 +126,8 @@
], [
tcl_ok=yes
])
-AS_IF([test "$tcl_ok" = "yes"], [