Accepting request 714595 from Base:System
OBS-URL: https://build.opensuse.org/request/show/714595 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/linux-atm?expand=0&rev=28
This commit is contained in:
commit
ff564453f9
34
fix-build-after-y2038-changes-in-glibc.patch
Normal file
34
fix-build-after-y2038-changes-in-glibc.patch
Normal 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
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user