Crosser patches
Back to crosser main page
Miscellaneous patches
- binutils_arm_empty_body.diff:
Fix binutils 2.20 build for arm. Upstream development version has similar fix.
- glibc_binutils2.20.diff:
Fixed glibc build with binutils 2.20. Upstream development version has similar fix.
- svgalib_round.diff:
Avoid namespace conflict with round()
- gettext_bash.diff: Force use of /bin/bash
instead of /bin/sh since compilation to windows target works only with bash.
Problem is properly fixed in gettext version 0.18
- newlib_gloss_ldflags.diff: Fix libgloss configure failure when LDFLAGS contains space (Patch sent to newlib-mailing list First rejected because maintainer didn't know how autoconf works and thought this patch to be wrong. After clarifications patch has been ignored)
- fontconfig_buildsys_flags.diff: Hack that passes CPPFLAGS from environment to compilation of build system tools.
- glib_acsizeof.diff: Autoconf macro AC_CHECK_SIZEOF is buggy.
When compiling for Windows target, variables it sets may contain fragments of
DOS linefeeds.
This patch fixes format of the variables acquired from AC_CHECK_SIZEOF before
they are used. (Patch sent to Gnome Bugzilla, ID:549881)
- zlib_fpiccheck.diff: Do not use "-fPIC" on compiler command line if all
code on target architecture is automatically position independent. This
fixes some configure failures later on. This patch is replaced by zlib_cctest.diff fighting the problem in more fundamental level.
(Debian maintainers informed, Debian tracker ID: 484810)
- zlib_cctest.diff: Replaced configure tests checking compiler output with more robust ones checking compiler return value. (Debian maintainers informed, but they disagree with the principle of this patch)
- zlib_seeko.diff: Separate check for fseeko even if off64_t check
success. Windows target has off64_t, but no fseeko.
(Debian maintainers informed, Debian tracker ID: 484814 Issue mentioned in ticket fixed in latest version of patch, but Debian is not interested about this)
- zlib_nolibc.diff: Do not link against libc. This hack fixes Windows
compilation, but breaks linux compilation.
- zlib_dllext.diff: Replace shared library suffix .so with .dll.
This hack fixes Windows compilation, but breaks linux compilation.
- autoconf_mainreturn.diff: Fixes compiler warnings from some tests defining function with
return type char. Unimportant cleanup patch. (Sent to autoconf-patches -mailing list. It was already being accepted, but I myself decided that issue needs further investigation before this goes in in upstream)
- glibc_nomanual.diff: Debian glibc packet contains no manual-directory. This patch makes install_headers-target to work without it
- glibc_ports_arm_tlsinc.diff: Fixes compilation of arm-linux port of glibc (Patch sent to libc ports-mailing list Similar fix accepted, will be in glibc 2.10)
- atk_def.diff: Fixes atk 1.24.0 Windows compilation
with separate builddir
(Patch sent to Gnome Bugzilla,
ID: 570405)
- gtk_gailutildef.diff: Fixes gtk+ 2.14
Windows compilation with separate builddir.
(Problem reported to Gnome Bugzilla,
ID: 570406
and fixed in development version)
Old patches
These patches, or equivalent fixes, are already present in upstream version used in latest crosser release.
- glib_stackgrow.diff: Hack that makes configure not to always fail when
cross-compiling. This will produce broken binaries if stack does not grow to
higher addresses on target architecture. Need for this kind of patches was removed in
crosser 0.6.0
- binutils_makeinfo.diff: Fix binutils configure problem that makeinfo 4.10
and above are considered older than minimum required 4.4 (Fixed in binutils version 2.19)
- gtk_check_cxx.diff: Fix C++ compiler configure check to work when cross-compiling (Patch accepted to upstream Gnome Bugzilla, ID:532497 First stable release with fix will be 2.14.0)
- glib_gmoddef.diff: Fixes glib 2.18.0 Windows compilation with separate builddir (Patch accepted to upstream. Gnome Bugzilla ID:551408)
- gcc_cldconf.diff: Fixes gcc 4.3.1 configure problem caused by undefined enable_cld -variable. (Upstream version 4.3.2 has similar fix)
- glibc_ports_arm_docargs.diff: Compilation fix for arm-linux port of glibc 2.7 (Upstream version 2.8 has similar fix)
- glibc_ports_arm_pageh_inc.diff: Compilation fix for arm-linux port of glibc 2.7 (Upstream version 2.8 has similar fix)
- freetype_dll.diff: Fix linking of shared Windows libraries (dll) with freetype (Fixed in freetype version 2.3.6)
- tiff4alpha_largefile.diff: Fix to tiff 4.0.0alpha compilation on systems having no largefile support. (Fixed in 4.0.0beta1. This ever affected only experimental versionset)
- gtk_blddir.diff: Fix building dll:s from separate builddir (Patch accepted to upstream. Gnome Bugzilla ID:532558. First version with the fix is 2.12.10)