git: 14af59f18791 - main - x11/gnome-console: unbreak build after 36e8b92108fc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Sep 2023 14:36:00 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=14af59f1879184d0c954536321ef797e743a4229 commit 14af59f1879184d0c954536321ef797e743a4229 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-09-20 11:58:23 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-09-20 14:34:42 +0000 x11/gnome-console: unbreak build after 36e8b92108fc ../src/kgx-tab-switcher.c:160:30: error: 'adw_flap_get_reveal_flap' is deprecated [-Werror,-Wdeprecated-declarations] !adw_flap_get_reveal_flap (self->flap)); ^ /usr/local/include/libadwaita-1/adw-flap.h:66:1: note: 'adw_flap_get_reveal_flap' has been explicitly marked deprecated here ADW_DEPRECATED_IN_1_4 ^ /usr/local/include/libadwaita-1/adw-version.h:205:44: note: expanded from macro 'ADW_DEPRECATED_IN_1_4' # define ADW_DEPRECATED_IN_1_4 _ADW_DEPRECATED ^ /usr/local/include/libadwaita-1/adw-version.h:130:39: note: expanded from macro '_ADW_DEPRECATED' # define _ADW_DEPRECATED G_DEPRECATED _ADW_EXTERN ^ /usr/local/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ ../src/kgx-tab-switcher.c:162:7: error: 'adw_flap_get_reveal_flap' is deprecated [-Werror,-Wdeprecated-declarations] if (adw_flap_get_reveal_flap (self->flap)) { ^ /usr/local/include/libadwaita-1/adw-flap.h:66:1: note: 'adw_flap_get_reveal_flap' has been explicitly marked deprecated here ADW_DEPRECATED_IN_1_4 ^ /usr/local/include/libadwaita-1/adw-version.h:205:44: note: expanded from macro 'ADW_DEPRECATED_IN_1_4' # define ADW_DEPRECATED_IN_1_4 _ADW_DEPRECATED ^ /usr/local/include/libadwaita-1/adw-version.h:130:39: note: expanded from macro '_ADW_DEPRECATED' # define _ADW_DEPRECATED G_DEPRECATED _ADW_EXTERN ^ /usr/local/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ ../src/kgx-tab-switcher.c:599:10: error: 'adw_flap_get_content' is deprecated [-Werror,-Wdeprecated-declarations] return adw_flap_get_content (self->flap); ^ /usr/local/include/libadwaita-1/adw-flap.h:42:1: note: 'adw_flap_get_content' has been explicitly marked deprecated here ADW_DEPRECATED_IN_1_4 ^ /usr/local/include/libadwaita-1/adw-version.h:205:44: note: expanded from macro 'ADW_DEPRECATED_IN_1_4' # define ADW_DEPRECATED_IN_1_4 _ADW_DEPRECATED ^ /usr/local/include/libadwaita-1/adw-version.h:130:39: note: expanded from macro '_ADW_DEPRECATED' # define _ADW_DEPRECATED G_DEPRECATED _ADW_EXTERN ^ /usr/local/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ ../src/kgx-tab-switcher.c:614:3: error: 'adw_flap_set_content' is deprecated [-Werror,-Wdeprecated-declarations] adw_flap_set_content (self->flap, child); ^ /usr/local/include/libadwaita-1/adw-flap.h:44:1: note: 'adw_flap_set_content' has been explicitly marked deprecated here ADW_DEPRECATED_IN_1_4 ^ /usr/local/include/libadwaita-1/adw-version.h:205:44: note: expanded from macro 'ADW_DEPRECATED_IN_1_4' # define ADW_DEPRECATED_IN_1_4 _ADW_DEPRECATED ^ /usr/local/include/libadwaita-1/adw-version.h:130:39: note: expanded from macro '_ADW_DEPRECATED' # define _ADW_DEPRECATED G_DEPRECATED _ADW_EXTERN ^ /usr/local/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ ../src/kgx-tab-switcher.c:687:3: error: 'adw_flap_set_reveal_flap' is deprecated [-Werror,-Wdeprecated-declarations] adw_flap_set_reveal_flap (self->flap, TRUE); ^ /usr/local/include/libadwaita-1/adw-flap.h:68:1: note: 'adw_flap_set_reveal_flap' has been explicitly marked deprecated here ADW_DEPRECATED_IN_1_4 ^ /usr/local/include/libadwaita-1/adw-version.h:205:44: note: expanded from macro 'ADW_DEPRECATED_IN_1_4' # define ADW_DEPRECATED_IN_1_4 _ADW_DEPRECATED ^ /usr/local/include/libadwaita-1/adw-version.h:130:39: note: expanded from macro '_ADW_DEPRECATED' # define _ADW_DEPRECATED G_DEPRECATED _ADW_EXTERN ^ /usr/local/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ ../src/kgx-tab-switcher.c:696:3: error: 'adw_flap_set_reveal_flap' is deprecated [-Werror,-Wdeprecated-declarations] adw_flap_set_reveal_flap (self->flap, FALSE); ^ /usr/local/include/libadwaita-1/adw-flap.h:68:1: note: 'adw_flap_set_reveal_flap' has been explicitly marked deprecated here ADW_DEPRECATED_IN_1_4 ^ /usr/local/include/libadwaita-1/adw-version.h:205:44: note: expanded from macro 'ADW_DEPRECATED_IN_1_4' # define ADW_DEPRECATED_IN_1_4 _ADW_DEPRECATED ^ /usr/local/include/libadwaita-1/adw-version.h:130:39: note: expanded from macro '_ADW_DEPRECATED' # define _ADW_DEPRECATED G_DEPRECATED _ADW_EXTERN ^ /usr/local/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from macro 'G_DEPRECATED' #define G_DEPRECATED __attribute__((__deprecated__)) ^ Reported by: pkg-fallout See also: https://gitlab.gnome.org/GNOME/console/-/commit/9fd16f0f8474 --- x11/gnome-console/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/x11/gnome-console/Makefile b/x11/gnome-console/Makefile index ec1263b93acc..499c66ff8ce2 100644 --- a/x11/gnome-console/Makefile +++ b/x11/gnome-console/Makefile @@ -25,6 +25,7 @@ USES= compiler:c11 desktop-file-utils gettext gnome localbase meson \ pkgconfig tar:xz USE_CSTD= c11 USE_GNOME= gtk30 gtksourceview5 libadwaita +MESON_ARGS= ${${PORTVERSION:R}<44:?-Dwerror=false:} GLIB_SCHEMAS= org.gnome.Console.gschema.xml PORTSCOUT= limitw:1,even