D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/xfig-3.2.9-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.q25o2J
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KaAdWZ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build
+ rm -rf xfig-3.2.9
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xfig-3.2.9.tar.xz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd xfig-3.2.9
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ find -type d
+ xargs chmod 755
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xfib-desktop.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SgcXZp
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd xfig-3.2.9
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -vi
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf
configure.ac:29: warning: file 'version.m4' included several times
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
src/Makefile.am:183: warning: escaping \# comment markers is not portable
autoreconf: Leaving directory '.'
+ find Libraries -type d -exec chmod 700 '{}' ';'
+ export 'CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing'
+ CFLAGS='-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing'
+ CFLAGS='-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking for inline... inline
checking for grep that handles long lines and -e... /usr/bin/grep
checking for fgrep... /usr/bin/grep -F
checking whether ln -s works... yes
checking for x86_64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a sed that does not truncate output... /usr/bin/sed
checking for x86_64-mageia-linux-gnu-ar... no
checking for x86_64-mageia-linux-gnu-lib... no
checking for x86_64-mageia-linux-gnu-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking for library containing pow... -lm
checking for library containing FcInit... -lfontconfig
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking for X11/X.h... yes
checking for jpeglib.h... yes
checking for library containing jpeg_read_header... -ljpeg
checking for png.h... yes
checking for library containing png_read_info... -lpng
checking for tiffio.h... no
checking for iconv.h... yes
checking for library providing iconv... none required
checking for ghostscript/iapi.h... no
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... (cached) inline
checking for C/C++ restrict keyword... __restrict__
checking for intptr_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uintptr_t... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether S_IFDIR is declared... yes
checking whether S_IWRITE is declared... yes
checking whether REG_NOERROR is declared... yes
checking for getcwd... yes
checking for nl_langinfo... yes
checking for setlocale... yes
checking for strerror... yes
checking for posix_spawnp... yes
checking for isascii... yes
checking for strstr... yes
checking for strchr... yes
checking for strrchr... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strdup... yes
checking for strndup... yes
checking for library containing XpmFree... -lXpm
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating splash-image/spl_bckgnd.fig
config.status: creating src/Makefile
config.status: creating src/version.fig
config.status: creating doc/html/images/xfig-title.fig
config.status: creating doc/Makefile
config.status: creating doc/xfig.man
config.status: creating doc/xfig_man.html
config.status: creating tests/Makefile
config.status: creating tests/atlocal
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing tests/atconfig commands
configure:
  Compile, CC=gcc XCPPFLAGS=-DXAW_INTERNATIONALIZATION \
	CPPFLAGS=<empty> CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing
  Link, gcc CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing XLDFLAGS=<empty> \
	LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld <object> \
	XLIBS=-lXaw3d -lXft -lXt -lX11 LIBS=-lXpm -lpng -ljpeg -lfontconfig -lm 

Installation locations:
  /usr/share/X11/app-defaults/ Fig	(--with-appdefaultdir)
  /usr/share/applications/ xfig.desktop	(--with-applicationsdir)
  /usr/share/pixmaps/ xfig.png	(--with-icondir)
  /usr/share/xfig/ Libraries (--datarootdir)
  /usr/share/doc/xfig/ html	(--htmldir)
  /usr/share/doc/xfig/ doc-files	(--docdir)
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in src
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_box.o d_box.c
d_box.c: In function 'box_drawing_selected':
d_box.c:48:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   48 |     canvas_leftbut_proc = init_box_drawing;
      |                         ^
In file included from d_box.c:18:
d_box.h:19:17: note: 'init_box_drawing' declared here
   19 | extern void     init_box_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~
d_box.c: In function 'init_box_drawing':
d_box.c:62:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   62 |     canvas_locmove_proc = resizing_box;
      |                         ^
In file included from d_box.c:27:
u_elastic.h:55:17: note: 'resizing_box' declared here
   55 | extern void     resizing_box(int x, int y);
      |                 ^~~~~~~~~~~~
d_box.c:63:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   63 |     canvas_leftbut_proc = create_boxobject;
      |                         ^
d_box.c:37:17: note: 'create_boxobject' declared here
   37 | static void     create_boxobject(int x, int y);
      |                 ^~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: d_box.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_break.o e_break.c
