SDL_net: Updated version to 2.1.1 for RC build

From 5de0e97dc2af2e67ff2e67d468e17b64d6cf245b Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 17 Aug 2022 09:51:02 -0700
Subject: [PATCH] Updated version to 2.1.1 for RC build

---
 CHANGES.txt                             |  5 ++---
 CMakeLists.txt                          |  2 +-
 Makefile.os2                            |  2 +-
 SDL_net.h                               |  2 +-
 VisualC/Version.rc                      |  8 ++++----
 Xcode/Info-Framework.plist              |  4 ++--
 Xcode/SDL_net.xcodeproj/project.pbxproj |  8 ++++----
 configure                               | 22 +++++++++++-----------
 configure.ac                            |  2 +-
 release_checklist.md                    |  4 ++++
 version.rc                              |  8 ++++----
 11 files changed, 35 insertions(+), 32 deletions(-)

diff --git a/CHANGES.txt b/CHANGES.txt
index 1b00df4..f775ec6 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,6 +1,5 @@
-2.0.2:
-Ozkan Sezer - Mon Oct 23 11:54:16 2017
- * Build fixes for OS/2
+2.2.0:
+ * Added support for building with CMake
 
 2.0.1:
 Mārtiņš Možeiko - Fri Sep 27 23:26:33 2013
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 859cba8..abaf49e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
 # See release_checklist.md
 set(MAJOR_VERSION 2)
 set(MINOR_VERSION 1)
-set(MICRO_VERSION 0)
+set(MICRO_VERSION 1)
 set(SDL_REQUIRED_VERSION 2.0.4)
 
 set(DYLIB_COMPATIBILITY_VERSION "1")
diff --git a/Makefile.os2 b/Makefile.os2
index 0407c31..c5c1e67 100644
--- a/Makefile.os2
+++ b/Makefile.os2
@@ -7,7 +7,7 @@
 LIBNAME = SDL2net
 MAJOR_VERSION = 2
 MINOR_VERSION = 1
-MICRO_VERSION = 0
+MICRO_VERSION = 1
 VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION)
 
 TITLENAME = $(LIBNAME) $(VERSION)
