SDL_mixer: Make sure to set VERSION (726d9)

From 726d9ff5b8f5fed037f2d3da64a0e5595a7d28d7 Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Tue, 12 Jul 2022 11:54:16 +0100
Subject: [PATCH] Make sure to set VERSION

Plain Autoconf only defines PACKAGE_NAME, PACKAGE_VERSION and similar
substitution variables, to which Automake adds PACKAGE and VERSION.
SDL_mixer doesn't use Automake, so it doesn't have the VERSION required
by our (and unless we set it

Fixes: 52d3f2c "Rewrite CMake build script"
Signed-off-by: Simon McVittie <>
--- | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ b/
index 0b95ddf3..a26eccfd 100644
--- a/
+++ b/
@@ -31,7 +31,10 @@ AC_SUBST(MINOR_VERSION)
+# Automake defines VERSION to be the same as PACKAGE_VERSION, but we're
+# not using Automake in SDL_mixer, so we need to set up the @VERSION@
+# substitution for SDL2_mixer.pc ourselves
 dnl libtool versioning