View | Details | Raw Unified | Return to bug 113987
Collapse All | Expand All

(-)/usr/ports/print/pslib.new/Makefile (-3 / +2 lines)
Lines 7-14 Link Here
7
#
7
#
8
8
9
PORTNAME=	pslib
9
PORTNAME=	pslib
10
PORTVERSION=	0.2.7
10
PORTVERSION=	0.3.0
11
PORTREVISION=	2
12
CATEGORIES=	print
11
CATEGORIES=	print
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
14
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 37-43 Link Here
37
.if !defined(WITHOUT_EXAMPLES)
36
.if !defined(WITHOUT_EXAMPLES)
38
EX_NAME=	pslib-examples-0.0.8
37
EX_NAME=	pslib-examples-0.0.8
39
EX_WRKSRC=	${WRKDIR}/${EX_NAME}
38
EX_WRKSRC=	${WRKDIR}/${EX_NAME}
40
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${EX_NAME}${EXTRACT_SUFX}
39
DISTFILES+=	${EX_NAME}${EXTRACT_SUFX}
41
PLIST_SUB+=	EXAMPLES=""
40
PLIST_SUB+=	EXAMPLES=""
42
.else
41
.else
43
PLIST_SUB+=	EXAMPLES="@comment "
42
PLIST_SUB+=	EXAMPLES="@comment "
(-)/usr/ports/print/pslib.new/distinfo (-3 / +3 lines)
Lines 1-6 Link Here
1
MD5 (pslib-0.2.7.tar.gz) = 17a6a461276fd4eb3fd12ced926aeee1
1
MD5 (pslib-0.3.0.tar.gz) = ada1e74f3d7eea899da402898e6b8a88
2
SHA256 (pslib-0.2.7.tar.gz) = 653ec4b1685500d3eb86dc89093854e1928f040b457556365bd52a31dda9a84d
2
SHA256 (pslib-0.3.0.tar.gz) = a612b34c912d183e5c01b2eae614276aae93a2f44d80c3a40fabba37f2550374
3
SIZE (pslib-0.2.7.tar.gz) = 510671
3
SIZE (pslib-0.3.0.tar.gz) = 520186
4
MD5 (pslib-examples-0.0.8.tar.gz) = ef7ea1c869047b9510fb1ea55cfa9e76
4
MD5 (pslib-examples-0.0.8.tar.gz) = ef7ea1c869047b9510fb1ea55cfa9e76
5
SHA256 (pslib-examples-0.0.8.tar.gz) = cfab81f3639e2863e92c226ba6b6a06b0c482afc524d041bcb1df4cbe74f8ebd
5
SHA256 (pslib-examples-0.0.8.tar.gz) = cfab81f3639e2863e92c226ba6b6a06b0c482afc524d041bcb1df4cbe74f8ebd
6
SIZE (pslib-examples-0.0.8.tar.gz) = 175792
6
SIZE (pslib-examples-0.0.8.tar.gz) = 175792
(-)/usr/ports/print/pslib.new/files/patch-src-ght_hash_table.h.in (+10 lines)
Line 0 Link Here
1
--- src/ght_hash_table.h.in.orig	Sun Jun 24 14:12:27 2007
2
+++ src/ght_hash_table.h.in	Sun Jun 24 14:12:45 2007
3
@@ -60,6 +60,7 @@
4
 #define GHT_HASH_TABLE_H
5
 
6
 #include <stdlib.h>                    /* size_t */
7
+#include <sys/types.h>
8
 
9
 #ifdef __cplusplus
10
 extern "C" {
(-)/usr/ports/print/pslib.new/files/patch-src-pslib.c (-10 lines)
Lines 1-10 Link Here
1
--- src/pslib.c.orig	Wed Jul 27 15:08:15 2005
2
+++ src/pslib.c	Fri Jul 29 01:56:04 2005
3
@@ -29,6 +29,7 @@
4
 #include <strings.h>
5
 #include <time.h>
6
 #include <math.h>
7
+#include <sys/types.h>
8
 #include <sys/select.h>
9
 #include <sys/stat.h>
10
 #ifndef WIN32
(-)/usr/ports/print/pslib.new/files/patch-src__bmp.c (-31 lines)
Lines 1-31 Link Here
1
--- src/bmp.c.orig	Mon Apr 24 10:25:31 2006
2
+++ src/bmp.c	Sat Jul  8 13:02:51 2006
3
@@ -41,10 +41,28 @@
4
 #include <fcntl.h>
5
 #include <unistd.h>
6
 
7
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
8
+#include <sys/param.h>
9
+#endif
10
+
11
+#if defined(__FreeBSD__) && __FreeBSD_version >= 470000
12
+#include <sys/endian.h>
13
+
14
+#if __FreeBSD_version >= 500000
15
+#define BMPSwabShort(x) *x = bswap16(*x)
16
+#define BMPSwabLong(x) *x = bswap32(*x)
17
+#else
18
+#define BMPSwabShort(x) (be16toh(x))
19
+#define BMPSwabLong(x) (be32toh(x))
20
+#endif
21
+#endif
22
+
23
+#ifdef linux
24
 #include <byteswap.h>
25
 
26
 #define BMPSwabShort(x) *x = bswap_16 (*x)
27
 #define BMPSwabLong(x) *x = bswap_32 (*x)
28
+#endif
29
 
30
 #include <inttypes.h>
31
 
(-)/usr/ports/print/pslib.new/pkg-plist (-1 / +1 lines)
Lines 4-10 Link Here
4
lib/libps.a
4
lib/libps.a
5
lib/libps.la
5
lib/libps.la
6
lib/libps.so
6
lib/libps.so
7
lib/libps.so.2
7
lib/libps.so.3
8
libdata/pkgconfig/libps.pc
8
libdata/pkgconfig/libps.pc
9
%%NLS%%share/locale/de/LC_MESSAGES/pslib.mo
9
%%NLS%%share/locale/de/LC_MESSAGES/pslib.mo
10
%%DATADIR%%/draft.ps
10
%%DATADIR%%/draft.ps

Return to bug 113987