e_break.c: In function 'break_selected':
e_break.c:49:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   49 |     init_searchproc_left(init_break_only);
      |                          ^~~~~~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_break.c:24:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_break.c:35:17: note: 'init_break_only' declared here
   35 | static void     init_break_only(F_line *p, int type, int x, int y, int px,
      |                 ^~~~~~~~~~~~~~~
e_break.c:50:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
   50 |     init_searchproc_middle(init_break_tag);
      |                            ^~~~~~~~~~~~~~
      |                            |
      |                            void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_break.c:37:17: note: 'init_break_tag' declared here
   37 | static void     init_break_tag(F_line *p, int type, int x, int y, int px,
      |                 ^~~~~~~~~~~~~~
e_break.c:51:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   51 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_break.c:52:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   52 |     canvas_middlebut_proc = object_search_middle;
      |                           ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_break.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_copy.o e_copy.c
e_copy.c: In function 'copy_selected':
e_copy.c:57:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   57 |     init_searchproc_left(init_arb_copy);
      |                          ^~~~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_copy.c:35:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_copy.c:43:17: note: 'init_arb_copy' declared here
   43 | static void     init_arb_copy(F_line *p, int type, int x, int y, int px,int py);
      |                 ^~~~~~~~~~~~~
e_copy.c:58:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
   58 |     init_searchproc_middle(init_constrained_copy);
      |                            ^~~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_copy.c:44:17: note: 'init_constrained_copy' declared here
   44 | static void     init_constrained_copy(F_line *p, int type, int x, int y, int px,
      |                 ^~~~~~~~~~~~~~~~~~~~~
e_copy.c:59:27: error: passing argument 1 of 'init_searchproc_right' from incompatible pointer type [-Wincompatible-pointer-types]
   59 |     init_searchproc_right(init_copy_to_scrap);
      |                           ^~~~~~~~~~~~~~~~~~
      |                           |
      |                           void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
u_search.h:29:46: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   29 | void            init_searchproc_right(void (*handlerproc) (/* ??? */));
      |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_copy.c:46:17: note: 'init_copy_to_scrap' declared here
   46 | static void     init_copy_to_scrap(F_line *p, int type, int x, int y, int px,
      |                 ^~~~~~~~~~~~~~~~~~
e_copy.c:60:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   60 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_copy.c:61:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   61 |     canvas_middlebut_proc = object_search_middle;
      |                           ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_copy.c:62:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   62 |     canvas_rightbut_proc = object_search_right;
      |                          ^
u_search.h:37:17: note: 'object_search_right' declared here
   37 | void            object_search_right(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_copy.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_picobj.o d_picobj.c
d_picobj.c: In function 'picobj_drawing_selected':
d_picobj.c:53:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   53 |     canvas_leftbut_proc = init_picobj_drawing;
      |                         ^
d_picobj.c:41:17: note: 'init_picobj_drawing' declared here
   41 | static void     init_picobj_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~
d_picobj.c: In function 'init_picobj_drawing':
d_picobj.c:64:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   64 |     canvas_leftbut_proc = create_picobj;
      |                         ^
d_picobj.c:42:17: note: 'create_picobj' declared here
   42 | static void     create_picobj(int x, int y);
      |                 ^~~~~~~~~~~~~
make[2]: *** [Makefile:883: d_picobj.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_move.o e_move.c
e_move.c: In function 'move_selected':
e_move.c:47:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   47 |     init_searchproc_left(init_arb_move);
      |                          ^~~~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_move.c:29:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_move.c:36:17: note: 'init_arb_move' declared here
   36 | static void     init_arb_move(F_line *p, int type, int x, int y, int px,int py);
      |                 ^~~~~~~~~~~~~
e_move.c:48:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
   48 |     init_searchproc_middle(init_constrained_move);
      |                            ^~~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_move.c:37:17: note: 'init_constrained_move' declared here
   37 | static void     init_constrained_move(F_line *p, int type, int x, int y, int px,
      |                 ^~~~~~~~~~~~~~~~~~~~~
e_move.c:49:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   49 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_move.c:50:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   50 |     canvas_middlebut_proc = object_search_middle;
      |                           ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_move.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_arcbox.o d_arcbox.c
d_arcbox.c: In function 'arcbox_drawing_selected':
d_arcbox.c:48:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   48 |     canvas_leftbut_proc = init_arc_box_drawing;
      |                         ^
d_arcbox.c:38:17: note: 'init_arc_box_drawing' declared here
   38 | static void     init_arc_box_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~
d_arcbox.c: In function 'init_arc_box_drawing':
d_arcbox.c:62:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   62 |     canvas_locmove_proc = resizing_box;
      |                         ^
In file included from d_arcbox.c:25:
u_elastic.h:55:17: note: 'resizing_box' declared here
   55 | extern void     resizing_box(int x, int y);
      |                 ^~~~~~~~~~~~
d_arcbox.c:63:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   63 |     canvas_leftbut_proc = create_arc_boxobject;
      |                         ^
d_arcbox.c:36:17: note: 'create_arc_boxobject' declared here
   36 | static void     create_arc_boxobject(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: d_arcbox.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_regpoly.o d_regpoly.c
d_regpoly.c: In function 'regpoly_drawing_selected':
d_regpoly.c:52:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   52 |     canvas_leftbut_proc = init_regpoly_drawing;
      |                         ^
d_regpoly.c:40:17: note: 'init_regpoly_drawing' declared here
   40 | static void     init_regpoly_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~
d_regpoly.c: In function 'init_regpoly_drawing':
d_regpoly.c:67:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   67 |     canvas_locmove_proc = resizing_poly;
      |                         ^
In file included from d_regpoly.c:28:
u_elastic.h:62:17: note: 'resizing_poly' declared here
   62 | extern void     resizing_poly(int x, int y);
      |                 ^~~~~~~~~~~~~
d_regpoly.c:68:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   68 |     canvas_leftbut_proc = create_regpoly;
      |                         ^
d_regpoly.c:41:17: note: 'create_regpoly' declared here
   41 | static void     create_regpoly(int x, int y);
      |                 ^~~~~~~~~~~~~~
make[2]: *** [Makefile:883: d_regpoly.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_delete.o e_delete.c
e_delete.c: In function 'delete_selected':
e_delete.c:69:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   69 |     init_searchproc_left(init_delete);
      |                          ^~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_delete.c:45:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_delete.c:55:17: note: 'init_delete' declared here
   55 | static void     init_delete(F_line *p, int type, int x, int y, int px, int py);
      |                 ^~~~~~~~~~~
e_delete.c:70:27: error: passing argument 1 of 'init_searchproc_right' from incompatible pointer type [-Wincompatible-pointer-types]
   70 |     init_searchproc_right(init_delete_to_scrap);
      |                           ^~~~~~~~~~~~~~~~~~~~
      |                           |
      |                           void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
u_search.h:29:46: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   29 | void            init_searchproc_right(void (*handlerproc) (/* ??? */));
      |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_delete.c:57:17: note: 'init_delete_to_scrap' declared here
   57 | static void     init_delete_to_scrap(F_line *p, int type, int x, int y, int px, int py);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_delete.c:71:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   71 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_delete.c:72:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   72 |     canvas_middlebut_proc = init_delete_region;
      |                           ^
e_delete.c:56:17: note: 'init_delete_region' declared here
   56 | static void     init_delete_region(int x, int y), delete_region(int x, int y), cancel_delete_region(void);
      |                 ^~~~~~~~~~~~~~~~~~
e_delete.c:73:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   73 |     canvas_rightbut_proc = object_search_right;
      |                          ^
u_search.h:37:17: note: 'object_search_right' declared here
   37 | void            object_search_right(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~
e_delete.c: In function 'init_delete_region':
e_delete.c:126:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  126 |     canvas_middlebut_proc = delete_region;
      |                           ^
e_delete.c:56:51: note: 'delete_region' declared here
   56 | static void     init_delete_region(int x, int y), delete_region(int x, int y), cancel_delete_region(void);
      |                                                   ^~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_delete.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_convert.o e_convert.c
e_convert.c: In function 'convert_selected':
e_convert.c:58:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   58 |     init_searchproc_left(init_convert_line_spline);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_convert.c:36:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_convert.c:44:17: note: 'init_convert_line_spline' declared here
   44 | static void     init_convert_line_spline(F_line *p, int type, int x, int y,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
e_convert.c:59:27: error: passing argument 1 of 'init_searchproc_right' from incompatible pointer type [-Wincompatible-pointer-types]
   59 |     init_searchproc_right(init_convert_open_closed);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~
      |                           |
      |                           void (*)(F_line *, int,  int,  int,  F_point *, F_point *) {aka void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *)}
u_search.h:29:46: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  F_point *, F_point *)' {aka 'void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *)'}
   29 | void            init_searchproc_right(void (*handlerproc) (/* ??? */));
      |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_convert.c:46:17: note: 'init_convert_open_closed' declared here
   46 | static void     init_convert_open_closed(F_line *obj, int type, int x, int y,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
e_convert.c:60:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   60 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_convert.c:62:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   62 |     canvas_rightbut_proc = point_search_right;
      |                          ^
u_search.h:33:17: note: 'point_search_right' declared here
   33 | void            point_search_right(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_convert.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_line.o d_line.c
d_line.c: In function 'line_drawing_selected':
d_line.c:58:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
   58 |     canvas_leftbut_proc = init_line_drawing;
      |                         ^
d_line.c:47:21: note: 'init_line_drawing' declared here
   47 | static void         init_line_drawing(int x, int y, int shift);
      |                     ^~~~~~~~~~~~~~~~~
d_line.c:59:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   59 |     canvas_middlebut_proc = init_line_freehand_drawing;
      |                           ^
d_line.c:48:21: note: 'init_line_freehand_drawing' declared here
   48 | static void         init_line_freehand_drawing(int x, int y);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
d_line.c:71:30: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   71 |         canvas_rightbut_proc = create_lineobject;
      |                              ^
In file included from d_line.c:19:
d_line.h:25:17: note: 'create_lineobject' declared here
   25 | extern void     create_lineobject(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~
d_line.c: In function 'init_trace_drawing':
d_line.c:124:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
  124 |     canvas_leftbut_proc = get_intermediatepoint;
      |                         ^
d_line.h:26:17: note: 'get_intermediatepoint' declared here
   26 | extern void     get_intermediatepoint(int x, int y, int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~~
d_line.c:126:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  126 |         canvas_locmove_proc = freehand_get_intermediatepoint;
      |                             ^
d_line.h:27:17: note: 'freehand_get_intermediatepoint' declared here
   27 | extern void     freehand_get_intermediatepoint(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d_line.c:130:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  130 |             canvas_leftbut_proc = create_lineobject;
      |                                 ^
d_line.h:25:17: note: 'create_lineobject' declared here
   25 | extern void     create_lineobject(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~
d_line.c:132:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  132 |             canvas_locmove_proc = latex_line;
      |                                 ^
In file included from d_line.c:30:
u_elastic.h:78:17: note: 'latex_line' declared here
   78 | extern void     latex_line(int x, int y);
      |                 ^~~~~~~~~~
d_line.c:134:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  134 |             canvas_locmove_proc = constrainedangle_line;
      |                                 ^
u_elastic.h:79:17: note: 'constrainedangle_line' declared here
   79 | extern void     constrainedangle_line(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~
d_line.c:136:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  136 |             canvas_locmove_proc = unconstrained_line;
      |                                 ^
u_elastic.h:77:17: note: 'unconstrained_line' declared here
   77 | extern void     unconstrained_line(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~
d_line.c:139:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  139 |     canvas_middlebut_save = create_lineobject;
      |                           ^
d_line.h:25:17: note: 'create_lineobject' declared here
   25 | extern void     create_lineobject(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~
d_line.c: In function 'get_intermediatepoint':
d_line.c:186:10: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2
  186 |         (*canvas_locmove_proc) (x, y);
      |         ~^~~~~~~~~~~~~~~~~~~~~  ~
make[2]: *** [Makefile:883: d_line.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_subspline.o d_subspline.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_align.o e_align.c
e_align.c: In function 'align_selected':
e_align.c:75:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   75 |     init_searchproc_left(init_align);
      |                          ^~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_align.c:31:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_align.c:54:17: note: 'init_align' declared here
   54 | static void     init_align(F_line *p, int type, int x, int y, int px, int py);
      |                 ^~~~~~~~~~
e_align.c:76:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   76 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_align.c:77:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   77 |     canvas_middlebut_proc = init_align_canvas;
      |                           ^
e_align.c:55:17: note: 'init_align_canvas' declared here
   55 | static void     init_align_canvas(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_align.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_arrow.o e_arrow.c
e_arrow.c: In function 'arrow_head_selected':
e_arrow.c:56:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   56 |     init_searchproc_left(add_arrow_head);
      |                          ^~~~~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  F_point *, F_point *, int) {aka void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *, int)}
In file included from e_arrow.c:30:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  F_point *, F_point *, int)' {aka 'void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *, int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_arrow.c:37:17: note: 'add_arrow_head' declared here
   37 | static void     add_arrow_head(F_line *obj, int type, int x, int y,
      |                 ^~~~~~~~~~~~~~
e_arrow.c:57:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
   57 |     init_searchproc_middle(delete_arrow_head);
      |                            ^~~~~~~~~~~~~~~~~
      |                            |
      |                            void (*)(F_line *, int,  int,  int,  F_point *, F_point *, int) {aka void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *, int)}
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  F_point *, F_point *, int)' {aka 'void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *, int)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_arrow.c:39:17: note: 'delete_arrow_head' declared here
   39 | static void     delete_arrow_head(F_line *obj, int type, int x, int y,
      |                 ^~~~~~~~~~~~~~~~~
e_arrow.c:58:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   58 |     canvas_leftbut_proc = point_search_left;
      |                         ^
u_search.h:31:17: note: 'point_search_left' declared here
   31 | void            point_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~
e_arrow.c:59:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   59 |     canvas_middlebut_proc = point_search_middle;
      |                           ^
u_search.h:32:17: note: 'point_search_middle' declared here
   32 | void            point_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_arrow.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_deletept.o e_deletept.c
e_deletept.c: In function 'delete_point_selected':
e_deletept.c:51:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   51 |     init_searchproc_left(init_delete_point);
      |                          ^~~~~~~~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  F_point *, F_point *) {aka void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *)}
In file included from e_deletept.c:32:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  F_point *, F_point *)' {aka 'void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_deletept.c:40:17: note: 'init_delete_point' declared here
   40 | static void     init_delete_point(F_line *obj, int type, int x, int y,
      |                 ^~~~~~~~~~~~~~~~~
e_deletept.c:52:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   52 |     canvas_leftbut_proc = point_search_left;
      |                         ^
u_search.h:31:17: note: 'point_search_left' declared here
   31 | void            point_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_deletept.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_arc.o d_arc.c
d_arc.c: In function 'arc_drawing_selected':
d_arc.c:79:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   79 |     canvas_leftbut_proc = init_arc_drawing;
      |                         ^
d_arc.c:60:17: note: 'init_arc_drawing' declared here
   60 | static void     init_arc_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~
d_arc.c:80:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   80 |     canvas_middlebut_proc = init_arc_c_drawing;
      |                           ^
d_arc.c:62:17: note: 'init_arc_c_drawing' declared here
   62 | static void     init_arc_c_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~
d_arc.c: In function 'init_arc_drawing':
d_arc.c:108:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  108 |         canvas_locmove_proc = resizing_arc;
      |                             ^
d_arc.c:63:17: note: 'resizing_arc' declared here
   63 | static void     resizing_arc(int x, int y);
      |                 ^~~~~~~~~~~~
d_arc.c:118:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  118 |         canvas_locmove_proc = unconstrained_line;
      |                             ^
In file included from d_arc.c:36:
u_elastic.h:77:17: note: 'unconstrained_line' declared here
   77 | extern void     unconstrained_line(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~
d_arc.c:121:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  121 |     canvas_leftbut_proc = get_arcpoint;
      |                         ^
d_arc.c:59:17: note: 'get_arcpoint' declared here
   59 | static void     get_arcpoint(int x, int y);
      |                 ^~~~~~~~~~~~
d_arc.c: In function 'init_arc_c_drawing':
d_arc.c:132:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  132 |     canvas_locmove_proc = resizing_cbr;
      |                         ^
u_elastic.h:67:17: note: 'resizing_cbr' declared here
   67 | extern void     resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void);
      |                 ^~~~~~~~~~~~
d_arc.c: In function 'get_arcpoint':
d_arc.c:189:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  189 |         canvas_leftbut_proc = create_arcobject;
      |                             ^
d_arc.c:58:17: note: 'create_arcobject' declared here
   58 | static void     create_arcobject(int lx, int ly);
      |                 ^~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: d_arc.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_glue.o e_glue.c
e_glue.c: In function 'compound_selected':
e_glue.c:71:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   71 |     init_searchproc_left(tag_object);
      |                          ^~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_glue.c:34:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_glue.c:48:17: note: 'tag_object' declared here
   48 | static void     tag_object(F_line *p, int type, int x, int y, int px, int py);
      |                 ^~~~~~~~~~
e_glue.c:72:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   72 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_glue.c:73:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   73 |     canvas_middlebut_proc = init_tag_region;
      |                           ^
e_glue.c:46:17: note: 'init_tag_region' declared here
   46 | static void     init_tag_region(int x, int y);
      |                 ^~~~~~~~~~~~~~~
e_glue.c:74:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   74 |     canvas_rightbut_proc = create_compoundobject;
      |                          ^
e_glue.c:44:17: note: 'create_compoundobject' declared here
   44 | static void     create_compoundobject(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~
e_glue.c: In function 'init_tag_region':
e_glue.c:127:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  127 |     canvas_middlebut_proc = tag_region;
      |                           ^
e_glue.c:47:17: note: 'tag_region' declared here
   47 | static void     tag_region(int x, int y);
      |                 ^~~~~~~~~~
make[2]: *** [Makefile:883: e_glue.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_spline.o d_spline.c
d_spline.c: In function 'spline_drawing_selected':
d_spline.c:56:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   56 |     canvas_leftbut_proc = init_spline_drawing;
      |                         ^
d_spline.c:43:17: note: 'init_spline_drawing' declared here
   43 | static void     init_spline_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~
d_spline.c:57:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   57 |     canvas_middlebut_proc = init_spline_freehand_drawing;
      |                           ^
d_spline.c:45:17: note: 'init_spline_freehand_drawing' declared here
   45 | static void     init_spline_freehand_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
d_spline.c: In function 'init_spline_drawing2':
d_spline.c:83:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   83 |         canvas_middlebut_proc = create_splineobject;
      |                               ^
d_spline.c:44:17: note: 'create_splineobject' declared here
   44 | static void     create_splineobject(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~
d_spline.c:87:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   87 |         canvas_middlebut_save = create_splineobject;
      |                               ^
d_spline.c:44:17: note: 'create_splineobject' declared here
   44 | static void     create_splineobject(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: d_spline.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_chop.o e_chop.c
e_chop.c: In function 'chop_selected':
e_chop.c:96:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   96 |     canvas_leftbut_proc = object_search_left;           /* point search for axe */
      |                         ^
In file included from e_chop.c:38:
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_chop.c:97:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   97 |     canvas_middlebut_proc = object_search_middle;       /* object search for log */
      |                           ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_chop.c: At top level:
e_chop.c:110:1: error: conflicting types for 'select_axe_object'; have 'void(void *, int,  int,  int,  F_point *, F_point *)' {aka 'void(void *, int,  int,  int,  struct f_point *, struct f_point *)'}
  110 | select_axe_object(void *obj, int type, int x, int y, F_point *p, F_point * q)
      | ^~~~~~~~~~~~~~~~~
e_chop.c:47:13: note: previous declaration of 'select_axe_object' with type 'void(void)'
   47 | static void select_axe_object();
      |             ^~~~~~~~~~~~~~~~~
e_chop.c:134:1: error: conflicting types for 'clear_axe_objects'; have 'void(void *, int,  int,  int,  F_point *, F_point *)' {aka 'void(void *, int,  int,  int,  struct f_point *, struct f_point *)'}
  134 | clear_axe_objects(void *obj, int type, int x, int y, F_point *p, F_point * q)
      | ^~~~~~~~~~~~~~~~~
e_chop.c:49:13: note: previous declaration of 'clear_axe_objects' with type 'void(void)'
   49 | static void clear_axe_objects();
      |             ^~~~~~~~~~~~~~~~~
e_chop.c: In function 'point_sort_fcn':
e_chop.c:143:1: warning: old-style function definition [-Wold-style-definition]
  143 | point_sort_fcn(a, b)
      | ^~~~~~~~~~~~~~
e_chop.c: In function 'point_sort_reverse_fcn':
e_chop.c:152:1: warning: old-style function definition [-Wold-style-definition]
  152 | point_sort_reverse_fcn(a, b)
      | ^~~~~~~~~~~~~~~~~~~~~~
e_chop.c: At top level:
e_chop.c:829:1: error: conflicting types for 'select_log_object'; have 'void(void *, int,  int,  int,  F_point *, F_point *)' {aka 'void(void *, int,  int,  int,  struct f_point *, struct f_point *)'}
  829 | select_log_object(void *obj, int type, int x, int y, F_point *p, F_point *q)
      | ^~~~~~~~~~~~~~~~~
e_chop.c:48:13: note: previous declaration of 'select_log_object' with type 'void(void)'
   48 | static void select_log_object();
      |             ^~~~~~~~~~~~~~~~~
e_chop.c:47:13: warning: 'select_axe_object' used but never defined
   47 | static void select_axe_object();
      |             ^~~~~~~~~~~~~~~~~
e_chop.c:48:13: warning: 'select_log_object' used but never defined
   48 | static void select_log_object();
      |             ^~~~~~~~~~~~~~~~~
e_chop.c:49:13: warning: 'clear_axe_objects' used but never defined
   49 | static void clear_axe_objects();
      |             ^~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_chop.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_flip.o e_flip.c
e_flip.c: In function 'flip_selected':
e_flip.c:107:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  107 |     init_searchproc_left(init_flip);
      |                          ^~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_flip.c:30:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_flip.c:51:17: note: 'init_flip' declared here
   51 | static void     init_flip(F_line *p, int type, int x, int y, int px, int py);
      |                 ^~~~~~~~~
e_flip.c:108:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
  108 |     init_searchproc_middle(init_copynflip);
      |                            ^~~~~~~~~~~~~~
      |                            |
      |                            void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_flip.c:52:17: note: 'init_copynflip' declared here
   52 | static void     init_copynflip(F_line *p, int type, int x,int y, int px,int py);
      |                 ^~~~~~~~~~~~~~
e_flip.c:109:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  109 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_flip.c:110:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  110 |     canvas_middlebut_proc = object_search_middle;
      |                           ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_flip.c:111:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  111 |     canvas_rightbut_proc = set_unset_anchor;
      |                          ^
e_flip.c:53:17: note: 'set_unset_anchor' declared here
   53 | static void     set_unset_anchor(int x, int y);
      |                 ^~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_flip.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_ellipse.o d_ellipse.c
d_ellipse.c: In function 'circle_ellipse_byradius_drawing_selected':
d_ellipse.c:59:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   59 |     canvas_leftbut_proc = init_circlebyradius_drawing;
      |                         ^
d_ellipse.c:41:17: note: 'init_circlebyradius_drawing' declared here
   41 | static void     init_circlebyradius_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
d_ellipse.c:60:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   60 |     canvas_middlebut_proc = init_ellipsebyradius_drawing;
      |                           ^
d_ellipse.c:39:17: note: 'init_ellipsebyradius_drawing' declared here
   39 | static void     init_ellipsebyradius_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
d_ellipse.c: In function 'init_ellipsebyradius_drawing':
d_ellipse.c:77:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   77 |     canvas_locmove_proc = resizing_ebr;
      |                         ^
In file included from d_ellipse.c:28:
u_elastic.h:68:17: note: 'resizing_ebr' declared here
   68 | extern void     resizing_ebr(int x, int y), elastic_ebr(void), resizing_ebd(int x, int y), elastic_ebd(void);
      |                 ^~~~~~~~~~~~
d_ellipse.c:78:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   78 |     canvas_leftbut_proc = create_ellipsebyrad;
      |                         ^
d_ellipse.c:44:17: note: 'create_ellipsebyrad' declared here
   44 | static void     create_ellipsebyrad(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~
d_ellipse.c:79:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   79 |     canvas_middlebut_proc = create_ellipsebyrad;
      |                           ^
d_ellipse.c:44:17: note: 'create_ellipsebyrad' declared here
   44 | static void     create_ellipsebyrad(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~
d_ellipse.c: In function 'circle_ellipse_bydiameter_drawing_selected':
d_ellipse.c:138:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  138 |     canvas_leftbut_proc = init_circlebydiameter_drawing;
      |                         ^
d_ellipse.c:42:17: note: 'init_circlebydiameter_drawing' declared here
   42 | static void     init_circlebydiameter_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d_ellipse.c:139:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  139 |     canvas_middlebut_proc = init_ellipsebydiameter_drawing;
      |                           ^
d_ellipse.c:40:17: note: 'init_ellipsebydiameter_drawing' declared here
   40 | static void     init_ellipsebydiameter_drawing(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d_ellipse.c: In function 'init_ellipsebydiameter_drawing':
d_ellipse.c:155:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  155 |     canvas_locmove_proc = resizing_ebd;
      |                         ^
u_elastic.h:68:64: note: 'resizing_ebd' declared here
   68 | extern void     resizing_ebr(int x, int y), elastic_ebr(void), resizing_ebd(int x, int y), elastic_ebd(void);
      |                                                                ^~~~~~~~~~~~
d_ellipse.c:156:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  156 |     canvas_leftbut_proc = create_ellipsebydia;
      |                         ^
d_ellipse.c:43:17: note: 'create_ellipsebydia' declared here
   43 | static void     create_ellipsebydia(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~
d_ellipse.c:157:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  157 |     canvas_middlebut_proc = create_ellipsebydia;
      |                           ^
d_ellipse.c:43:17: note: 'create_ellipsebydia' declared here
   43 | static void     create_ellipsebydia(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~
d_ellipse.c: In function 'init_circlebyradius_drawing':
d_ellipse.c:222:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  222 |     canvas_locmove_proc = resizing_cbr;
      |                         ^
u_elastic.h:67:17: note: 'resizing_cbr' declared here
   67 | extern void     resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void);
      |                 ^~~~~~~~~~~~
d_ellipse.c:223:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  223 |     canvas_leftbut_proc = create_circlebyrad;
      |                         ^
d_ellipse.c:45:17: note: 'create_circlebyrad' declared here
   45 | static void     create_circlebyrad(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~
d_ellipse.c: In function 'init_circlebydiameter_drawing':
d_ellipse.c:289:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  289 |     canvas_locmove_proc = resizing_cbd;
      |                         ^
u_elastic.h:67:64: note: 'resizing_cbd' declared here
   67 | extern void     resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void);
      |                                                                ^~~~~~~~~~~~
d_ellipse.c:290:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  290 |     canvas_leftbut_proc = create_circlebydia;
      |                         ^
d_ellipse.c:46:17: note: 'create_circlebydia' declared here
   46 | static void     create_circlebydia(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: d_ellipse.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_measure.o e_measure.c
e_measure.c: In function 'anglemeas_selected':
e_measure.c:95:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
   95 |     init_searchproc_middle(init_anglemeas_object_m);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            void (*)(char *, int,  int,  int,  F_point *, F_point *) {aka void (*)(char *, int,  int,  int,  struct f_point *, struct f_point *)}
In file included from e_measure.c:31:
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(char *, int,  int,  int,  F_point *, F_point *)' {aka 'void (*)(char *, int,  int,  int,  struct f_point *, struct f_point *)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_measure.c:44:13: note: 'init_anglemeas_object_m' declared here
   44 | static void init_anglemeas_object_m(char *p, int type, int x, int y, F_point *pp, F_point *pq);
      |             ^~~~~~~~~~~~~~~~~~~~~~~
e_measure.c:96:27: error: passing argument 1 of 'init_searchproc_right' from incompatible pointer type [-Wincompatible-pointer-types]
   96 |     init_searchproc_right(init_anglemeas_object_r);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
      |                           |
      |                           void (*)(char *, int,  int,  int,  F_point *, F_point *) {aka void (*)(char *, int,  int,  int,  struct f_point *, struct f_point *)}
u_search.h:29:46: note: expected 'void (*)(void)' but argument is of type 'void (*)(char *, int,  int,  int,  F_point *, F_point *)' {aka 'void (*)(char *, int,  int,  int,  struct f_point *, struct f_point *)'}
   29 | void            init_searchproc_right(void (*handlerproc) (/* ??? */));
      |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_measure.c:45:13: note: 'init_anglemeas_object_r' declared here
   45 | static void init_anglemeas_object_r(char *p, int type, int x, int y, F_point *pp, F_point *pq);
      |             ^~~~~~~~~~~~~~~~~~~~~~~
e_measure.c:97:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   97 |     canvas_leftbut_proc = init_anglemeas_threepoints;
      |                         ^
e_measure.c:46:13: note: 'init_anglemeas_threepoints' declared here
   46 | static void init_anglemeas_threepoints(int px, int py);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
e_measure.c:98:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   98 |     canvas_middlebut_proc = point_search_middle;
      |                           ^
u_search.h:32:17: note: 'point_search_middle' declared here
   32 | void            point_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~
e_measure.c:99:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   99 |     canvas_rightbut_proc = point_search_right;
      |                          ^
u_search.h:33:17: note: 'point_search_right' declared here
   33 | void            point_search_right(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_measure.c: In function 'init_anglemeas_threepoints':
e_measure.c:202:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  202 |     canvas_locmove_proc = freehand_line_nomsg;
      |                         ^
e_measure.c:68:13: note: 'freehand_line_nomsg' declared here
   68 | static void freehand_line_nomsg(int x, int y);
      |             ^~~~~~~~~~~~~~~~~~~
e_measure.c:204:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  204 |     canvas_leftbut_proc = anglemeas_second;
      |                         ^
e_measure.c:48:13: note: 'anglemeas_second' declared here
   48 | static void anglemeas_second(int x, int y);
      |             ^~~~~~~~~~~~~~~~
e_measure.c: In function 'anglemeas_second':
e_measure.c:221:28: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  221 |        canvas_leftbut_proc = anglemeas_third_l;
      |                            ^
e_measure.c:50:13: note: 'anglemeas_third_l' declared here
   50 | static void anglemeas_third_l(int x, int y);
      |             ^~~~~~~~~~~~~~~~~
e_measure.c:222:30: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  222 |        canvas_middlebut_proc = anglemeas_third_m;
      |                              ^
e_measure.c:51:13: note: 'anglemeas_third_m' declared here
   51 | static void anglemeas_third_m(int x, int y);
      |             ^~~~~~~~~~~~~~~~~
e_measure.c: In function 'lenmeas_selected':
e_measure.c:308:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  308 |     init_searchproc_left(init_lenmeas_object_l);
      |                          ^~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          void (*)(char *, int,  int,  int,  int,  int)
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(char *, int,  int,  int,  int,  int)'
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_measure.c:59:13: note: 'init_lenmeas_object_l' declared here
   59 | static void init_lenmeas_object_l(char *p, int type, int x, int y, int px, int py);
      |             ^~~~~~~~~~~~~~~~~~~~~
e_measure.c:309:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
  309 |     init_searchproc_middle(init_lenmeas_object_m);
      |                            ^~~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            void (*)(char *, int,  int,  int,  int,  int)
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(char *, int,  int,  int,  int,  int)'
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_measure.c:60:13: note: 'init_lenmeas_object_m' declared here
   60 | static void init_lenmeas_object_m(char *p, int type, int x, int y, int px, int py);
      |             ^~~~~~~~~~~~~~~~~~~~~
e_measure.c:310:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  310 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_measure.c:311:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  311 |     canvas_middlebut_proc = object_search_middle;
      |                           ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_measure.c: In function 'areameas_selected':
e_measure.c:416:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  416 |     init_searchproc_left(init_areameas_object_l);
      |                          ^~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          void (*)(char *, int,  int,  int,  int,  int)
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(char *, int,  int,  int,  int,  int)'
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_measure.c:64:13: note: 'init_areameas_object_l' declared here
   64 | static void init_areameas_object_l(char *p, int type, int x, int y, int px, int py);
      |             ^~~~~~~~~~~~~~~~~~~~~~
e_measure.c:417:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
  417 |     init_searchproc_middle(init_areameas_object_m);
      |                            ^~~~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            void (*)(char *, int,  int,  int,  int,  int)
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(char *, int,  int,  int,  int,  int)'
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_measure.c:65:13: note: 'init_areameas_object_m' declared here
   65 | static void init_areameas_object_m(char *p, int type, int x, int y, int px, int py);
      |             ^~~~~~~~~~~~~~~~~~~~~~
e_measure.c:418:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  418 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_measure.c:419:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  419 |     canvas_middlebut_proc = object_search_middle;
      |                           ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_measure.c:420:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
  420 |     canvas_rightbut_proc = clear_areameas_memory;
      |                          ^
e_measure.c:66:13: note: 'clear_areameas_memory' declared here
   66 | static void clear_areameas_memory(int x, int y, int arg);
      |             ^~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_measure.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_rotate.o e_rotate.c
e_rotate.c: In function 'rotate_selected':
e_rotate.c:116:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  116 |     init_searchproc_left(init_rotate);
      |                          ^~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_rotate.c:38:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_rotate.c:58:17: note: 'init_rotate' declared here
   58 | static void     init_rotate(F_line *p, int type, int x, int y, int px, int py);
      |                 ^~~~~~~~~~~
e_rotate.c:117:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
  117 |     init_searchproc_middle(init_copynrotate);
      |                            ^~~~~~~~~~~~~~~~
      |                            |
      |                            void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_rotate.c:60:17: note: 'init_copynrotate' declared here
   60 | static void     init_copynrotate(F_line *p, int type, int x,int y,int px,int py);
      |                 ^~~~~~~~~~~~~~~~
e_rotate.c:118:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  118 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_rotate.c:119:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  119 |     canvas_middlebut_proc = object_search_middle;
      |                           ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_rotate.c:120:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  120 |     canvas_rightbut_proc = set_unset_center;
      |                          ^
e_rotate.c:59:17: note: 'set_unset_center' declared here
   59 | static void     set_unset_center(int x, int y);
      |                 ^~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_rotate.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_joinsplit.o e_joinsplit.c
e_joinsplit.c: In function 'join_split_selected':
e_joinsplit.c:79:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   79 |     init_searchproc_left(init_join);
      |                          ^~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  F_point *, F_point *) {aka void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *)}
In file included from e_joinsplit.c:35:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  F_point *, F_point *)' {aka 'void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_joinsplit.c:44:17: note: 'init_join' declared here
   44 | static void     init_join(F_line *obj, int type, int x, int y, F_point *p,
      |                 ^~~~~~~~~
e_joinsplit.c:80:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
   80 |     init_searchproc_middle(init_split);
      |                            ^~~~~~~~~~
      |                            |
      |                            void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_joinsplit.c:46:17: note: 'init_split' declared here
   46 | static void     init_split(F_line *obj, int type, int x, int y, int px, int py);
      |                 ^~~~~~~~~~
e_joinsplit.c:81:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   81 |     canvas_leftbut_proc = point_search_left;            /* point search for join */
      |                         ^
u_search.h:31:17: note: 'point_search_left' declared here
   31 | void            point_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~
e_joinsplit.c:82:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   82 |     canvas_middlebut_proc = object_search_middle;       /* object search for split */
      |                           ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_joinsplit.c: In function 'join_lines':
e_joinsplit.c:151:30: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  151 |         init_searchproc_left(join_line2);
      |                              ^~~~~~~~~~
      |                              |
      |                              void (*)(F_line *, int,  int,  int,  F_point *, F_point *) {aka void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *)}
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  F_point *, F_point *)' {aka 'void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_joinsplit.c:54:17: note: 'join_line2' declared here
   54 | static void     join_line2(F_line *obj, int type, int x, int y, F_point *p,
      |                 ^~~~~~~~~~
e_joinsplit.c:152:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  152 |         canvas_leftbut_proc = point_search_left;
      |                             ^
u_search.h:31:17: note: 'point_search_left' declared here
   31 | void            point_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~
e_joinsplit.c: In function 'join_splines':
e_joinsplit.c:177:30: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  177 |         init_searchproc_left(join_spline2);
      |                              ^~~~~~~~~~~~
      |                              |
      |                              void (*)(F_line *, int,  int,  int,  F_point *, F_point *) {aka void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *)}
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  F_point *, F_point *)' {aka 'void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_joinsplit.c:56:17: note: 'join_spline2' declared here
   56 | static void     join_spline2(F_line *obj, int type, int x, int y, F_point *p,
      |                 ^~~~~~~~~~~~
e_joinsplit.c:178:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  178 |         canvas_leftbut_proc = point_search_left;
      |                             ^
u_search.h:31:17: note: 'point_search_left' declared here
   31 | void            point_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_joinsplit.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_tangent.o e_tangent.c
e_tangent.c: In function 'tangent_selected':
e_tangent.c:55:32: error: passing argument 1 of 'init_smart_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   55 |     init_smart_searchproc_left(init_tangent_adding);
      |                                ^~~~~~~~~~~~~~~~~~~
      |                                |
      |                                void (*)(char *, int,  int,  int,  int,  int)
In file included from e_tangent.c:30:
u_smartsearch.h:26:51: note: expected 'void (*)(void)' but argument is of type 'void (*)(char *, int,  int,  int,  int,  int)'
   26 | void            init_smart_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                            ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_tangent.c:40:17: note: 'init_tangent_adding' declared here
   40 | static void     init_tangent_adding(char *p, int type, int x, int y,
      |                 ^~~~~~~~~~~~~~~~~~~
e_tangent.c:56:34: error: passing argument 1 of 'init_smart_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
   56 |     init_smart_searchproc_middle(init_normal_adding);
      |                                  ^~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  void (*)(char *, int,  int,  int,  int,  int)
u_smartsearch.h:27:53: note: expected 'void (*)(void)' but argument is of type 'void (*)(char *, int,  int,  int,  int,  int)'
   27 | void            init_smart_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_tangent.c:42:17: note: 'init_normal_adding' declared here
   42 | static void     init_normal_adding(char *p, int type, int x, int y,
      |                 ^~~~~~~~~~~~~~~~~~
e_tangent.c:57:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   57 |     canvas_leftbut_proc = smart_object_search_left;
      |                         ^
u_smartsearch.h:30:17: note: 'smart_object_search_left' declared here
   30 | void            smart_object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
e_tangent.c:58:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   58 |     canvas_middlebut_proc = smart_object_search_middle;
      |                           ^
u_smartsearch.h:31:17: note: 'smart_object_search_middle' declared here
   31 | void            smart_object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_tangent.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_scale.o e_scale.c
e_scale.c: In function 'scale_selected':
e_scale.c:112:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  112 |     init_searchproc_left(init_box_scale);
      |                          ^~~~~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_scale.c:51:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_scale.c:75:17: note: 'init_box_scale' declared here
   75 | static void     init_box_scale(F_line *obj, int type, int x,int y,int px,int py);
      |                 ^~~~~~~~~~~~~~
e_scale.c:113:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
  113 |     init_searchproc_middle(init_center_scale);
      |                            ^~~~~~~~~~~~~~~~~
      |                            |
      |                            void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_scale.c:77:17: note: 'init_center_scale' declared here
   77 | static void     init_center_scale(F_line *obj, int type, int x, int y,
      |                 ^~~~~~~~~~~~~~~~~
e_scale.c:114:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  114 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_scale.c:115:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  115 |     canvas_middlebut_proc = object_search_middle;
      |                           ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_scale.c: In function 'init_boxscale_ellipse':
e_scale.c:258:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  258 |         canvas_locmove_proc = constrained_resizing_cbd;
      |                             ^
In file included from e_scale.c:45:
u_elastic.h:70:17: note: 'constrained_resizing_cbd' declared here
   70 | extern void     constrained_resizing_cbd(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
e_scale.c:262:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  262 |         canvas_locmove_proc = constrained_resizing_ebd;
      |                             ^
u_elastic.h:69:57: note: 'constrained_resizing_ebd' declared here
   69 | extern void     constrained_resizing_ebr(int x, int y), constrained_resizing_ebd(int x, int y);
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~
e_scale.c:266:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  266 |     canvas_leftbut_proc = fix_boxscale_ellipse;
      |                         ^
e_scale.c:88:17: note: 'fix_boxscale_ellipse' declared here
   88 | static void     fix_boxscale_ellipse(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_scale.c: In function 'init_scale_ellipse':
e_scale.c:362:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  362 |     canvas_locmove_proc = scaling_ellipse;
      |                         ^
u_elastic.h:74:17: note: 'scaling_ellipse' declared here
   74 | extern void     scaling_ellipse(int x, int y);
      |                 ^~~~~~~~~~~~~~~
e_scale.c:365:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  365 |     canvas_middlebut_proc = fix_scale_ellipse;
      |                           ^
e_scale.c:87:17: note: 'fix_scale_ellipse' declared here
   87 | static void     fix_scale_ellipse(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~
e_scale.c: In function 'init_scale_arc':
e_scale.c:441:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  441 |     canvas_locmove_proc = scaling_arc;
      |                         ^
u_elastic.h:98:17: note: 'scaling_arc' declared here
   98 | extern void     scaling_arc(int x, int y);
      |                 ^~~~~~~~~~~
e_scale.c:443:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  443 |     canvas_middlebut_proc = fix_scale_arc;
      |                           ^
e_scale.c:84:17: note: 'fix_scale_arc' declared here
   84 | static void     fix_scale_arc(int x, int y);
      |                 ^~~~~~~~~~~~~
e_scale.c: In function 'init_scale_spline':
e_scale.c:556:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  556 |     canvas_locmove_proc = scaling_spline;
      |                         ^
u_elastic.h:108:17: note: 'scaling_spline' declared here
  108 | extern void     scaling_spline(int x, int y);
      |                 ^~~~~~~~~~~~~~
e_scale.c:558:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  558 |     canvas_middlebut_proc = fix_scale_spline;
      |                           ^
e_scale.c:85:17: note: 'fix_scale_spline' declared here
   85 | static void     fix_scale_spline(int x, int y);
      |                 ^~~~~~~~~~~~~~~~
e_scale.c: In function 'init_boxscale_compound':
e_scale.c:675:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  675 |     canvas_locmove_proc = constrained_resizing_scale_box;
      |                         ^
u_elastic.h:58:17: note: 'constrained_resizing_scale_box' declared here
   58 | extern void     constrained_resizing_scale_box(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
e_scale.c:677:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  677 |     canvas_leftbut_proc = fix_boxscale_compound;
      |                         ^
e_scale.c:91:17: note: 'fix_boxscale_compound' declared here
   91 | static void     fix_boxscale_compound(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~
e_scale.c: In function 'init_scale_compound':
e_scale.c:723:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  723 |     canvas_locmove_proc = scaling_compound;
      |                         ^
u_elastic.h:63:17: note: 'scaling_compound' declared here
   63 | extern void     scaling_compound(int x, int y);
      |                 ^~~~~~~~~~~~~~~~
e_scale.c:725:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  725 |     canvas_middlebut_proc = fix_scale_compound;
      |                           ^
e_scale.c:90:17: note: 'fix_scale_compound' declared here
   90 | static void     fix_scale_compound(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~
e_scale.c: In function 'init_boxscale_line':
e_scale.c:1244:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1244 |     canvas_locmove_proc = constrained_resizing_box;
      |                         ^
u_elastic.h:57:17: note: 'constrained_resizing_box' declared here
   57 | extern void     constrained_resizing_box(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
e_scale.c:1246:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1246 |     canvas_leftbut_proc = fix_boxscale_line;
      |                         ^
e_scale.c:89:17: note: 'fix_boxscale_line' declared here
   89 | static void     fix_boxscale_line(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~
e_scale.c: In function 'init_scale_line':
e_scale.c:1342:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1342 |     canvas_locmove_proc = scaling_line;
      |                         ^
u_elastic.h:89:17: note: 'scaling_line' declared here
   89 | extern void     scaling_line(int x, int y);
      |                 ^~~~~~~~~~~~
e_scale.c:1343:21: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1343 |     canvas_ref_proc = elastic_scale_curline;
      |                     ^
u_elastic.h:90:17: note: 'elastic_scale_curline' declared here
   90 | extern void     elastic_scale_curline(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~
e_scale.c:1344:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
 1344 |     canvas_middlebut_proc = fix_scale_line;
      |                           ^
e_scale.c:86:17: note: 'fix_scale_line' declared here
   86 | static void     fix_scale_line(int x, int y);
      |                 ^~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_scale.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_addpt.o e_addpt.c
e_addpt.c: In function 'point_adding_selected':
e_addpt.c:56:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   56 |     init_searchproc_left(init_point_adding);
      |                          ^~~~~~~~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_addpt.c:32:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_addpt.c:41:17: note: 'init_point_adding' declared here
   41 | static void     init_point_adding(F_line *p, int type, int x, int y, int px, int py);
      |                 ^~~~~~~~~~~~~~~~~
e_addpt.c:57:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   57 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_addpt.c: In function 'init_point_adding':
e_addpt.c:96:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   96 |             canvas_locmove_proc = latex_line;
      |                                 ^
In file included from e_addpt.c:27:
u_elastic.h:78:17: note: 'latex_line' declared here
   78 | extern void     latex_line(int x, int y);
      |                 ^~~~~~~~~~
e_addpt.c:101:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  101 |             canvas_locmove_proc = constrainedangle_line;
      |                                 ^
u_elastic.h:79:17: note: 'constrainedangle_line' declared here
   79 | extern void     constrainedangle_line(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~
e_addpt.c:108:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  108 |     canvas_locmove_proc = reshaping_line;
      |                         ^
u_elastic.h:85:17: note: 'reshaping_line' declared here
   85 | extern void     reshaping_line(int x, int y);
      |                 ^~~~~~~~~~~~~~
e_addpt.c: In function 'init_splinepointadding':
e_addpt.c:160:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  160 |     canvas_leftbut_proc = fix_splinepoint_adding;
      |                         ^
e_addpt.c:43:17: note: 'fix_splinepoint_adding' declared here
   43 | static void     fix_splinepoint_adding(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
e_addpt.c: In function 'fix_splinepoint_adding':
e_addpt.c:179:6: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2
  179 |     (*canvas_locmove_proc) (x, y);
      |     ~^~~~~~~~~~~~~~~~~~~~~  ~
e_addpt.c: In function 'init_linepointadding':
e_addpt.c:275:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  275 |     canvas_leftbut_proc = fix_linepoint_adding;
      |                         ^
e_addpt.c:42:17: note: 'fix_linepoint_adding' declared here
   42 | static void     fix_linepoint_adding(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_addpt.c: In function 'fix_linepoint_adding':
e_addpt.c:294:6: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2
  294 |     (*canvas_locmove_proc) (x, y);
      |     ~^~~~~~~~~~~~~~~~~~~~~  ~
make[2]: *** [Makefile:883: e_addpt.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_compound.o e_compound.c
e_compound.c: In function 'open_compound_selected':
e_compound.c:132:24: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  132 |   init_searchproc_left(init_open_compound);
      |                        ^~~~~~~~~~~~~~~~~~
      |                        |
      |                        void (*)(F_compound *, int,  int,  int,  int,  int) {aka void (*)(struct f_compound *, int,  int,  int,  int,  int)}
In file included from e_compound.c:48:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_compound *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_compound *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_compound.c:69:1: note: 'init_open_compound' declared here
   69 | init_open_compound(F_compound *c, int type, int x, int y, int px, int py)
      | ^~~~~~~~~~~~~~~~~~
e_compound.c:133:26: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
  133 |   init_searchproc_middle(init_open_compound_vis);
      |                          ^~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          void (*)(F_compound *, int,  int,  int,  int,  int,  int) {aka void (*)(struct f_compound *, int,  int,  int,  int,  int,  int)}
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_compound *, int,  int,  int,  int,  int,  int)' {aka 'void (*)(struct f_compound *, int,  int,  int,  int,  int,  int)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_compound.c:82:1: note: 'init_open_compound_vis' declared here
   82 | init_open_compound_vis(F_compound *c, int type, int x, int y, int px, int py,
      | ^~~~~~~~~~~~~~~~~~~~~~
e_compound.c:134:23: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  134 |   canvas_leftbut_proc = object_search_left;
      |                       ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_compound.c:135:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  135 |   canvas_middlebut_proc = object_search_middle;
      |                         ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_compound.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_placelib.o e_placelib.c
e_placelib.c: In function 'put_selected':
e_placelib.c:90:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
   90 |         canvas_locmove_proc = init_move_object;
      |                             ^
e_placelib.c:59:17: note: 'init_move_object' declared here
   59 | static void     init_move_object(int x, int y);
      |                 ^~~~~~~~~~~~~~~~
e_placelib.c:92:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   92 |         canvas_leftbut_proc = place_lib_object;
      |                             ^
e_placelib.c:63:17: note: 'place_lib_object' declared here
   63 | static void     place_lib_object(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~
e_placelib.c:93:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
   93 |         canvas_middlebut_proc = sel_place_lib_obj_proc;
      |                               ^
e_placelib.c:65:17: note: 'sel_place_lib_obj_proc' declared here
   65 | static void     sel_place_lib_obj_proc(int x, int y, int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
e_placelib.c:94:30: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
   94 |         canvas_rightbut_proc = cancel_place_lib_obj;
      |                              ^
In file included from e_placelib.c:18:
e_placelib.h:23:17: note: 'cancel_place_lib_obj' declared here
   23 | extern void     cancel_place_lib_obj(int x, int y, int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_placelib.c: In function 'init_move_object':
e_placelib.c:308:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  308 |     canvas_locmove_proc = move_object;
      |                         ^
e_placelib.c:276:1: note: 'move_object' declared here
  276 | move_object(int x, int y)
      | ^~~~~~~~~~~
e_placelib.c:309:21: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  309 |     canvas_ref_proc = move_object;
      |                     ^
e_placelib.c:276:1: note: 'move_object' declared here
  276 | move_object(int x, int y)
      | ^~~~~~~~~~~
make[2]: *** [Makefile:883: e_placelib.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_movept.o e_movept.c
e_movept.c: In function 'move_point_selected':
e_movept.c:86:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
   86 |     init_searchproc_left(init_arb_move_point);
      |                          ^~~~~~~~~~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  F_point *, F_point *, int) {aka void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *, int)}
In file included from e_movept.c:29:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  F_point *, F_point *, int)' {aka 'void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *, int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_movept.c:64:17: note: 'init_arb_move_point' declared here
   64 | static void     init_arb_move_point(F_line *obj, int type, int x, int y, F_point *p, F_point *q, int pnum);
      |                 ^~~~~~~~~~~~~~~~~~~
e_movept.c:87:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
   87 |     init_searchproc_middle(init_stretch_move_point);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            void (*)(F_line *, int,  int,  int,  F_point *, F_point *, int) {aka void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *, int)}
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  F_point *, F_point *, int)' {aka 'void (*)(struct f_line *, int,  int,  int,  struct f_point *, struct f_point *, int)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_movept.c:65:17: note: 'init_stretch_move_point' declared here
   65 | static void     init_stretch_move_point(F_line *obj, int type, int x, int y, F_point *p, F_point *q, int pnum);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
e_movept.c:88:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   88 |     canvas_leftbut_proc = point_search_left;
      |                         ^
u_search.h:31:17: note: 'point_search_left' declared here
   31 | void            point_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~
e_movept.c:89:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
   89 |     canvas_middlebut_proc = point_search_middle;
      |                           ^
u_search.h:32:17: note: 'point_search_middle' declared here
   32 | void            point_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~
e_movept.c: In function 'init_ellipsepointmoving':
e_movept.c:219:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  219 |         canvas_locmove_proc = constrained_resizing_ebr;
      |                             ^
In file included from e_movept.c:32:
u_elastic.h:69:17: note: 'constrained_resizing_ebr' declared here
   69 | extern void     constrained_resizing_ebr(int x, int y), constrained_resizing_ebd(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
e_movept.c:223:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  223 |         canvas_locmove_proc = resizing_cbr;
      |                             ^
u_elastic.h:67:17: note: 'resizing_cbr' declared here
   67 | extern void     resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void);
      |                 ^~~~~~~~~~~~
e_movept.c:227:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  227 |         canvas_locmove_proc = constrained_resizing_ebd;
      |                             ^
u_elastic.h:69:57: note: 'constrained_resizing_ebd' declared here
   69 | extern void     constrained_resizing_ebr(int x, int y), constrained_resizing_ebd(int x, int y);
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~
e_movept.c:231:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  231 |         canvas_locmove_proc = resizing_cbd;
      |                             ^
u_elastic.h:67:64: note: 'resizing_cbd' declared here
   67 | extern void     resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void);
      |                                                                ^~~~~~~~~~~~
e_movept.c:236:5: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2
  236 |     (canvas_locmove_proc)(cur_x, cur_y);
      |     ^                     ~~~~~
e_movept.c:240:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  240 |     canvas_leftbut_proc = fix_movedellipsepoint;
      |                         ^
e_movept.c:68:17: note: 'fix_movedellipsepoint' declared here
   68 | static void     fix_movedellipsepoint(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~
e_movept.c: In function 'init_arcpointmoving':
e_movept.c:366:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  366 |     canvas_locmove_proc = reshaping_arc;
      |                         ^
u_elastic.h:96:17: note: 'reshaping_arc' declared here
   96 | extern void     reshaping_arc(int x, int y);
      |                 ^~~~~~~~~~~~~
e_movept.c:368:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  368 |     canvas_leftbut_proc = fix_movedarcpoint;
      |                         ^
e_movept.c:67:17: note: 'fix_movedarcpoint' declared here
   67 | static void     fix_movedarcpoint(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~
e_movept.c:372:5: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2
  372 |     (canvas_locmove_proc)(cur_x, cur_y);
      |     ^                     ~~~~~
e_movept.c: In function 'init_splinepointmoving':
e_movept.c:450:37: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  450 |                 canvas_locmove_proc = latex_line;
      |                                     ^
u_elastic.h:78:17: note: 'latex_line' declared here
   78 | extern void     latex_line(int x, int y);
      |                 ^~~~~~~~~~
e_movept.c:454:37: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  454 |                 canvas_locmove_proc = constrainedangle_line;
      |                                     ^
u_elastic.h:79:17: note: 'constrainedangle_line' declared here
   79 | extern void     constrainedangle_line(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~
e_movept.c:458:37: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  458 |                 canvas_locmove_proc = reshaping_line;
      |                                     ^
u_elastic.h:85:17: note: 'reshaping_line' declared here
   85 | extern void     reshaping_line(int x, int y);
      |                 ^~~~~~~~~~~~~~
e_movept.c:464:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  464 |             canvas_locmove_proc = reshaping_line;
      |                                 ^
u_elastic.h:85:17: note: 'reshaping_line' declared here
   85 | extern void     reshaping_line(int x, int y);
      |                 ^~~~~~~~~~~~~~
e_movept.c:470:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  470 |         canvas_locmove_proc = reshaping_line;
      |                             ^
u_elastic.h:85:17: note: 'reshaping_line' declared here
   85 | extern void     reshaping_line(int x, int y);
      |                 ^~~~~~~~~~~~~~
e_movept.c:482:5: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2
  482 |     (canvas_locmove_proc)(cur_x, cur_y);
      |     ^                     ~~~~~
e_movept.c:484:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  484 |     canvas_leftbut_proc = fix_movedsplinepoint;
      |                         ^
e_movept.c:69:17: note: 'fix_movedsplinepoint' declared here
   69 | static void     fix_movedsplinepoint(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_movept.c: In function 'fix_movedsplinepoint':
e_movept.c:503:6: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2
  503 |     (*canvas_locmove_proc) (x, y);
      |     ~^~~~~~~~~~~~~~~~~~~~~  ~
e_movept.c: In function 'init_compoundpointmoving':
e_movept.c:573:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  573 |     canvas_locmove_proc = constrained_resizing_scale_box;
      |                         ^
u_elastic.h:58:17: note: 'constrained_resizing_scale_box' declared here
   58 | extern void     constrained_resizing_scale_box(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
e_movept.c:575:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  575 |     canvas_leftbut_proc = fix_movedcompoundpoint;
      |                         ^
e_movept.c:49:17: note: 'fix_movedcompoundpoint' declared here
   49 | static void     fix_movedcompoundpoint(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
e_movept.c:578:5: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2
  578 |     (canvas_locmove_proc)(cur_x, cur_y);
      |     ^                     ~~~~~
e_movept.c: In function 'init_linepointmoving':
e_movept.c:649:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  649 |         canvas_locmove_proc = reshaping_line;
      |                             ^
u_elastic.h:85:17: note: 'reshaping_line' declared here
   85 | extern void     reshaping_line(int x, int y);
      |                 ^~~~~~~~~~~~~~
e_movept.c:676:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  676 |         canvas_locmove_proc = constrained_resizing_box;
      |                             ^
u_elastic.h:57:17: note: 'constrained_resizing_box' declared here
   57 | extern void     constrained_resizing_box(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
e_movept.c:678:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  678 |         canvas_leftbut_proc = fix_box;
      |                             ^
e_movept.c:70:17: note: 'fix_box' declared here
   70 | static void     fix_box(int x, int y);
      |                 ^~~~~~~
e_movept.c:681:9: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2
  681 |         (canvas_locmove_proc)(cur_x, cur_y);
      |         ^                     ~~~~~
e_movept.c:694:37: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  694 |                 canvas_locmove_proc = latex_line;
      |                                     ^
u_elastic.h:78:17: note: 'latex_line' declared here
   78 | extern void     latex_line(int x, int y);
      |                 ^~~~~~~~~~
e_movept.c:698:37: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  698 |                 canvas_locmove_proc = constrainedangle_line;
      |                                     ^
u_elastic.h:79:17: note: 'constrainedangle_line' declared here
   79 | extern void     constrainedangle_line(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~~~
e_movept.c:702:37: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  702 |                 canvas_locmove_proc = reshaping_line;
      |                                     ^
u_elastic.h:85:17: note: 'reshaping_line' declared here
   85 | extern void     reshaping_line(int x, int y);
      |                 ^~~~~~~~~~~~~~
e_movept.c:708:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  708 |             canvas_locmove_proc = reshaping_line;
      |                                 ^
u_elastic.h:85:17: note: 'reshaping_line' declared here
   85 | extern void     reshaping_line(int x, int y);
      |                 ^~~~~~~~~~~~~~
e_movept.c:713:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  713 |     canvas_leftbut_proc = fix_movedlinepoint;
      |                         ^
e_movept.c:71:17: note: 'fix_movedlinepoint' declared here
   71 | static void     fix_movedlinepoint(int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~
e_movept.c:716:5: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2
  716 |     (canvas_locmove_proc)(cur_x, cur_y);
      |     ^                     ~~~~~
e_movept.c: In function 'fix_movedlinepoint':
e_movept.c:810:6: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2
  810 |     (*canvas_locmove_proc) (x, y);
      |     ~^~~~~~~~~~~~~~~~~~~~~  ~
make[2]: *** [Makefile:883: e_movept.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o f_picobj.o f_picobj.c
f_picobj.c:76:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(F_pic *, struct xfig_stream * restrict)' {aka 'int (*)(struct f_pic *, struct xfig_stream * restrict)'} [-Wincompatible-pointer-types]
   76 |         {"GIF",         "GIF",                                  read_gif},
      |                                                                 ^~~~~~~~
f_picobj.c:76:65: note: (near initialization for 'headers[0].readfunc')
f_picobj.c:52:17: note: 'read_gif' declared here
   52 | extern  int     read_gif(F_pic *pic, struct xfig_stream *restrict pic_stream);
      |                 ^~~~~~~~
f_picobj.c:77:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(F_pic *, struct xfig_stream * restrict)' {aka 'int (*)(struct f_pic *, struct xfig_stream * restrict)'} [-Wincompatible-pointer-types]
   77 |         {"PCX",         "\012\005\001",                         read_pcx},
      |                                                                 ^~~~~~~~
f_picobj.c:77:65: note: (near initialization for 'headers[1].readfunc')
In file included from f_picobj.c:43:
f_readpcx.h:29:17: note: 'read_pcx' declared here
   29 | extern int      read_pcx(F_pic *pic, struct xfig_stream *restrict pic_stream);
      |                 ^~~~~~~~
f_picobj.c:78:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(F_pic *, struct xfig_stream * restrict)' {aka 'int (*)(struct f_pic *, struct xfig_stream * restrict)'} [-Wincompatible-pointer-types]
   78 |         {"EPS",         "%!",                                   read_eps},
      |                                                                 ^~~~~~~~
f_picobj.c:78:65: note: (near initialization for 'headers[2].readfunc')
f_picobj.c:53:17: note: 'read_eps' declared here
   53 | extern  int     read_eps(F_pic *pic, struct xfig_stream *restrict pic_stream);
      |                 ^~~~~~~~
f_picobj.c:79:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(F_pic *, struct xfig_stream * restrict)' {aka 'int (*)(struct f_pic *, struct xfig_stream * restrict)'} [-Wincompatible-pointer-types]
   79 |         {"PDF",         "%PDF",                                 read_pdf},
      |                                                                 ^~~~~~~~
f_picobj.c:79:65: note: (near initialization for 'headers[3].readfunc')
f_picobj.c:54:17: note: 'read_pdf' declared here
   54 | extern  int     read_pdf(F_pic *pic, struct xfig_stream *restrict pic_stream);
      |                 ^~~~~~~~
f_picobj.c:80:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(F_pic *, struct xfig_stream * restrict)' {aka 'int (*)(struct f_pic *, struct xfig_stream * restrict)'} [-Wincompatible-pointer-types]
   80 |         {"PPM",         "P3",                                   read_ppm},
      |                                                                 ^~~~~~~~
f_picobj.c:80:65: note: (near initialization for 'headers[4].readfunc')
f_picobj.c:55:17: note: 'read_ppm' declared here
   55 | extern  int     read_ppm(F_pic *pic, struct xfig_stream *restrict pic_stream);
      |                 ^~~~~~~~
f_picobj.c:81:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(F_pic *, struct xfig_stream * restrict)' {aka 'int (*)(struct f_pic *, struct xfig_stream * restrict)'} [-Wincompatible-pointer-types]
   81 |         {"PPM",         "P6",                                   read_ppm},
      |                                                                 ^~~~~~~~
f_picobj.c:81:65: note: (near initialization for 'headers[5].readfunc')
f_picobj.c:55:17: note: 'read_ppm' declared here
   55 | extern  int     read_ppm(F_pic *pic, struct xfig_stream *restrict pic_stream);
      |                 ^~~~~~~~
f_picobj.c:86:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(F_pic *, struct xfig_stream * restrict)' {aka 'int (*)(struct f_pic *, struct xfig_stream * restrict)'} [-Wincompatible-pointer-types]
   86 |         {"XBM",         "#define",                              read_xbm},
      |                                                                 ^~~~~~~~
f_picobj.c:86:65: note: (near initialization for 'headers[6].readfunc')
f_picobj.c:59:17: note: 'read_xbm' declared here
   59 | extern  int     read_xbm(F_pic *pic, struct xfig_stream *restrict pic_stream);
      |                 ^~~~~~~~
f_picobj.c:88:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(F_pic *, struct xfig_stream * restrict)' {aka 'int (*)(struct f_pic *, struct xfig_stream * restrict)'} [-Wincompatible-pointer-types]
   88 |         {"JPEG",        "\377\330\377\340",                     read_jpg},
      |                                                                 ^~~~~~~~
f_picobj.c:88:65: note: (near initialization for 'headers[7].readfunc')
f_picobj.c:61:17: note: 'read_jpg' declared here
   61 | extern  int     read_jpg(F_pic *pic, struct xfig_stream *restrict pic_stream);
      |                 ^~~~~~~~
f_picobj.c:89:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(F_pic *, struct xfig_stream * restrict)' {aka 'int (*)(struct f_pic *, struct xfig_stream * restrict)'} [-Wincompatible-pointer-types]
   89 |         {"JPEG",        "\377\330\377\341",                     read_jpg},
      |                                                                 ^~~~~~~~
f_picobj.c:89:65: note: (near initialization for 'headers[8].readfunc')
f_picobj.c:61:17: note: 'read_jpg' declared here
   61 | extern  int     read_jpg(F_pic *pic, struct xfig_stream *restrict pic_stream);
      |                 ^~~~~~~~
f_picobj.c:92:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(F_pic *, struct xfig_stream * restrict)' {aka 'int (*)(struct f_pic *, struct xfig_stream * restrict)'} [-Wincompatible-pointer-types]
   92 |         {"PNG",         "\211\120\116\107\015\012\032\012",     read_png},
      |                                                                 ^~~~~~~~
f_picobj.c:92:65: note: (near initialization for 'headers[9].readfunc')
f_picobj.c:64:17: note: 'read_png' declared here
   64 | extern  int     read_png(F_pic *pic, struct xfig_stream *restrict pic_stream);
      |                 ^~~~~~~~
f_picobj.c:95:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(F_pic *, struct xfig_stream * restrict)' {aka 'int (*)(struct f_pic *, struct xfig_stream * restrict)'} [-Wincompatible-pointer-types]
   95 |         {"XPM",         "/* XPM */",                            read_xpm},
      |                                                                 ^~~~~~~~
f_picobj.c:95:65: note: (near initialization for 'headers[10].readfunc')
f_picobj.c:67:17: note: 'read_xpm' declared here
   67 | extern  int     read_xpm(F_pic *pic, struct xfig_stream *restrict pic_stream);
      |                 ^~~~~~~~
f_picobj.c: In function 'read_picobj':
f_picobj.c:427:13: error: too many arguments to function 'headers[i].readfunc'; expected 0, have 2
  427 |         if (headers[i].readfunc(pic, &pic_stream) != PicSuccess) {
      |             ^~~~~~~             ~~~
f_picobj.c:74:19: note: declared here
   74 |         int     (*readfunc)();
      |                   ^~~~~~~~
make[2]: *** [Makefile:883: f_picobj.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_update.o e_update.c
e_update.c: In function 'update_selected':
e_update.c:100:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  100 |     init_searchproc_left(init_update_object);
      |                          ^~~~~~~~~~~~~~~~~~
      |                          |
      |                          void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
In file included from e_update.c:46:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_update.c:59:17: note: 'init_update_object' declared here
   59 | static void     init_update_object(F_line *p, int type, int x, int y,
      |                 ^~~~~~~~~~~~~~~~~~
e_update.c:101:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types]
  101 |     init_searchproc_middle(init_update_settings);
      |                            ^~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            void (*)(F_line *, int,  int,  int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int,  int,  int)}
u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int,  int,  int)'}
   28 | void            init_searchproc_middle(void (*handlerproc) (/* ??? */));
      |                                        ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_update.c:61:17: note: 'init_update_settings' declared here
   61 | static void     init_update_settings(F_line *p, int type, int x, int y,
      |                 ^~~~~~~~~~~~~~~~~~~~
e_update.c:102:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  102 |     canvas_leftbut_proc = object_search_left;
      |                         ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_update.c:103:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  103 |     canvas_middlebut_proc = object_search_middle;
      |                           ^
u_search.h:36:17: note: 'object_search_middle' declared here
   36 | void            object_search_middle(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_update.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_text.o d_text.c
d_text.c: In function 'text_drawing_selected':
d_text.c:170:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  170 |         canvas_leftbut_proc = init_text_input;
      |                             ^
d_text.c:127:17: note: 'init_text_input' declared here
  127 | static void     init_text_input(int x, int y), cancel_text_input(void);
      |                 ^~~~~~~~~~~~~~~
d_text.c: In function 'overlay_text_input':
d_text.c:381:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
  381 |         canvas_middlebut_proc = finish_text_input;
      |                               ^
d_text.c:227:1: note: 'finish_text_input' declared here
  227 | finish_text_input(int x, int y, int shift)
      | ^~~~~~~~~~~~~~~~~
d_text.c:382:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  382 |         canvas_leftbut_proc = finish_n_start;
      |                             ^
d_text.c:213:1: note: 'finish_n_start' declared here
  213 | finish_n_start(int x, int y)
      | ^~~~~~~~~~~~~~
d_text.c:426:45: error: passing argument 2 of 'initialize_char_handler' from incompatible pointer type [-Wincompatible-pointer-types]
  426 |         initialize_char_handler(canvas_win, finish_text_input,
      |                                             ^~~~~~~~~~~~~~~~~
      |                                             |
      |                                             void (*)(int,  int,  int)
d_text.c:136:58: note: expected 'void (*)(void)' but argument is of type 'void (*)(int,  int,  int)'
  136 | static void     initialize_char_handler(Window w, void (*cr) (/* ??? */),
      |                                                   ~~~~~~~^~~~~~~~~~~~~~~
d_text.c:227:1: note: 'finish_text_input' declared here
  227 | finish_text_input(int x, int y, int shift)
      | ^~~~~~~~~~~~~~~~~
d_text.c: In function 'init_text_input':
d_text.c:447:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  int)' [-Wincompatible-pointer-types]
  447 |         canvas_middlebut_proc = finish_text_input;
      |                               ^
d_text.c:227:1: note: 'finish_text_input' declared here
  227 | finish_text_input(int x, int y, int shift)
      | ^~~~~~~~~~~~~~~~~
d_text.c:448:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int)' [-Wincompatible-pointer-types]
  448 |         canvas_leftbut_proc = finish_n_start;
      |                             ^
d_text.c:213:1: note: 'finish_n_start' declared here
  213 | finish_n_start(int x, int y)
      | ^~~~~~~~~~~~~~
d_text.c:569:45: error: passing argument 2 of 'initialize_char_handler' from incompatible pointer type [-Wincompatible-pointer-types]
  569 |         initialize_char_handler(canvas_win, finish_text_input, base_x, base_y);
      |                                             ^~~~~~~~~~~~~~~~~
      |                                             |
      |                                             void (*)(int,  int,  int)
d_text.c:136:58: note: expected 'void (*)(void)' but argument is of type 'void (*)(int,  int,  int)'
  136 | static void     initialize_char_handler(Window w, void (*cr) (/* ??? */),
      |                                                   ~~~~~~~^~~~~~~~~~~~~~~
d_text.c:227:1: note: 'finish_text_input' declared here
  227 | finish_text_input(int x, int y, int shift)
      | ^~~~~~~~~~~~~~~~~
d_text.c: In function 'initialize_char_handler':
d_text.c:772:17: error: too many arguments to function 'xim_set_spot'; expected 0, have 2
  772 |                 xim_set_spot(cur_x, cur_y);
      |                 ^~~~~~~~~~~~ ~~~~~
d_text.c:150:17: note: declared here
  150 | static void     xim_set_spot();
      |                 ^~~~~~~~~~~~
d_text.c: In function 'move_blinking_cursor':
d_text.c:1173:25: error: too many arguments to function 'xim_set_spot'; expected 0, have 2
 1173 |         if (xim_active) xim_set_spot(x, y);
      |                         ^~~~~~~~~~~~ ~
d_text.c:150:17: note: declared here
  150 | static void     xim_set_spot();
      |                 ^~~~~~~~~~~~
d_text.c: At top level:
d_text.c:1399:1: error: conflicting types for 'xim_set_spot'; have 'void(int,  int)'
 1399 | xim_set_spot(int x, int y)
      | ^~~~~~~~~~~~
d_text.c:150:17: note: previous declaration of 'xim_set_spot' with type 'void(void)'
  150 | static void     xim_set_spot();
      |                 ^~~~~~~~~~~~
d_text.c:1445:1: error: conflicting types for 'close_preedit_proc'; have 'void(int,  int)'
 1445 | close_preedit_proc(int x, int y)
      | ^~~~~~~~~~~~~~~~~~
d_text.c:154:38: note: previous declaration of 'close_preedit_proc' with type 'void(void)'
  154 | static void     open_preedit_proc(), close_preedit_proc(), paste_preedit_proc();
      |                                      ^~~~~~~~~~~~~~~~~~
d_text.c:1459:1: error: conflicting types for 'open_preedit_proc'; have 'void(int,  int)'
 1459 | open_preedit_proc(int x, int y)
      | ^~~~~~~~~~~~~~~~~
d_text.c:154:17: note: previous declaration of 'open_preedit_proc' with type 'void(void)'
  154 | static void     open_preedit_proc(), close_preedit_proc(), paste_preedit_proc();
      |                 ^~~~~~~~~~~~~~~~~
d_text.c:1495:1: error: conflicting types for 'paste_preedit_proc'; have 'void(int,  int)'
 1495 | paste_preedit_proc(int x, int y)
      | ^~~~~~~~~~~~~~~~~~
d_text.c:154:60: note: previous declaration of 'paste_preedit_proc' with type 'void(void)'
  154 | static void     open_preedit_proc(), close_preedit_proc(), paste_preedit_proc();
      |                                                            ^~~~~~~~~~~~~~~~~~
d_text.c:150:17: warning: 'xim_set_spot' used but never defined
  150 | static void     xim_set_spot();
      |                 ^~~~~~~~~~~~
d_text.c:154:17: warning: 'open_preedit_proc' used but never defined
  154 | static void     open_preedit_proc(), close_preedit_proc(), paste_preedit_proc();
      |                 ^~~~~~~~~~~~~~~~~
d_text.c:154:38: warning: 'close_preedit_proc' used but never defined
  154 | static void     open_preedit_proc(), close_preedit_proc(), paste_preedit_proc();
      |                                      ^~~~~~~~~~~~~~~~~~
d_text.c:154:60: warning: 'paste_preedit_proc' used but never defined
  154 | static void     open_preedit_proc(), close_preedit_proc(), paste_preedit_proc();
      |                                                            ^~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:883: d_text.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o f_readxbm.o f_readxbm.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o f_readgif.o f_readgif.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_edit.o e_edit.c
e_edit.c: In function 'edit_item_selected':
e_edit.c:693:30: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  693 |         init_searchproc_left(edit_item);
      |                              ^~~~~~~~~
      |                              |
      |                              void (*)(void *, int,  int,  int)
In file included from e_edit.c:66:
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(void *, int,  int,  int)'
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from e_edit.c:26:
e_edit.h:37:17: note: 'edit_item' declared here
   37 | extern void     edit_item (void *p, int type, int x, int y);
      |                 ^~~~~~~~~
e_edit.c:694:31: error: passing argument 1 of 'init_searchproc_right' from incompatible pointer type [-Wincompatible-pointer-types]
  694 |         init_searchproc_right(edit_spline_point);
      |                               ^~~~~~~~~~~~~~~~~
      |                               |
      |                               void (*)(F_spline *, int,  int,  int,  F_point *, F_point *) {aka void (*)(struct f_spline *, int,  int,  int,  struct f_point *, struct f_point *)}
u_search.h:29:46: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_spline *, int,  int,  int,  F_point *, F_point *)' {aka 'void (*)(struct f_spline *, int,  int,  int,  struct f_point *, struct f_point *)'}
   29 | void            init_searchproc_right(void (*handlerproc) (/* ??? */));
      |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_edit.c:682:17: note: 'edit_spline_point' declared here
  682 | static void     edit_spline_point(F_spline *spline, int type, int x, int y,
      |                 ^~~~~~~~~~~~~~~~~
e_edit.c:695:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  695 |         canvas_leftbut_proc = object_search_left;
      |                             ^
u_search.h:35:17: note: 'object_search_left' declared here
   35 | void            object_search_left(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_edit.c:696:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  696 |         canvas_middlebut_proc = edit_figure_comments;
      |                               ^
e_edit.c:684:17: note: 'edit_figure_comments' declared here
  684 | static void     edit_figure_comments(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~~~
e_edit.c:697:30: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int,  int,  unsigned int)' [-Wincompatible-pointer-types]
  697 |         canvas_rightbut_proc = point_search_right;
      |                              ^
u_search.h:33:17: note: 'point_search_right' declared here
   33 | void            point_search_right(int x, int y, unsigned int shift);
      |                 ^~~~~~~~~~~~~~~~~~
e_edit.c: In function 'edit_figure_comments':
e_edit.c:714:38: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  714 |                 init_searchproc_left(popup_show_comments);
      |                                      ^~~~~~~~~~~~~~~~~~~
      |                                      |
      |                                      void (*)(F_line *, int,  int,  int) {aka void (*)(struct f_line *, int,  int,  int)}
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int,  int,  int)' {aka 'void (*)(struct f_line *, int,  int,  int)'}
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_edit.c:707:17: note: 'popup_show_comments' declared here
  707 | static void     popup_show_comments(F_line *p, int type, int x, int y);
      |                 ^~~~~~~~~~~~~~~~~~~
e_edit.c:717:38: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types]
  717 |                 init_searchproc_left(edit_item);
      |                                      ^~~~~~~~~
      |                                      |
      |                                      void (*)(void *, int,  int,  int)
u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(void *, int,  int,  int)'
   27 | void            init_searchproc_left(void (*handlerproc) (/* ??? */));
      |                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_edit.h:37:17: note: 'edit_item' declared here
   37 | extern void     edit_item (void *p, int type, int x, int y);
      |                 ^~~~~~~~~
e_edit.c: In function 'f_menu_popup':
e_edit.c:4354:25: error: passing argument 4 of 'fontpane_popup' from incompatible pointer type [-Wincompatible-pointer-types]
 4354 |                         set_font_image, font_panel);
      |                         ^~~~~~~~~~~~~~
      |                         |
      |                         void (*)(struct _WidgetRec *)
In file included from w_color.h:56,
                 from e_edit.c:71:
w_indpanel.h:172:93: note: expected 'void (*)(void)' but argument is of type 'void (*)(struct _WidgetRec *)'
  172 | extern void     fontpane_popup(int *psfont_adr, int *latexfont_adr, int *psflag_adr, void (*showfont_fn) (/* ??? */), Widget show_widget);
      |                                                                                      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
e_edit.c:4310:1: note: 'set_font_image' declared here
 4310 | set_font_image(Widget widget)
      | ^~~~~~~~~~~~~~
make[2]: *** [Makefile:883: e_edit.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o f_readpcx.o f_readpcx.c
f_readpcx.c: In function '_read_pcx':
f_readpcx.c:126:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
  126 |         fread(&header,1,sizeof(struct pcxhed),pcxfile);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o f_load.o f_load.c
f_load.c: In function 'update_recent_list':
f_load.c:339:22: warning: '%1d' directive writing between 1 and 10 bytes into a region of size 3 [-Wformat-overflow=]
  339 |         sprintf(num,"%1d",i+1);
      |                      ^~~
f_load.c:339:21: note: directive argument in the range [2, 2147483647]
  339 |         sprintf(num,"%1d",i+1);
      |                     ^~~~~
In file included from /usr/include/stdio.h:970,
                 from f_load.c:22:
In function 'sprintf',
    inlined from 'update_recent_list' at f_load.c:339:2:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 3
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o f_readeps.o f_readeps.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o f_readold.o f_readold.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o f_neuclrtab.o f_neuclrtab.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o f_readppm.o f_readppm.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\""   -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o f_read.o f_read.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src'
make[1]: *** [Makefile:543: all-recursive] Error 1
make: *** [Makefile:396: all] Error 2
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SgcXZp (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SgcXZp (%build)
I: [iurt_root_command] ERROR: chroot