From 2a44ac299bcdc56884555cd20f3962df1a41b972 Mon Sep 17 00:00:00 2001
From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com>
Date: Sat, 16 Dec 2023 04:11:18 -0800
Subject: [PATCH] Update FAQ about entries requiring sound libraries
This update was supposed to be committed in
0cbd1db76445674bcc1ace9ed0b468cc2dbd5d78 which was for 2018/algmyr but
it was accidentally left out.
---
faq.md | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/faq.md b/faq.md
index b71ea7c21..679d370bb 100644
--- a/faq.md
+++ b/faq.md
@@ -32,7 +32,7 @@
- [3.7 - How do I compile and use on macOS, an IOCCC winner that requires X11?](#faq3_7)
- [3.8 - How do I compile an IOCCC winner that requires SDL1 or SDL2?](#faq3_8)
- [3.9 - How do I compile an IOCCC winner that requires (n)curses?](#faq3_9)
-- [3.10 - How do I compile and use on macOS, an IOCCC winner that requires sound?](#faq3_10)
+- [3.10 - How do I compile and use an IOCCC winner that requires sound?](#faq3_10)
- [3.11 - Why do Makefiles use -Weverything with clang?](#faq3_11)
- [3.12 - How do I find out how to send interrupt/EOF etc. for entries that require it?](#faq3_12)
- [3.13 - Why does an IOCCC winner fail to compile or or fail run?](#faq3_13)
@@ -1056,23 +1056,23 @@ for downloading, installing and using ncurses.
We recommend trying a method suitable for your environment first, if possible.
-### FAQ 3.10: How do I compile and use on macOS, an IOCCC winner that requires sound?
+### FAQ 3.10: How do I compile and use an IOCCC winner that requires sound?
+This might depend on the entry but most likely the Swiss Army Knife of sound
+processing programs, [SoX](https://sox.sourceforge.net), will work. How to
+install depends on your OS.
#### Red Hat based Linux
-Usually the README.md file will explain how to use it under RHEL so we do not
-include this here, at least for now.
+As root or via sudo:
+```sh
+dnf install -y sox sox-devel
+```
#### macOS
-This might depend on the entry but in some cases like
-[2001/coupard](/2001/coupard/coupard.c) one needs to do more work in order to get
-it to work. In this case you should be able to use the Swiss Army Knife of sound
-processing programs, [SoX](https://sox.sourceforge.net). To install this easily
-you can use either Homebrew. or MacPorts.
-
+For macOS there are two well known options.
##### macOS via Homebrew
@@ -1086,7 +1086,7 @@ eval "$(/opt/homebrew/bin/brew shellenv)"
```
-##### macos via MacPorts
+##### macOS via MacPorts
If you haven't already, install
[MacPorts](https://www.macports.org/install.php). Then run: