ports/devel/tavrasm/files/patch-avrasm.cc
Wes Peters 999ef4c5bb Add Tom's AVR Assembler, compatible with the Atmel DOS Assembler.
This port also fetches the Atmel distribution and extracts the
include files and HTML documentation.
2003-12-14 04:20:32 +00:00

14 lines
360 B
C++

--- src/avrasm.cc.orig Fri Dec 12 13:50:49 2003
+++ src/avrasm.cc Fri Dec 12 13:56:40 2003
@@ -861,6 +861,11 @@
strcpy(type_start,".");
}
+ /// Append default search path /////////////////////////////////////////////
+
+ if (yyIncPathCount < MAX_INCPATH_QTY)
+ yyIncludePaths[yyIncPathCount++] = "/usr/local/include/avr";
+
return ok;
}