mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 06:31:41 +08:00
libowfat: Fix compile with glibc 2.36
This fixes the following error message seen when compiling against glibc 2.36: from scan/scan_httpdate.c:3: include/sys/cdefs.h:338:65: error: macro "__has_attribute" requires an identifier 338 | #if __GNUC_PREREQ (3,2) || __glibc_has_attribute (__deprecated__) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
44ac79ba6c
commit
53023d0d45
@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=libowfat
|
PKG_NAME:=libowfat
|
||||||
PKG_VERSION:=0.32
|
PKG_VERSION:=0.32
|
||||||
PKG_RELEASE:=5
|
PKG_RELEASE:=6
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://www.fefe.de/libowfat
|
PKG_SOURCE_URL:=https://www.fefe.de/libowfat
|
||||||
|
16
libs/libowfat/patches/012-remove-deprecated.patch
Normal file
16
libs/libowfat/patches/012-remove-deprecated.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
--- 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"
|
||||||
|
--- 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"
|
Loading…
Reference in New Issue
Block a user