mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
nemo: fix gcc6 build
This commit is contained in:
parent
85fce8ea5d
commit
3c69381a18
2 changed files with 20 additions and 1 deletions
19
srcpkgs/nemo/patches/fix-unused_variable.patch
Normal file
19
srcpkgs/nemo/patches/fix-unused_variable.patch
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
The code using url_drag_types[] is #if 0 enclosed, so do
|
||||||
|
the same for the array to avoid gcc6 error -Wunused-const-variable=
|
||||||
|
|
||||||
|
--- src/nemo-notebook.c 2016-03-07 18:19:50.000000000 +0100
|
||||||
|
+++ src/nemo-notebook.c 2016-09-13 01:00:15.102303362 +0200
|
||||||
|
@@ -51,11 +51,13 @@
|
||||||
|
static void nemo_notebook_remove (GtkContainer *container,
|
||||||
|
GtkWidget *tab_widget);
|
||||||
|
|
||||||
|
+#if 0
|
||||||
|
static const GtkTargetEntry url_drag_types[] =
|
||||||
|
{
|
||||||
|
{ NEMO_ICON_DND_GNOME_ICON_LIST_TYPE, 0, NEMO_ICON_DND_GNOME_ICON_LIST },
|
||||||
|
{ NEMO_ICON_DND_URI_LIST_TYPE, 0, NEMO_ICON_DND_URI_LIST },
|
||||||
|
};
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
enum
|
||||||
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nemo'
|
# Template file for 'nemo'
|
||||||
pkgname=nemo
|
pkgname=nemo
|
||||||
version=2.8.7
|
version=2.8.7
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="The Cinnamon file manager (nautilus fork)"
|
short_desc="The Cinnamon file manager (nautilus fork)"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args=" --disable-static --disable-update-mimedb
|
configure_args=" --disable-static --disable-update-mimedb
|
||||||
|
|
Loading…
Add table
Reference in a new issue