message: fixing mariadb build
diff: @@ -46,13 +46,15 @@ RUN apk add --update --no-cache --virtual .mariadb-run-deps \
  # fix some environmental items
  RUN mkdir -p /usr/include/bits; mkdir -p /usr/
  COPY wordsize.h /usr/include/bits/wordsize.h
  -# replace poll.h with one that doesn't break the build
  -RUN mkdir /usr/include/sys/ ; echo "#include <poll.h>" > /usr/include/sys/poll.h
  -RUN cat /usr/include/sys/poll.h
  RUN cd /tmp; git clone https://github.com/libcheck/check.git ; cd check; mkdir build ; cd build ; cmake ../ ; make ; make install ;
  -#RUN cd /tmp && git clone -b mariadb-3.x qhttps://github.com/MariaDB/galera.git && cd galera && ./scripts/build.sh
  +
  +RUN cd /tmp && git clone -b mariadb-3.x https://github.com/MariaDB/galera.git
  +
  +RUN cd /tmp/galera && sed -i s/PAGE_SIZE/PAGE_SIZE_64K/g galerautils/src/gu_alloc.cpp && sed -i '/#include <limits>/a #include <stdint.h>' galerautils/src/gu_datetime.hpp
  +
  +RUN cd /tmp/galera && ./scripts/build.sh --so strict_build_flags=0
  # RUN find /tmp/galera ; find \*.so
  