Tweak defines to get at the declaration of strptime(3), fixes clang 15 build
ok ajacoutot@ (maintainer)
This commit is contained in:
parent
ac26d46a16
commit
d0d5f73e33
@ -4,7 +4,7 @@ COMMENT= library for bits of crypto UI and parsing
|
||||
|
||||
GNOME_PROJECT= gcr
|
||||
GNOME_VERSION= 3.41.1
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
SHARED_LIBS += gck-1 2.1 # 0.0.0
|
||||
SHARED_LIBS += gcr-base-3 3.1 # 1.0.0
|
||||
|
11
x11/gnome/gcr/patches/patch-gck_meson_build
Normal file
11
x11/gnome/gcr/patches/patch-gck_meson_build
Normal file
@ -0,0 +1,11 @@
|
||||
Index: gck/meson.build
|
||||
--- gck/meson.build.orig
|
||||
+++ gck/meson.build
|
||||
@@ -78,6 +78,7 @@ gck_cflags = [
|
||||
'-DP11_KIT_API_SUBJECT_TO_CHANGE',
|
||||
'-DPKCS11_REGISTRY_DIR="@0@"'.format(get_option('prefix') / get_option('libdir') / 'pkcs11'),
|
||||
'-D_XOPEN_SOURCE', # Needed for strptime()
|
||||
+ '-D_XOPEN_VERSION=4', # Needed for strptime()
|
||||
'-D_DEFAULT_SOURCE', # Needed for timegm
|
||||
]
|
||||
|
11
x11/gnome/gcr/patches/patch-gcr_meson_build
Normal file
11
x11/gnome/gcr/patches/patch-gcr_meson_build
Normal file
@ -0,0 +1,11 @@
|
||||
Index: gcr/meson.build
|
||||
--- gcr/meson.build.orig
|
||||
+++ gcr/meson.build
|
||||
@@ -147,6 +147,7 @@ gcr_base_cflags = [
|
||||
'-DGCK_API_SUBJECT_TO_CHANGE',
|
||||
'-DP11_KIT_API_SUBJECT_TO_CHANGE',
|
||||
'-D_XOPEN_SOURCE', # Needed for strptime()
|
||||
+ '-D_XOPEN_VERSION=4', # Needed for strptime()
|
||||
]
|
||||
|
||||
gcr_base_symbolmap = meson.current_source_dir() / 'libgcr-base.map'
|
Loading…
Reference in New Issue
Block a user