Dominique Leuenberger 2019-07-22 10:17:39 +00:00 committed by Git OBS Bridge
commit ff564453f9
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,34 @@
From: Bastien Nocera <hadess@hadess.net>
Date: Fri, 7 Jun 2019 09:51:33 +0200
Subject: fix build after y2038 changes in glibc
Patch-mainline: upstream seems to be dead
SIOCGSTAMP is now defined in linux/sockios.h. Include that file wherever
needed.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
src/maint/atmdump.c | 1 +
src/maint/saaldump.c | 1 +
2 files changed, 2 insertions(+)
--- a/src/maint/atmdump.c
+++ b/src/maint/atmdump.c
@@ -16,6 +16,7 @@
#include <sys/socket.h>
#include <netinet/in.h> /* for htonl and ntohl */
#include <atm.h>
+#include <linux/sockios.h>
static const char *pti[] = { "Data SDU 0","Data SDU 1","Data SDU 0, CE",
--- a/src/maint/saaldump.c
+++ b/src/maint/saaldump.c
@@ -16,6 +16,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <atm.h>
+#include <linux/sockios.h>
#include "pdu.h"
#define DUMP_MODE

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 11 06:03:18 UTC 2019 - Jiri Slaby <jslaby@suse.com>
- add fix-build-after-y2038-changes-in-glibc.patch
-------------------------------------------------------------------
Wed Jan 9 08:45:59 UTC 2019 - Jiri Slaby <jslaby@suse.com>

View File

@ -34,6 +34,8 @@ Patch1: linux-atm-2.5.2_implicit-fortify-decl.patch
Patch2: linux-atm-2.5.2-fix-header-conflict.patch
# PATCH-FIX-UPSTREAM linux-atm-2.5.2-remove-headers-crude-hack.patch -- Remove headers crude hack
Patch3: linux-atm-2.5.2-remove-headers-crude-hack.patch
# PATCH-FIX-UPSTREAM fix-build-after-y2038-changes-in-glibc.patch -- fix build after y2038 changes in glibc
Patch4: fix-build-after-y2038-changes-in-glibc.patch
BuildRequires: bison
BuildRequires: flex