Debian Patches

Status for ncview/2.1.11+ds-1

Patch Description Author Forwarded Bugs Origin Last update
autoreconf.patch Modernize autotools for clean autoreconf. The issues in question:
.
src/Makefile.am:21: warning: source file 'interface/interface.c' is in a subdirectory,
src/Makefile.am:21: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Bas Couwenberg <sebastic@debian.org> invalid
netcdf-cc.patch Disable NetCDF compiler check. Check fails for compiler used to build new netcdf packages:
.
checking for nc-config... yes
Netcdf library version: netCDF 4.4.0-rc2
Netcdf library has version 4 interface present: yes
Netcdf library was compiled with C compiler: /usr/bin/cc
checking for /usr/bin/cc... no
configure: error: in `/tmp/buildd/ncview-2.1.5+ds1':
configure: error: no acceptable C compiler found in $PATH
Bas Couwenberg <sebastic@debian.org> not-needed debian
incompatible-pointer-types.patch Fix incompatible-pointer-types error. interface/dataedit.c: In function 'dataedit_callback':
interface/dataedit.c:212:46: error: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types]
212 | XawListChange( dataedit_list_widget, (_Xconst char **)list_text, 0, 0, True );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const char **
In file included from interface/../ncview.includes.h:57,
from interface/dataedit.c:23:
/usr/include/X11/Xaw/List.h:170:26: note: expected 'char **' but argument is of type 'const char **'
170 | String *list,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
.
interface/filesel.c: In function 'fs_double_click':
interface/filesel.c:244:25: error: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types]
244 | (_Xconst char **)stringlist_to_Xawlist( files_and_dirs ),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const char **
In file included from interface/../ncview.includes.h:57,
from interface/filesel.c:28:
/usr/include/X11/Xaw/List.h:170:26: note: expected 'char **' but argument is of type 'const char **'
170 | String *list,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
Bas Couwenberg <sebastic@debian.org> invalid
format-overflow.patch Fix format-overflow error. calcalcs.c: In function 'set_xition_extra_info':
calcalcs.c:1612:161: warning: '%s' directive writing up to 8191 bytes into a region of size 8079 [-Wformat-overflow=]
933 | return( error_message );
| ~
......
1612 | sprintf( error_message, "Failed to turn the day BEFORE the mixed calendar transition day of %04d-%02d-%02d into a date while using calendar %s! %s\n",
| ^~
In file included from /usr/include/stdio.h:970,
from calcalcs.c:27:
In function 'sprintf',
inlined from 'set_xition_extra_info' at calcalcs.c:1612:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 115 or more bytes (assuming 8306) into a destination of size 8192
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
Bas Couwenberg <sebastic@debian.org> invalid
makefile.patch Fix build failure. make[3]: Leaving directory '/build/ncview-2.1.11+ds/src'
make[3]: Entering directory '/build/ncview-2.1.11+ds'
make[3]: *** No rule to make target 'ncview.c', needed by 'ncview.o'. Stop.
make[3]: Leaving directory '/build/ncview-2.1.11+ds'
make[2]: *** [Makefile:501: all-recursive] Error 1
make[2]: Leaving directory '/build/ncview-2.1.11+ds'
make[1]: *** [Makefile:357: all] Error 2
make[1]: Leaving directory '/build/ncview-2.1.11+ds'
Bas Couwenberg <sebastic@debian.org> invalid

All known versions for source package 'ncview'

Links