diff options
| author | Vineet Kumar <git@vineetk.net> | 2026-06-15 14:54:51 -0400 |
|---|---|---|
| committer | Vineet Kumar <git@vineetk.net> | 2026-06-15 14:54:51 -0400 |
| commit | e81f04fa53e7e01afdc834d9c22b5c982c98f59b (patch) | |
| tree | 763d6d68516ca9d184ddd2402978adcc4027a99d /graphics/ffmpeg/patches/patch-configure | |
| parent | 92e45e47c29ec037842c4a34ebc0c14143d413ff (diff) | |
This is due to the following two reasons:
1. it's very out of date compared with current ports tree (like by 2+
years!)
- some of the ports here were mainly just updates I didn't upstream,
which have since now been part of openbsd, like verilator
2. removing dependencies is a lot of headache to stay in sync and/or for
ports I no longer use
- e.g. dbus is very difficult to remove in a desktop while patching
to remove from gtk and downstream
- I don't want to spend more time reducing number of dependencies
when I can be working instead. I no longer have as much free time
as I did in high school :(
Diffstat (limited to 'graphics/ffmpeg/patches/patch-configure')
| -rw-r--r-- | graphics/ffmpeg/patches/patch-configure | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/graphics/ffmpeg/patches/patch-configure b/graphics/ffmpeg/patches/patch-configure deleted file mode 100644 index b269885..0000000 --- a/graphics/ffmpeg/patches/patch-configure +++ /dev/null | |||
| @@ -1,81 +0,0 @@ | |||
| 1 | - configure: use pkg-config for sndio | ||
| 2 | - configure: add initial RISC-V support | ||
| 3 | - Fix broken libatomic test | ||
| 4 | |||
| 5 | Index: configure | ||
| 6 | --- configure.orig | ||
| 7 | +++ configure | ||
| 8 | @@ -1992,6 +1992,7 @@ ARCH_LIST=" | ||
| 9 | parisc | ||
| 10 | ppc | ||
| 11 | ppc64 | ||
| 12 | + riscv | ||
| 13 | s390 | ||
| 14 | sh4 | ||
| 15 | sparc | ||
| 16 | @@ -2601,7 +2602,7 @@ for ext in $(filter_out mmx $ARCH_EXT_LIST_X86_SIMD); | ||
| 17 | done | ||
| 18 | |||
| 19 | aligned_stack_if_any="aarch64 ppc x86" | ||
| 20 | -fast_64bit_if_any="aarch64 alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64" | ||
| 21 | +fast_64bit_if_any="aarch64 alpha ia64 mips64 parisc64 ppc64 riscv64 sparc64 x86_64" | ||
| 22 | fast_clz_if_any="aarch64 alpha avr32 mips ppc x86" | ||
| 23 | fast_unaligned_if_any="aarch64 ppc x86" | ||
| 24 | simd_align_16_if_any="altivec neon sse" | ||
| 25 | @@ -4915,6 +4916,9 @@ case "$arch" in | ||
| 26 | "Power Macintosh"|ppc*|powerpc*) | ||
| 27 | arch="ppc" | ||
| 28 | ;; | ||
| 29 | + riscv*) | ||
| 30 | + arch="riscv" | ||
| 31 | + ;; | ||
| 32 | s390|s390x) | ||
| 33 | arch="s390" | ||
| 34 | ;; | ||
| 35 | @@ -5306,6 +5310,10 @@ case "$arch" in | ||
| 36 | check_64bit ppc ppc64 | ||
| 37 | enabled shared && enable_weak pic | ||
| 38 | ;; | ||
| 39 | + riscv) | ||
| 40 | + check_64bit riscv32 riscv64 | ||
| 41 | + enabled shared && enable_weak pic | ||
| 42 | + ;; | ||
| 43 | s390) | ||
| 44 | check_64bit s390 s390x | ||
| 45 | enabled shared && enable_weak pic | ||
| 46 | @@ -5378,7 +5386,6 @@ case $target_os in | ||
| 47 | enable section_data_rel_ro | ||
| 48 | striptype="" | ||
| 49 | SHFLAGS='-shared' | ||
| 50 | - SLIB_INSTALL_NAME='$(SLIBNAME).$(LIBMAJOR).$(LIBMINOR)' | ||
| 51 | SLIB_INSTALL_LINKS= | ||
| 52 | oss_indev_extralibs="-lossaudio" | ||
| 53 | oss_outdev_extralibs="-lossaudio" | ||
| 54 | @@ -5734,7 +5741,7 @@ set_default libdir | ||
| 55 | set_default $PATHS_LIST | ||
| 56 | set_default nm | ||
| 57 | |||
| 58 | -disabled optimizations || enabled ossfuzz || check_cflags -fomit-frame-pointer | ||
| 59 | +enabled x86_32 && check_cflags -fomit-frame-pointer | ||
| 60 | |||
| 61 | enable_weak_pic() { | ||
| 62 | disabled pic && return | ||
| 63 | @@ -6189,7 +6196,7 @@ check_headers asm/types.h | ||
| 64 | # | ||
| 65 | # some configurations also require linking to libatomic, so try | ||
| 66 | # both with -latomic and without | ||
| 67 | -for LATOMIC in "-latomic" ""; do | ||
| 68 | +for LATOMIC in "" "-latomic"; do | ||
| 69 | check_builtin stdatomic stdatomic.h \ | ||
| 70 | "atomic_int foo, bar = ATOMIC_VAR_INIT(-1); atomic_store(&foo, 0); foo += bar" \ | ||
| 71 | $LATOMIC && eval stdatomic_extralibs="\$LATOMIC" && break | ||
| 72 | @@ -6657,7 +6664,8 @@ enabled alsa && { check_pkg_config alsa alsa "alsa/aso | ||
| 73 | enabled libjack && | ||
| 74 | require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range | ||
| 75 | |||
| 76 | -enabled sndio && check_lib sndio sndio.h sio_open -lsndio | ||
| 77 | +enabled sndio && { check_pkg_config sndio sndio "sndio.h" sio_open || | ||
| 78 | + check_lib sndio sndio.h sio_open -lsndio; } | ||
| 79 | |||
| 80 | if enabled libcdio; then | ||
| 81 | check_pkg_config libcdio libcdio_paranoia "cdio/cdda.h cdio/paranoia.h" cdio_cddap_open || | ||
