SDL_mixer: Make sure to set VERSION

From 15936b9a5cbf171b12dc368935a89ef47c540d88 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 094602d7..8c83d119 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