summaryrefslogtreecommitdiff
path: root/print/pslib/files
diff options
context:
space:
mode:
Diffstat (limited to 'print/pslib/files')
-rw-r--r--print/pslib/files/patch-src-ght_hash_table.h.in10
-rw-r--r--print/pslib/files/patch-src-pslib.c10
-rw-r--r--print/pslib/files/patch-src__bmp.c31
3 files changed, 10 insertions, 41 deletions
diff --git a/print/pslib/files/patch-src-ght_hash_table.h.in b/print/pslib/files/patch-src-ght_hash_table.h.in
new file mode 100644
index 000000000000..2ae260c05702
--- /dev/null
+++ b/print/pslib/files/patch-src-ght_hash_table.h.in
@@ -0,0 +1,10 @@
+--- src/ght_hash_table.h.in.orig Sun Jun 24 14:12:27 2007
++++ src/ght_hash_table.h.in Sun Jun 24 14:12:45 2007
+@@ -60,6 +60,7 @@
+ #define GHT_HASH_TABLE_H
+
+ #include <stdlib.h> /* size_t */
++#include <sys/types.h>
+
+ #ifdef __cplusplus
+ extern "C" {
diff --git a/print/pslib/files/patch-src-pslib.c b/print/pslib/files/patch-src-pslib.c
deleted file mode 100644
index 760607578e7b..000000000000
--- a/print/pslib/files/patch-src-pslib.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/pslib.c.orig Wed Jul 27 15:08:15 2005
-+++ src/pslib.c Fri Jul 29 01:56:04 2005
-@@ -29,6 +29,7 @@
- #include <strings.h>
- #include <time.h>
- #include <math.h>
-+#include <sys/types.h>
- #include <sys/select.h>
- #include <sys/stat.h>
- #ifndef WIN32
diff --git a/print/pslib/files/patch-src__bmp.c b/print/pslib/files/patch-src__bmp.c
deleted file mode 100644
index 6eca084b0acd..000000000000
--- a/print/pslib/files/patch-src__bmp.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- src/bmp.c.orig Mon Apr 24 10:25:31 2006
-+++ src/bmp.c Sat Jul 8 13:02:51 2006
-@@ -41,10 +41,28 @@
- #include <fcntl.h>
- #include <unistd.h>
-
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
-+#include <sys/param.h>
-+#endif
-+
-+#if defined(__FreeBSD__) && __FreeBSD_version >= 470000
-+#include <sys/endian.h>
-+
-+#if __FreeBSD_version >= 500000
-+#define BMPSwabShort(x) *x = bswap16(*x)
-+#define BMPSwabLong(x) *x = bswap32(*x)
-+#else
-+#define BMPSwabShort(x) (be16toh(x))
-+#define BMPSwabLong(x) (be32toh(x))
-+#endif
-+#endif
-+
-+#ifdef linux
- #include <byteswap.h>
-
- #define BMPSwabShort(x) *x = bswap_16 (*x)
- #define BMPSwabLong(x) *x = bswap_32 (*x)
-+#endif
-
- #include <inttypes.h>
-