forked from pool/osmo-ggsn
- Add ppc64.diff
OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-ggsn?expand=0&rev=29
This commit is contained in:
parent
590eba5ccf
commit
1bcd1bfdcc
@ -5,6 +5,7 @@ Thu May 18 11:45:02 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
* 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 <jengelh@inai.de>
|
||||
|
@ -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
|
||||
|
17
ppc64.diff
Normal file
17
ppc64.diff
Normal file
@ -0,0 +1,17 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
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));
|
||||
|
Loading…
Reference in New Issue
Block a user