Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging
/ Packages / vinagre
Commits:
e1870b2f by Eric Long at 2024-08-06T13:37:35+08:00
Fix implicit int and incompatible pointer errors
Fixes the following errors:
```
vinagre/vinagre-tube-handler.c:115:17: error: assignment to ‘TpChannel *’ {aka
‘struct _TpChannel *’} from incompatible pointer type ‘void **’
[-Wincompatible-pointer-types]
115 | priv->channel = g_object_ref (channel);
| ^
plugins/rdp/vinagre-rdp-plugin.c:237:12: error: type defaults to ‘int’ in
declaration of ‘dontoptimiseaway’ [-Wimplicit-int]
237 | volatile dontoptimiseaway = vinagre_rdp_plugin_get_type ();
| ^~~~~~~~~~~~~~~~
```
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -59,6 +59,7 @@ prepare() {
build() {
cd $pkgname
CFLAGS+=' -fcommon' #
https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+ CFLAGS+=' -Wno-error=incompatible-pointer-types -Wno-error=implicit-int'
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/$pkgname \
--enable-rdp --enable-spice --enable-compile-warnings=minimum
make
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/vinagre/-/commit/e1870b2fbe8b7d5244b77be0cc399eb83e2f73d3
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/vinagre/-/commit/e1870b2fbe8b7d5244b77be0cc399eb83e2f73d3
You're receiving this email because of your account on gitlab.archlinux.org.