File jack-gcc4.diff of Package jack
--- config/cpu/ia64/ia64intrin.h
+++ config/cpu/ia64/ia64intrin.h
@@ -1,6 +1,8 @@
#ifndef _IA64INTRIN_H_INCLUDED
#define _IA64INTRIN_H_INCLUDED
+#if !(__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 1)
+
/* Actually, everything is a compiler builtin, but just so
there's no confusion... */
#ifdef __cplusplus
@@ -127,4 +129,6 @@
}
#endif
+#endif /* GNUC < 4.1 */
+
#endif