diff --git a/x11/gnome/gcr/Makefile b/x11/gnome/gcr/Makefile index 2ca46b05fd5..931fadd1f3b 100644 --- a/x11/gnome/gcr/Makefile +++ b/x11/gnome/gcr/Makefile @@ -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 diff --git a/x11/gnome/gcr/patches/patch-gck_meson_build b/x11/gnome/gcr/patches/patch-gck_meson_build new file mode 100644 index 00000000000..0fde51b91dd --- /dev/null +++ b/x11/gnome/gcr/patches/patch-gck_meson_build @@ -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 + ] + diff --git a/x11/gnome/gcr/patches/patch-gcr_meson_build b/x11/gnome/gcr/patches/patch-gcr_meson_build new file mode 100644 index 00000000000..7d50ebf6669 --- /dev/null +++ b/x11/gnome/gcr/patches/patch-gcr_meson_build @@ -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'