File kdebase3-change-default-system-uid-min.patch of Package kdebase3

diff -Naru kdebase-3.5.10_orig/kcontrol/kdm/kdm-users.cpp kdebase-3.5.10/kcontrol/kdm/kdm-users.cpp
--- kdebase-3.5.10_orig/kcontrol/kdm/kdm-users.cpp	2008-02-13 18:40:34.000000000 +0900
+++ kdebase-3.5.10/kcontrol/kdm/kdm-users.cpp	2019-10-30 14:27:26.072366497 +0900
@@ -63,7 +63,10 @@
 	defminuid = "100";
 	defmaxuid = "65000";
     } else /* if (!stat( "/etc/SuSE-release", &st )) */ {	/* suse */
-	defminuid = "500";
+	// when in current Tumbleweed (and maybe Leap 15.2 or later),
+	// systemd users (systemd-coredump, systemd-network, systemd-resolve,
+	// systemd-timesync) have UIDs of 995,996,997,998; they should be also excluded.
+	defminuid = "1000";
 	defmaxuid = "65000";
     }
 #else
diff -Naru kdebase-3.5.10_orig/kdm/kfrontend/genkdmconf.c kdebase-3.5.10/kdm/kfrontend/genkdmconf.c
--- kdebase-3.5.10_orig/kdm/kfrontend/genkdmconf.c	2019-10-30 14:19:48.339952725 +0900
+++ kdebase-3.5.10/kdm/kfrontend/genkdmconf.c	2019-10-30 16:43:11.082388652 +0900
@@ -2859,7 +2859,10 @@
 		defminuid = "100";
 		defmaxuid = "65000";
 	} else /* if (!stat( "/etc/SuSE-release", &st )) */ { /* suse */
-		defminuid = "500";
+		// when in current Tumbleweed (and maybe Leap 15.2 or later),
+		// systemd users (systemd-coredump, systemd-network, systemd-resolve,
+		// systemd-timesync) have UIDs of 995,996,997,998; they should be also excluded.
+		defminuid = "1000";
 		defmaxuid = "65000";
 	}
 #else