libowfat: Fix compile with glibc 2.36
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 6 Nov 2022 15:42:33 +0000 (16:42 +0100)
committerRosen Penev <rosenp@gmail.com>
Sun, 6 Nov 2022 20:54:15 +0000 (12:54 -0800)
commit0c59c77c96ac33ba58fea17b75c958c56fe429bc
treefc9e22e2c2cc71ed0ce7307bba1ae580e0d02d80
parentcfb4767098b56a21746da583babadf9ba2900da7
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>
libs/libowfat/Makefile
libs/libowfat/patches/012-remove-deprecated.patch [new file with mode: 0644]