freebsd-ports/graphics/libfpx/files/patch-basics::a_file.cpp
Mikhail Teterin c74bdc61c8 The ImageMagick crew took this library over and released the 1.2.0.4.
The changes:

	. our patch-gcc3 (provided to me by Alex Vasylenko) is
	  incorporated;
	. the library uses its own implementation of wchar; they
	  say, it can only work if sizeof(wchar_t) is 2 bytes, so
	  they can not rely on the OS provided wchar...

The port changed:

	. the package is installed as libfpx-version rather than
	  fpx-version;
	. make is passed `-j2', which is very efficient even for
	  non-SMP machines, since each file is compiled twice --
	  for .o and .So object -- with -j2 they are compiled at
	  the same time, utilizing the cache;
	. don't insist on any particular version of -ljpeg;
	. ftp.imagemagick.org added to the MASTER_SITES (time for
	  MASTER_SITE_IMAGEMAGICK);
	. the ABI and API did not change, so, the installed library's
	  version remains the same.
2002-02-13 06:30:43 +00:00

16 lines
482 B
C++

--- basics/a_file.cpp Sat Dec 23 17:10:00 2000
+++ basics/a_file.cpp Thu Jan 18 11:37:44 2001
@@ -29,4 +29,4 @@
# include <sys/types.h>
+# include <sys/uio.h>
# include <sys/stat.h>
-# include <sys/statfs.h>
# include <sys/ioctl.h>
--- basics/filename.cpp Sat Dec 23 17:10:00 2000
+++ basics/filename.cpp Thu Jan 18 11:33:35 2001
@@ -39,3 +39,4 @@
# include <sys/stat.h>
-# include <sys/statfs.h>
+# include <sys/param.h>
+# include <sys/mount.h>
# include <stdio.h>