aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/conf-w32/README2
-rw-r--r--scripts/conf-w32/bzip2-1.diff39
2 files changed, 41 insertions, 0 deletions
diff --git a/scripts/conf-w32/README b/scripts/conf-w32/README
new file mode 100644
index 000000000..12b89c06d
--- /dev/null
+++ b/scripts/conf-w32/README
@@ -0,0 +1,2 @@
+Files useful for building W32 versions.
+
diff --git a/scripts/conf-w32/bzip2-1.diff b/scripts/conf-w32/bzip2-1.diff
new file mode 100644
index 000000000..568d8f508
--- /dev/null
+++ b/scripts/conf-w32/bzip2-1.diff
@@ -0,0 +1,39 @@
+To include support for BZIP2 compression in GunPG for W32, the patch
+below should be applied to a stock bzip2-1.0.2 source. The Build as
+usual using the mingw32 cross compiler package from Debian and install
+the library and header file on top of the cross compiler installation
+(/usr/i586-mingw32msvc/lib/). Note that for ease of maintenance we
+don't used a DLL. [wk 2005-03-14]
+
+
+diff -u orig/bzip2-1.0.2/Makefile bzip2-1.0.2/Makefile
+--- orig/bzip2-1.0.2/Makefile 2002-01-26 00:34:53.000000000 +0100
++++ bzip2-1.0.2/Makefile 2004-11-03 14:10:45.000000000 +0100
+@@ -2,9 +2,9 @@
+ SHELL=/bin/sh
+
+ # To assist in cross-compiling
+-CC=gcc
+-AR=ar
+-RANLIB=ranlib
++CC=i586-mingw32msvc-gcc
++AR=i586-mingw32msvc-ar
++RANLIB=i586-mingw32msvc-ranlib
+ LDFLAGS=
+
+ # Suitably paranoid flags to avoid bugs in gcc-2.7
+diff -u orig/bzip2-1.0.2/bzlib.h bzip2-1.0.2/bzlib.h
+--- orig/bzip2-1.0.2/bzlib.h 2001-12-30 03:19:45.000000000 +0100
++++ bzip2-1.0.2/bzlib.h 2004-11-03 14:32:41.000000000 +0100
+@@ -113,7 +114,7 @@
+ /* Need a definitition for FILE */
+ #include <stdio.h>
+
+-#ifdef _WIN32
++#if defined( _WIN32 ) && 0
+ # include <windows.h>
+ # ifdef small
+ /* windows.h define small to char */
+
+
+