Debian Patches

Status for galculator/2.1.4-2.1

Patch Description Author Forwarded Bugs Origin Last update
potfiles.patch fix FTBFS~~~~
INTLTOOL_EXTRACT="/usr/bin/intltool-extract" XGETTEXT="/usr/bin/xgettext" srcdir=. /usr/bin/intltool-update --gettext-package galculator --pot
rm -f missing notexist
srcdir=. /usr/bin/intltool-update -m
The following files contain translations and are currently not in use. Please
consider adding these to the POTFILES.in file, located in the po/ directory.

src/flex_parser.c

If some of these files are left out on purpose then please add them to
POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list
of left out files has been written in the current directory.
if [ -r missing -o -r notexist ]; then \
exit 1; \
fi
~~~~
Dmitry Smirnov <onlyjob@member.fsf.org> invalid 2015-09-06
0001-Fix-multiple-definition-of-prefs-compile-error-with-.patch [PATCH] Fix multiple definition of `prefs` compile error with GCC-10
This commit fixes the following error:

libtool: link: gcc -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/workspace/galculator-2.1.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z -Wl,relro -o galculator galculator-main.o galculator-math_functions.o galculator-display.o galculator-general_functions.o galculator-calc_basic.o galculator-config_file.o galculator-callbacks.o galculator-ui.o galculator-flex_parser.o -Wl,--export-dynamic -Wl,--as-n
eeded -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lm -lquadmath -pthread
/usr/bin/ld: galculator-config_file.o:./src/config_file.c:42: multiple definition of `prefs'; galculator-main.o:./src/main.c:52: first defined here
collect2: error: ld returned 1 exit status
Kentaro Hayashi <kenhys@gmail.com> no 2020-08-01
0002-Declare-function-parameters-as-required-by-C23.patch Declare function parameters as required by C23
In C23, having no parameter in a function declaration no longer means an
"unspecified" number of arguments [1]. Therefore, this code fails to
build with this standard. Declare the missing function arguments, so
that it compiles once again with the default standard from modern
compilers, such as GCC 15.

The exception here is the set_{basic,scientific}_object_data functions,
which actually don't use their argument at all. Thus, their unique calls
are changed instead.

Because functions registered by set_disp_ctrl_object_data don't receive
a button pointer as argument as the others, declare a new struct for
holding the entries for that. It is named after "display" as it is only
used for display control buttons.

[1] https://gcc.gnu.org/gcc-15/porting_to.html
"Henrique F. Simoes" <henriquesimoes@riseup.net> no debian 2025-10-15

All known versions for source package 'galculator'

Links