summaryrefslogtreecommitdiff
path: root/graphics/paintlib/files
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-06-18 20:34:32 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-06-18 20:34:32 +0000
commit1be355bf9a7c85511c91d273a78c6f3db0dfff90 (patch)
tree661360f140dd19e1b3c9407ad97e3d4cd9b56043 /graphics/paintlib/files
parentAdd entry for misc/gpt31. Users may or may not wish to follow this (diff)
Add paintlib, an C++ library for processing images
Submitted by: Frerich Raabe <frerich.raabe@gmx.de>i by:
Notes
Notes: svn path=/head/; revision=111764
Diffstat (limited to 'graphics/paintlib/files')
-rw-r--r--graphics/paintlib/files/patch-common-plfilesrc.cpp13
-rw-r--r--graphics/paintlib/files/patch-common-test-pltestdecoders.cpp11
2 files changed, 24 insertions, 0 deletions
diff --git a/graphics/paintlib/files/patch-common-plfilesrc.cpp b/graphics/paintlib/files/patch-common-plfilesrc.cpp
new file mode 100644
index 000000000000..2cad0b50b897
--- /dev/null
+++ b/graphics/paintlib/files/patch-common-plfilesrc.cpp
@@ -0,0 +1,13 @@
+--- common/plfilesrc.cpp.orig Fri Jun 18 20:46:59 2004
++++ common/plfilesrc.cpp Fri Jun 18 20:47:16 2004
+@@ -17,9 +17,9 @@
+ #include "plexcept.h"
+
+ #ifdef HAVE_MMAP
++#include <sys/types.h>
+ #include <sys/mman.h>
+ #include <sys/stat.h>
+-#include <sys/types.h>
+ #include <fcntl.h>
+ #include <unistd.h>
+ #endif
diff --git a/graphics/paintlib/files/patch-common-test-pltestdecoders.cpp b/graphics/paintlib/files/patch-common-test-pltestdecoders.cpp
new file mode 100644
index 000000000000..68f78b384220
--- /dev/null
+++ b/graphics/paintlib/files/patch-common-test-pltestdecoders.cpp
@@ -0,0 +1,11 @@
+--- common/test/pltestdecoders.cpp.orig Fri Jun 18 22:09:17 2004
++++ common/test/pltestdecoders.cpp Fri Jun 18 22:09:36 2004
+@@ -135,7 +135,7 @@
+
+ #ifndef WIN32
+ // this function is used to select all files that do not start with a dot
+-int selectFile(const struct dirent * theEntry)
++int selectFile(struct dirent * theEntry)
+ {
+ if (theEntry->d_name[0] == '.')
+ {