diff --git a/osmo-ggsn.changes b/osmo-ggsn.changes index b2d14b5..7601116 100644 --- a/osmo-ggsn.changes +++ b/osmo-ggsn.changes @@ -5,6 +5,7 @@ Thu May 18 11:45:02 UTC 2023 - Jan Engelhardt * Use rate_ctr for gsn_t available_counters * ggsn: Introduce tdef and make it configurable over VTY * gtp: Introduce VTY configurable GTP timer X3 +- Add ppc64.diff ------------------------------------------------------------------- Wed Aug 3 18:29:09 UTC 2022 - Jan Engelhardt diff --git a/osmo-ggsn.spec b/osmo-ggsn.spec index 68d836a..712b8a5 100644 --- a/osmo-ggsn.spec +++ b/osmo-ggsn.spec @@ -26,6 +26,7 @@ Group: Productivity/Telephony/Servers URL: https://osmocom.org/projects/openggsn/wiki/OsmoGGSN Source: https://github.com/osmocom/osmo-ggsn/archive/%version.tar.gz Patch1: build-fixes.diff +Patch2: ppc64.diff BuildRequires: libtool >= 2 BuildRequires: pkgconfig >= 0.20 BuildRequires: systemd-rpm-macros diff --git a/ppc64.diff b/ppc64.diff new file mode 100644 index 0000000..6604f6d --- /dev/null +++ b/ppc64.diff @@ -0,0 +1,17 @@ +From: Jan Engelhardt +Date: 2023-05-18 16:11:05.927027347 +0200 +Upstream: not submitted, too much work + +diff --git a/utils/gtp_echo_responder.c b/utils/gtp_echo_responder.c +index 390fa25..3c383c2 100644 +--- a/utils/gtp_echo_responder.c ++++ b/utils/gtp_echo_responder.c +@@ -80,7 +80,7 @@ struct gtp2_hdr { + #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ + uint32_t reserved2:8, seq:24; + #else +- uint8_t seq:24, reserved2:1; ++ uint32_t seq:24, reserved2:8; + #endif + } __attribute__((packed)); +