summaryrefslogtreecommitdiffhomepage
path: root/patches/zip30.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-11-14 23:02:47 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-11-15 20:40:50 +0100
commit59765f508225998d8a73b1da8380ff06b4a6b79c (patch)
tree9397850a4ab5bac51ec373558722c45be4fe7258 /patches/zip30.local.patch
parent8739dbe67d82f90d1c3b63a8d07af291c4ace600 (diff)
downloadmidipix_build-59765f508225998d8a73b1da8380ff06b4a6b79c.tar.bz2
midipix_build-59765f508225998d8a73b1da8380ff06b4a6b79c.tar.xz
1) Replaces the SysV-style build script link mechanism w/ build {,meta-}targets,
2) splits build.{subr,sh}} into subr/{build,pkg,rtl}.subr and build.sh, 3) replaces {997.strip,998.midipix_sh,999.tarballs}.build with subr/{strip,tarball}.subr, 4) moves patches to patches/, vars files to vars/, and everything else to etc/, 5) renames `Create `Midipix mintty shell' shortcut.vbs' to midipix_shortcut.vbs, 6) fixes a Weechat configure issue, and 7) updates etc/{build.usage,README}.
Diffstat (limited to 'patches/zip30.local.patch')
-rw-r--r--patches/zip30.local.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/zip30.local.patch b/patches/zip30.local.patch
new file mode 100644
index 00000000..0c37bcf9
--- /dev/null
+++ b/patches/zip30.local.patch
@@ -0,0 +1,16 @@
+diff -ru zip30.orig/unix/Makefile zip30/unix/Makefile
+--- zip30.orig/unix/Makefile 2008-05-07 08:33:56.000000000 +0200
++++ zip30/unix/Makefile 2016-10-17 01:03:49.734470317 +0200
+@@ -196,6 +196,12 @@
+ # NO_UNICODE_SUPPORT - do not enable Unicode support even if available.
+ # NO_BZIP2_SUPPORT - do not compile in bzip2 code even if available.
+
++# Midipix target
++midipix:
++ $(MAKE) $(MAKEF) zips LDFLAGS1="" CC="x86_64-nt64-midipix-gcc" CPP="x86_64-nt64-midipix-gcc -E" \
++ CFLAGS="-g3 -O0 -DUNIX -I. -DHAVE_TERMIOS_H -DNO_BZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT \
++ -DHAVE_DIRENT_H -DUIDGID_NOT_16BIT" OBJA="" OCRCU8="crc32_.o " OCRCTB="" LN="ln -s" LFLAGS2=""
++
+ # Generic targets:
+
+ generic: flags