Files
MINGW-packages/mingw-w64-libimagequant/0001-min-build-fix.patch
J. Peter Mugaas 91b36206da Changes related to libgd (#2124)
* Changes related to libgd
mingw-w64-libgd - 2.2.4
  - add fontconfig, libimagequant, libwebp, and xpm-nox as dependencies
  - fix gdlib.pc file
  - restore gdlib-config script.  The original CMake with patch does not build it and some old config secripts are still using it.
  - libimagequant is now in a new package so don't with CMake.  Use the installed one.
mingw-w64-libimagequant - 2.8.2
  - new package
  - add patch I made to prevent a preliminary check for compiler working.  That triggers a bug with /dev/nul in GCC (or is it a Windows "feature")
mingw-w64-libgphoto - 2.5.12
  - Update to latest version and remove unneeded parts of aptch.  Much is already in the source-code.

* mingw-w64-libghoto2 -enable libusb and libgd.

* mingw-w64-libgphoto - 2.5.12 - Add GPG signature verification and add libjpeg as dependency

* Added patch to get the configure script to uctually detect libgd using pkg-config (the preffered method).  The script had been switched from gdlib-config to finding a libtool .la file.  The problem is that cmake does not make those and I hadn't figured out how to get to it to in a proper manner.  Litbool .la files don't work because software distributions do not include those files at all.

* mingw-w64-libgphoto2 - fix dependencies based on based on PE dump.

* Add myself as maintainer.  Remove commented out stuff.

* Fix download format, I hope.

* Try download file format again.  This time, the name is not just the version number.
2017-01-30 21:20:45 +03:00

15 lines
442 B
Diff

--- libimagequant-2.8.2/configure.orig 2016-12-23 18:22:46.000000000 -0500
+++ libimagequant-2.8.2/configure 2017-01-22 18:16:06.828809100 -0500
@@ -113,9 +113,11 @@
echo
# basic check
+if ! [ "$OSTYPE" == "msys" ]; then
if ! echo "int main(){}" | "$CC" -xc -std=c99 -o /dev/null - > /dev/null; then
error "Compiler" "$CC failed to compile anything (make sure it's installed and supports C99)"
fi
+fi
status "Compiler" "$CC"