File project.diff of Package glibc

--- _multibuild.orig
+++ _multibuild
@@ -6,4 +6,5 @@
   <package>cross-ppc64le</package>
   <package>cross-riscv64</package>
   <package>cross-s390x</package>
+  <package>cross-hppa</package>
 </multibuild>
--- glibc.changes.orig
+++ glibc.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Sun Jan  5 23:52:22 UTC 2025 - Martin Hauke <mardnh@gmx.de>
+
+- Add support for hppa
+
+-------------------------------------------------------------------
 Sun Jan  5 11:43:47 UTC 2025 - Andreas Schwab <schwab@suse.de>
 
 - Define _enable_debug_packages for rpm 4.20
--- glibc.spec.orig
+++ glibc.spec
@@ -44,6 +44,9 @@
 %define cross_arch ppc64le
 %define cross_cpu powerpc64le
 %endif
+%if "%flavor" == "cross-hppa"
+%define cross_cpu hppa
+%endif
 
 %if 0%{?cross_cpu:1}
 %define binutils_os %{cross_cpu}-suse-linux
@@ -655,6 +658,11 @@ BuildCCplus=%{cross_cpu}-suse-linux-g++
 	%define enable_stackguard_randomization 0
 %endif
 %endif
+%if "%flavor" == "cross-hppa"
+	# -fstack-clash-protectionis not supported on targets where the stack grows from lower to higher addresses
+        BuildFlags="$(echo $BuildFlags | sed 's|-fstack-clash-protection||')"
+        BuildFlags+=" -Wno-error=stringop-overflow"
+%endif
 
 #
 # Build base glibc
openSUSE Build Service is sponsored by