pgid69 / bcm63xx-phone

Telephony driver for Broadcom 6358 running OpenWrt
23 stars 18 forks source link

Fix patch line count to avoid dropping the last line #24

Closed lulol closed 6 years ago

lulol commented 6 years ago

The last line of the original patch (++#endif / SPI_BCM63XX_H /) is lost in the generated patch.

The cause is that the actual line count of the original patch is 378 but somehow is defined in the header as 377 ??? Thus the result is that the patch generates a truncated patch that in turn creates a truncated spi-bcm63xx.h which fails to compile.

This patch patches the patching patch to solve this issue.