void-packages/srcpkgs/libowfat/patches/04-Prevent-deprecated-ident...

32 lines
850 B
Diff

https://salsa.debian.org/debian/libowfat/-/commit/8f014984a70ef236ef337948af384a9bfb3325b3
From: Bastian Germann <bage@debian.org>
Date: Thu, 10 Nov 2022 14:59:50 +0000
Subject: Prevent __deprecated__ identifier from conflicting with glibc
---
scan/scan_httpdate.c | 1 -
scan/scan_iso8601.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/scan/scan_httpdate.c b/scan/scan_httpdate.c
index ec8773f..c672874 100644
--- a/scan/scan_httpdate.c
+++ b/scan/scan_httpdate.c
@@ -1,5 +1,4 @@
#define _GNU_SOURCE
-#define __deprecated__
#include "scan.h"
#include "byte.h"
#include "case.h"
diff --git a/scan/scan_iso8601.c b/scan/scan_iso8601.c
index 1033f7d..0899316 100644
--- a/scan/scan_iso8601.c
+++ b/scan/scan_iso8601.c
@@ -1,5 +1,4 @@
#define _GNU_SOURCE
-#define __deprecated__
#include "scan.h"
#include "byte.h"
#include "case.h"