Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build of -current release on OS X fails with segfault in lint



See http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=45098
In particular, try the patch:

Index: usr.bin/xlint/lint1/lint1.h
===================================================================
RCS file: /Volumes/netbsd/cvsroot/src/usr.bin/xlint/lint1/lint1.h,v
retrieving revision 1.24
diff -u -d -r1.24 lint1.h
--- usr.bin/xlint/lint1/lint1.h 2 Oct 2009 19:01:14 -0000       1.24
+++ usr.bin/xlint/lint1/lint1.h 23 Jun 2011 07:35:01 -0000
@@ -40,6 +40,11 @@
 #define ALIGN(x) (((x) + 7) & ~7)
 #endif


+#ifdef __APPLE__
+#undef ALIGN
+#define ALIGN(x) (((x) + 15) & ~15)
+#endif
+
 /*
  * Describes the position of a declaration or anything else.
  */

--
Paul Ripke
Ubi dubium ibi libertas


Home | Main Index | Thread Index | Old Index