Skip to content

community/widelands: add patch cstdint

Andy Postnikov requested to merge andypost/aports:widelands into master

build failed

ninja: job failed: /usr/bin/g++ -DASIO_STANDALONE -DUSE_XDG -DWL_USE_GLVND -I/home/buildozer/aports/community/widelands/src/widelands-1.1/src -I/home/buildozer/aports/community/widelands/src/widelands-1.1/build/src -I/home/buildozer/aports/community/widelands/src/widelands-1.1/src/third_party/minizip -isystem /usr/include/SDL2 -Os -fstack-clash-protection -Wformat -Werror=format-security -D_GLIBCXX_ASSERTIONS=1 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS=1 -D_LIBCPP_ENABLE_HARDENED_MODE=1 -fno-plt -O3 -DNDEBUG  -std=c++11 -O2 -DNDEBUG -DNOPARACHUTE -Wredundant-decls -Wall -Wpedantic -Wdeprecated-declarations -Wextra -Wformat -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-include-dirs -Wno-undef -Wold-style-cast -Woverlength-strings -Wpacked -Wpointer-arith -Wsign-promo -Wsync-nand -Wtrampolines -Wundef -Wunused -Wunused-macros -fno-elide-constructors -MD -MT src/base/test/CMakeFiles/test_base.dir/test_md5.cc.o -MF src/base/test/CMakeFiles/test_base.dir/test_md5.cc.o.d -o src/base/test/CMakeFiles/test_base.dir/test_md5.cc.o -c /home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/test/test_md5.cc
In file included from /home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/i18n.h:25,
                 from /home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/format/tree.h:33,
                 from /home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/string.h:28,
                 from /home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/test.h:31,
                 from /home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/test/test_md5.cc:22:
/home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/macros.h:138:5: warning: "__WORDSIZE" is not defined, evaluates to 0 [-Wundef]
  138 | #if __WORDSIZE == 64
      |     ^~~~~~~~~~
In file included from /home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/test/test_md5.cc:21:
/home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/md5.h:29:9: error: 'uint32_t' does not name a type
   29 |         uint32_t A;
      |         ^~~~~~~~
/home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/md5.h:26:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   25 | #include <string>
  +++ |+#include <cstdint>
   26 | 
/home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/md5.h:30:9: error: 'uint32_t' does not name a type
   30 |         uint32_t B;
      |         ^~~~~~~~
/home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/md5.h:30:9: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
/home/buildozer/aports/community/widelands/src/widelands-1.1/src/base/md5.h:31:9: error: 'uint32_t' does not name a type
   31 |         uint32_t C;
      |         ^~~~~~~~

Merge request reports

Loading