PKGBUILDs/alarm/dtc145
Alexandru M Stan b1eb964380 alarm/dtc145 Fix yylloc error during compilation
This should be a noop change to the existing dtc145 .pkg files, but in
case you want to recently compile it from scratch you will get this error:

/usr/bin/ld: dtc-parser.tab.o:PKGBUILDs/alarm/dtc145/src/dtc-1.4.5/dtc-parser.tab.c:1086: multiple definition of `yylloc'; dtc-lexer.lex.o:PKGBUILDs/alarm/dtc145/src/dtc-1.4.5/dtc-lexer.l:41: first defined here

Seems that the usual fix for this (including in the linux kernel) is to
just remove the extra "YYLTYPE yylloc;" line.

Let's do that with a simple sed in our PKGBUILD
2022-02-09 20:32:04 -07:00
..
PKGBUILD alarm/dtc145 Fix yylloc error during compilation 2022-02-09 20:32:04 -07:00