ports/multimedia/avidemux/files/ffmpeg_fix_build_on_armv7.patch
Robert Clausecker c80d811ea8 multimedia/avidemux: fix build on armv7 with recent binutils
Recent GNU as doesn't like numerical labels that begin with leading
zeros.  Fix the one occurrence of such a label in the bundled FFmpeg to
fix the build on armv7.

MFH:		2024Q4
Approved by:	portmgr (build fix blanket)
2024-11-25 11:22:02 +01:00

30 lines
864 B
Diff

--- libavcodec/arm/mlpdsp_armv5te.S.orig 2024-11-20 11:30:59.957498000 +0000
+++ libavcodec/arm/mlpdsp_armv5te.S 2024-11-20 11:31:40.969226000 +0000
@@ -229,7 +229,7 @@
.endif
// Begin loop
-01:
+1:
.if TOTAL_TAPS == 0
// Things simplify a lot in this case
// In fact this could be pipelined further if it's worth it...
@@ -241,7 +241,7 @@
str ST0, [PST, #-4]!
str ST0, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)]
str ST0, [PSAMP], #4 * MAX_CHANNELS
- bne 01b
+ bne 1b
.else
.if \fir_taps & 1
.set LOAD_REG, 1
@@ -333,7 +333,7 @@
str ST3, [PST, #-4]!
str ST2, [PST, #4 * (MAX_BLOCKSIZE + MAX_FIR_ORDER)]
str ST3, [PSAMP], #4 * MAX_CHANNELS
- bne 01b
+ bne 1b
.endif
b 99f