mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 22:50:32 -04:00
Newer clang versions are not happy when passing -mcpu=<something> on i386 and amd64. This fixes the construction of CFLAGS during configure in the WITH_DEBUG case. Also, as it turns out, there was a const ptr issue in libmpcodecs/ad_spdif.c whith also needed to be fixed. PR: 280818 Reported by: cryptogranny@gmail.com
11 lines
358 B
C
11 lines
358 B
C
--- libmpcodecs/ad_spdif.c.orig 2024-09-21 09:30:04 UTC
|
|
+++ libmpcodecs/ad_spdif.c
|
|
@@ -54,7 +54,7 @@ static int read_packet(void *p, uint8_t *buf, int buf_
|
|
return 0;
|
|
}
|
|
|
|
-static int write_packet(void *p, const uint8_t *buf, int buf_size)
|
|
+static int write_packet(void *p, uint8_t *buf, int buf_size)
|
|
{
|
|
int len;
|
|
struct spdifContext *ctx = p;
|