imake/imake-1.0.2-abort.patch

19 lines
540 B
Diff
Raw Permalink Normal View History

2010-10-25 21:16:00 +00:00
diff -up imake-1.0.2/imake.c.jx imake-1.0.2/imake.c
--- imake-1.0.2/imake.c.jx 2006-05-15 16:28:14.000000000 -0400
+++ imake-1.0.2/imake.c 2010-10-25 17:14:37.000000000 -0400
@@ -1030,8 +1030,12 @@ get_libc_version(FILE *inFile)
len = pclose (fp);
remove (aout);
- if (len)
- abort ();
+ if (len) {
+ /* handwave furiously */
+ printf("#define DefaultLinuxCLibMajorVersion 6\n");
+ printf("#define DefaultLinuxCLibMinorVersion 12\n");
+ printf("#define DefaultLinuxCLibTeenyVersion 0\n");
+ }
}
#endif