diff --git a/SDL_net.h b/SDL_net.h
index f327b9e..2e0ddea 100644
--- a/SDL_net.h
+++ b/SDL_net.h
@@ -56,7 +56,7 @@ extern "C" {
 */
 #define SDL_NET_MAJOR_VERSION   2
 #define SDL_NET_MINOR_VERSION   1
-#define SDL_NET_PATCHLEVEL      0
+#define SDL_NET_PATCHLEVEL      1
 
 /* This macro can be used to fill a version structure with the compile-time
  * version of the SDL_net library.
diff --git a/VisualC/Version.rc b/VisualC/Version.rc
index df6bffb..49951e8 100644
--- a/VisualC/Version.rc
+++ b/VisualC/Version.rc
@@ -28,8 +28,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 //
 
 VS_VERSION_INFO VERSIONINFO
- FILEVERSION 2,1,0,0
- PRODUCTVERSION 2,1,0,0
+ FILEVERSION 2,1,1,0
+ PRODUCTVERSION 2,1,1,0
  FILEFLAGSMASK 0x3fL
 #ifdef _DEBUG
  FILEFLAGS 0x1L
@@ -46,12 +46,12 @@ BEGIN
         BEGIN
             VALUE "CompanyName", "\0"
             VALUE "FileDescription", "SDL_net\0"
-            VALUE "FileVersion", "2, 1, 0, 0\0"
+            VALUE "FileVersion", "2, 1, 1, 0\0"
             VALUE "InternalName", "SDL_net\0"
             VALUE "LegalCopyright", "Copyright  2022 Sam Lantinga\0"
             VALUE "OriginalFilename", "SDL_net.dll\0"
             VALUE "ProductName", "Simple DirectMedia Layer\0"
-            VALUE "ProductVersion", "2, 1, 0, 0\0"
+            VALUE "ProductVersion", "2, 1, 1, 0\0"
         END
     END
     BLOCK "VarFileInfo"
diff --git a/Xcode/Info-Framework.plist b/Xcode/Info-Framework.plist
index af2aedf..eb2fc85 100644
--- a/Xcode/Info-Framework.plist
+++ b/Xcode/Info-Framework.plist
@@ -15,8 +15,8 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>2.1.0</string>
+	<string>2.1.1</string>
 	<key>CFBundleVersion</key>
-	<string>2.1.0</string>
+	<string>2.1.1</string>
 </dict>
 </plist>
diff --git a/Xcode/SDL_net.xcodeproj/project.pbxproj b/Xcode/SDL_net.xcodeproj/project.pbxproj
index 338cdb2..507ddb4 100644
--- a/Xcode/SDL_net.xcodeproj/project.pbxproj
+++ b/Xcode/SDL_net.xcodeproj/project.pbxproj
@@ -365,7 +365,7 @@
 			buildSettings = {
 				COMBINE_HIDPI_IMAGES = YES;
 				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 101.0.0;
+				DYLIB_CURRENT_VERSION = 102.0.0;
 				FRAMEWORK_VERSION = A;
 				INFOPLIST_FILE = "Info-Framework.plist";
 				INSTALL_PATH = "@rpath";
@@ -378,7 +378,7 @@
 			buildSettings = {
 				COMBINE_HIDPI_IMAGES = YES;
 				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 101.0.0;
+				DYLIB_CURRENT_VERSION = 102.0.0;
 				FRAMEWORK_VERSION = A;
 				INFOPLIST_FILE = "Info-Framework.plist";
 				INSTALL_PATH = "@rpath";
@@ -391,7 +391,7 @@
 			buildSettings = {
 				COMBINE_HIDPI_IMAGES = YES;
 				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 101.0.0;
+				DYLIB_CURRENT_VERSION = 102.0.0;
 				LIBRARY_STYLE = STATIC;
 				OTHER_LIBTOOL_FLAGS = "";
 				OTHER_REZFLAGS = "";
@@ -406,7 +406,7 @@
 			buildSettings = {
 				COMBINE_HIDPI_IMAGES = YES;
 				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 101.0.0;
+				DYLIB_CURRENT_VERSION = 102.0.0;
 				LIBRARY_STYLE = STATIC;
 				OTHER_LIBTOOL_FLAGS = "";
 				OTHER_REZFLAGS = "";
diff --git a/configure b/configure
index ee2b048..938aabd 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for SDL2_net 2.1.0.
+# Generated by GNU Autoconf 2.71 for SDL2_net 2.1.1.
 #
 # Report bugs to <https://github.com/libsdl-org/SDL_net/issues>.
 #
@@ -760,8 +760,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='SDL2_net'
 PACKAGE_TARNAME='SDL2_net'
-PACKAGE_VERSION='2.1.0'
-PACKAGE_STRING='SDL2_net 2.1.0'
+PACKAGE_VERSION='2.1.1'
+PACKAGE_STRING='SDL2_net 2.1.1'
 PACKAGE_BUGREPORT='https://github.com/libsdl-org/SDL_net/issues'
 PACKAGE_URL=''
 
@@ -1522,7 +1522,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures SDL2_net 2.1.0 to adapt to many kinds of systems.
+\`configure' configures SDL2_net 2.1.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1593,7 +1593,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of SDL2_net 2.1.0:";;
+     short | recursive ) echo "Configuration of SDL2_net 2.1.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1707,7 +1707,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-SDL2_net configure 2.1.0
+SDL2_net configure 2.1.1
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1968,7 +1968,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by SDL2_net $as_me 2.1.0, which was
+It was created by SDL2_net $as_me 2.1.1, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -2730,7 +2730,7 @@ MAJOR_VERSION=2
 
 MINOR_VERSION=1
 
-MICRO_VERSION=0
+MICRO_VERSION=1
 
 
 BINARY_AGE=`expr $MINOR_VERSION \* 100 + $MICRO_VERSION`
@@ -11361,7 +11361,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='SDL2_net'
- VERSION='2.1.0'
+ VERSION='2.1.1'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -13958,7 +13958,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by SDL2_net $as_me 2.1.0, which was
+This file was extended by SDL2_net $as_me 2.1.1, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -14017,7 +14017,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-SDL2_net config.status 2.1.0
+SDL2_net config.status 2.1.1
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 
diff --git a/configure.ac b/configure.ac
index ac2a9b9..1665902 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ dnl Set various version strings - taken gratefully from the GTk sources
 # See release_checklist.md
 m4_define([MAJOR_VERSION_MACRO], [2])
 m4_define([MINOR_VERSION_MACRO], [1])
-m4_define([MICRO_VERSION_MACRO], [0])
+m4_define([MICRO_VERSION_MACRO], [1])
 
 AC_INIT([SDL2_net],
         [MAJOR_VERSION_MACRO.MINOR_VERSION_MACRO.MICRO_VERSION_MACRO],
diff --git a/release_checklist.md b/release_checklist.md
index 408092c..3b4dade 100644
--- a/release_checklist.md
+++ b/release_checklist.md
@@ -10,12 +10,16 @@
         `SDL_NET_MAJOR_VERSION`, `SDL_NET_MINOR_VERSION`, `SDL_NET_PATCHLEVEL`
     * `configure.ac`:
         `MAJOR_VERSION`, `MINOR_VERSION`, `MICRO_VERSION`
+    * `CMakeLists.txt`:
+        `MAJOR_VERSION`, `MINOR_VERSION`, `MICRO_VERSION`
     * `Makefile.os2`:
         `MAJOR_VERSION`, `MINOR_VERSION`, `MICRO_VERSION`
     * `version.rc`:
         `FILEVERSION`, `PRODUCTVERSION`, `FileVersion`, `ProductVersion`
     * `VisualC/Version.rc`:
         `FILEVERSION`, `PRODUCTVERSION`, `FileVersion`, `ProductVersion`
+    * `Xcode/Info-Framework.plist`:
+        `CFBundleShortVersionString`, `CFBundleVersion`
 
 * Bump ABI version information
 
diff --git a/version.rc b/version.rc
index 463180d..1914b33 100644
--- a/version.rc
+++ b/version.rc
@@ -9,8 +9,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 //
 
 VS_VERSION_INFO VERSIONINFO
- FILEVERSION 2,1,0,0
- PRODUCTVERSION 2,1,0,0
+ FILEVERSION 2,1,1,0
+ PRODUCTVERSION 2,1,1,0
  FILEFLAGSMASK 0x3fL
  FILEFLAGS 0x0L
  FILEOS 0x40004L
@@ -23,12 +23,12 @@ BEGIN
         BEGIN
             VALUE "CompanyName", "\0"
             VALUE "FileDescription", "SDL_net\0"
-            VALUE "FileVersion", "2, 1, 0, 0\0"
+            VALUE "FileVersion", "2, 1, 1, 0\0"
             VALUE "InternalName", "SDL_net\0"
             VALUE "LegalCopyright", "Copyright  2022 Sam Lantinga\0"
             VALUE "OriginalFilename", "SDL_net.dll\0"
             VALUE "ProductName", "Simple DirectMedia Layer\0"
-            VALUE "ProductVersion", "2, 1, 0, 0\0"
+            VALUE "ProductVersion", "2, 1, 1, 0\0"
         END
     END
     BLOCK "VarFileInfo"