diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-06-29 11:59:04 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-06-29 11:59:04 +0000 |
commit | de223f9338d36a00d6e27b62c95566da0d9cb7a3 (patch) | |
tree | df91f9ee34ea88f4bbb7a76b03e7c8fb40eb7fca /print | |
parent | a323bd5e950537a1a3ef31c5a4772637472509ef (diff) | |
download | ports-de223f9338d36a00d6e27b62c95566da0d9cb7a3.tar.gz ports-de223f9338d36a00d6e27b62c95566da0d9cb7a3.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/pslib/Makefile | 5 | ||||
-rw-r--r-- | print/pslib/distinfo | 6 | ||||
-rw-r--r-- | print/pslib/files/patch-src-ght_hash_table.h.in | 10 | ||||
-rw-r--r-- | print/pslib/files/patch-src-pslib.c | 10 | ||||
-rw-r--r-- | print/pslib/files/patch-src__bmp.c | 31 | ||||
-rw-r--r-- | print/pslib/pkg-plist | 2 |
6 files changed, 16 insertions, 48 deletions
diff --git a/print/pslib/Makefile b/print/pslib/Makefile index fc9508a316e3..d2a1ea1a3547 100644 --- a/print/pslib/Makefile +++ b/print/pslib/Makefile @@ -7,8 +7,7 @@ # PORTNAME= pslib -PORTVERSION= 0.2.7 -PORTREVISION= 2 +PORTVERSION= 0.3.0 CATEGORIES= print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -37,7 +36,7 @@ OPTIONS= EXAMPLES "Install additional examples" On \ .if !defined(WITHOUT_EXAMPLES) EX_NAME= pslib-examples-0.0.8 EX_WRKSRC= ${WRKDIR}/${EX_NAME} -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${EX_NAME}${EXTRACT_SUFX} +DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} ${EX_NAME}${EXTRACT_SUFX} PLIST_SUB+= EXAMPLES="" .else PLIST_SUB+= EXAMPLES="@comment " diff --git a/print/pslib/distinfo b/print/pslib/distinfo index 906791223ccc..efe9f051c662 100644 --- a/print/pslib/distinfo +++ b/print/pslib/distinfo @@ -1,6 +1,6 @@ -MD5 (pslib-0.2.7.tar.gz) = 17a6a461276fd4eb3fd12ced926aeee1 -SHA256 (pslib-0.2.7.tar.gz) = 653ec4b1685500d3eb86dc89093854e1928f040b457556365bd52a31dda9a84d -SIZE (pslib-0.2.7.tar.gz) = 510671 +MD5 (pslib-0.3.0.tar.gz) = ada1e74f3d7eea899da402898e6b8a88 +SHA256 (pslib-0.3.0.tar.gz) = a612b34c912d183e5c01b2eae614276aae93a2f44d80c3a40fabba37f2550374 +SIZE (pslib-0.3.0.tar.gz) = 520186 MD5 (pslib-examples-0.0.8.tar.gz) = ef7ea1c869047b9510fb1ea55cfa9e76 SHA256 (pslib-examples-0.0.8.tar.gz) = cfab81f3639e2863e92c226ba6b6a06b0c482afc524d041bcb1df4cbe74f8ebd SIZE (pslib-examples-0.0.8.tar.gz) = 175792 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> - diff --git a/print/pslib/pkg-plist b/print/pslib/pkg-plist index 355981e8b654..592deacb2531 100644 --- a/print/pslib/pkg-plist +++ b/print/pslib/pkg-plist @@ -4,7 +4,7 @@ include/libps/psversion.h lib/libps.a lib/libps.la lib/libps.so -lib/libps.so.2 +lib/libps.so.3 libdata/pkgconfig/libps.pc %%NLS%%share/locale/de/LC_MESSAGES/pslib.mo %%DATADIR%%/draft.ps |