ports/devel/tavrasm/files/patch-avrasm.cc
Wes Peters 6fdfeab1b2 Update to version 1.20 of Tom's AVR Assembler. This version adds the
.align directive from the Atmel assembler.

Prodded by:     kkenn, who noticed the bento failure.
2004-01-29 05:35:16 +00:00

14 lines
360 B
C++

--- src/avrasm.cc.orig Mon Jan 19 17:11:30 2004
+++ src/avrasm.cc Thu Jan 29 05:26:31 2004
@@ -862,6 +862,11 @@
strcpy(type_start,".");
}
+ /// Append default search path /////////////////////////////////////////////
+
+ if (yyIncPathCount < MAX_INCPATH_QTY)
+ yyIncludePaths[yyIncPathCount++] = "/usr/local/include/avr";
+
return ok;
}