webrtc-audio-processing/webrtc-s390x.patch
Takashi Iwai f0ff330476 Accepting request 1111520 from home:alarrosa:branches:multimedia:libs:webrtc-audio-processing
- Update to version 1.3:
  * build: Bump version to 1.3
  * meson: Fix generation of pkgconfig files
  * build: Bump version to 1.2
  * meson: Update minimum version based on what abseil wrap needs
  * build: Expose absl as a dependency of webrtc-audio-processing
  * meson: Update to latest wrap, install required absl headers
  * doc: Update tarball generation process
  * file_utils.h: Fix build with gcc-13
  * meson: Fixes for MSVC build
  * meson: Ensure that abseil is built with c++17 too
  * More changes not listed by upstream. Check
    the following link to see them:
    https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commits/v1.3
- Add patch that fixes some compiler "control reaches end of
  non-void function" errors:
  * fix-build.patch
- Add patch that fixes i586 build:
  * fix-i586.patch
- Disable patches until they're rebased to the current codebase:
  * big_endian_support.patch
  * big_endian_support_2.patch
- Rebased patches:
  * webrtc-ppc64.patch
  * webrtc-s390x.patch

OBS-URL: https://build.opensuse.org/request/show/1111520
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/webrtc-audio-processing?expand=0&rev=19
2023-09-18 12:05:03 +00:00

19 lines
560 B
Diff

--- a/webrtc/rtc_base/system/arch.h.orig
+++ b/webrtc/rtc_base/system/arch.h
@@ -63,6 +63,12 @@
#elif defined(__powerpc__)
#define WEBRTC_ARCH_BIG_ENDIAN
#define WEBRTC_ARCH_32_BITS
+#elif defined(__s390x__)
+#define WEBRTC_ARCH_BIG_ENDIAN
+#define WEBRTC_ARCH_64_BITS
+#elif defined(__s390__)
+#define WEBRTC_ARCH_BIG_ENDIAN
+#define WEBRTC_ARCH_32_BITS
#else
#error Please add support for your architecture in rtc_base/system/arch.h
#endif
# #else
# /* instead of failing, use typical unix defines... */
# #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__