diff options
Diffstat (limited to 'debian/patches/fix_invalid_printf.patch')
-rw-r--r-- | debian/patches/fix_invalid_printf.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/fix_invalid_printf.patch b/debian/patches/fix_invalid_printf.patch new file mode 100644 index 0000000..1f6bb96 --- /dev/null +++ b/debian/patches/fix_invalid_printf.patch @@ -0,0 +1,17 @@ +Index: oss4-4.2-build2004/setup/elflib.inc +=================================================================== +--- oss4-4.2-build2004.orig/setup/elflib.inc 2011-06-14 11:33:23.000000000 -0500 ++++ oss4-4.2-build2004/setup/elflib.inc 2011-06-14 11:33:24.000000000 -0500 +@@ -81,7 +81,11 @@ + } + if (hdr->e_ehsize != sizeof (*hdr)) + { +- fprintf (stderr, "e_ehsize=%x (%x)\n", hdr->e_ehsize, sizeof (*hdr)); ++ #if defined(__alpha__) || defined(__s390__) || defined(__ia64__) ++ fprintf (stderr, "e_ehsize=%x (%lx)\n", hdr->e_ehsize, sizeof (*hdr)); ++ #else ++ fprintf (stderr, "e_ehsize=%x (%x)\n", hdr->e_ehsize, sizeof (*hdr)); ++ #endif + return 0; + } + |