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

(-)spice/distinfo (-3 / +3 lines)
Lines 1-6 Link Here
1
MD5 (spice/spice3f5.tar.gz) = 14d901bda437d4edda91c929b87eff51
1
MD5 (spice/spice3f5.tar.gz) = 2b6d1c346bea4b9914147bc30937f9e5
2
SHA256 (spice/spice3f5.tar.gz) = 233fe76233dc4071f43c902819a24050d3011fe6ece4c2fe2ac41f32b0e33bfb
2
SHA256 (spice/spice3f5.tar.gz) = cac11fe2a761241e6b6c9eaa31b938c7ffa76aeaecac09809609d3a4125cd269
3
SIZE (spice/spice3f5.tar.gz) = 1226208
3
SIZE (spice/spice3f5.tar.gz) = 1226185
4
MD5 (spice/cp.ps) = ee9065de6e11e82fa3fe34318c2373fc
4
MD5 (spice/cp.ps) = ee9065de6e11e82fa3fe34318c2373fc
5
SHA256 (spice/cp.ps) = 3bab6c3487def4ce2e817bf7ef3c1a7d199ea8e790da3a786f936872b35d0920
5
SHA256 (spice/cp.ps) = 3bab6c3487def4ce2e817bf7ef3c1a7d199ea8e790da3a786f936872b35d0920
6
SIZE (spice/cp.ps) = 10297
6
SIZE (spice/cp.ps) = 10297
(-)spice/files/patch-src_include_os_bsd_h (-15 / +16 lines)
Lines 1-43 Link Here
1
--- src/include/os_bsd.h.orig	Sat Apr 24 18:09:46 1993
1
--- src/include/os_bsd.h.orig	Sat Apr 24 18:09:46 1993
2
+++ src/include/os_bsd.h	Mon Apr  3 21:27:21 2006
2
+++ src/include/os_bsd.h	Mon Nov 12 03:14:36 2007
3
@@ -8,18 +8,36 @@
3
@@ -8,18 +8,35 @@
4
 
4
 
5
 #include "os_unix.h"
5
 #include "os_unix.h"
6
 
6
 
7
+#ifdef __FreeBSD__
7
+#ifdef __FreeBSD__	/* BSD4_3 */
8
+#define HAS_STDLIB		/* #include <stdlib.h> for libc defs	*/
8
+#define HAS_STDLIB		/* #include <stdlib.h> for libc defs	*/
9
+#define HAS_SYSVDIRS		/* <sys/dirent.h>			*/
9
+#define HAS_SYSVDIRS		/* <sys/dirent.h>			*/
10
+#define HAS_INTWAITSTATUS	/* wait(3)  takes an int *, not a union */
10
+#define HAS_INTWAITSTATUS	/* wait(2)  takes an int *, not a union */
11
+#define HAS_STRINGS		/* use <strings.h> instead of <string.h> */
11
+#define HAS_STRINGS		/* use <strings.h> instead of <string.h> */
12
+#define HAS_STRCHR		/* strchr( ) instead of index( )	*/
12
+#define HAS_STRCHR		/* strchr(3) instead of index(3)	*/
13
+#define HAS_ATRIGH		/* acosh(3), asinh(3), atanh(3)         */
14
+#define HAS_FLOAT_H		/* float.h				*/
15
+#define HAS_BSDSOCKETS		/* <net/inet.h>, socket(2), etc.	*/
16
+#define HAS_BSDTIME		/* gettimeofday(2) return time		*/
13
+#else
17
+#else
14
 #define HAS_NO_ATRIGH_DECL	/* if asinh( ) is not in math.h		*/
18
 #define HAS_NO_ATRIGH_DECL	/* if asinh( ) is not in math.h		*/
15
-#define HAS_ATRIGH		/* acosh( ), asinh( ), atanh( )         */
19
-#define HAS_ATRIGH		/* acosh( ), asinh( ), atanh( )         */
16
 #define HAS_FTIME		/* ftime( ), <times.h>			*/
20
-#define HAS_FTIME		/* ftime( ), <times.h>			*/
21
+#define HAS_FTIME		/* ftime(3), <times.h>			*/
17
+#define HAS_INDEX		/* index( ) instead of strchr( )	*/
22
+#define HAS_INDEX		/* index( ) instead of strchr( )	*/
18
+#define HAS_BSDDIRS		/* <sys/dir.h>				*/
23
+#define HAS_BSDDIRS		/* <sys/dir.h>				*/
19
+#endif
24
+#endif
20
+
25
+
21
+#define HAS_ATRIGH		/* acosh( ), asinh( ), atanh( )         */
22
 #define HAS_TERMCAP		/* tgetxxx( )				*/
26
 #define HAS_TERMCAP		/* tgetxxx( )				*/
23
 #define HAS_VFORK		/* BSD-ism, should not be necessary	*/
27
 #define HAS_VFORK		/* BSD-ism, should not be necessary	*/
24
-#define HAS_INDEX		/* index( ) instead of strchr( )	*/
28
-#define HAS_INDEX		/* index( ) instead of strchr( )	*/
25
 #define HAS_BCOPY		/* bcopy( ), bzero( )			*/
29
 #define HAS_BCOPY		/* bcopy( ), bzero( )			*/
26
 #define HAS_BSDRANDOM		/* srandom( ) and random( )		*/
30
 #define HAS_BSDRANDOM		/* srandom( ) and random( )		*/
27
+#ifdef __FreeBSD__
31
+#ifdef __FreeBSD__	/* BSD4_4 */
28
+#define HAS_POSIXTTY		/* <termios.h>				*/
32
+#define HAS_POSIXTTY		/* <termios.h>				*/
33
+#define HAS_GETCWD		/* getcwd(buf,size)				*/
29
+#else
34
+#else
30
 #define HAS_BSDTTY		/* <sgtty.h>				*/
35
 #define HAS_BSDTTY		/* <sgtty.h>				*/
31
-#define HAS_BSDDIRS		/* <sys/dir.h>				*/
36
-#define HAS_BSDDIRS		/* <sys/dir.h>				*/
37
+#define HAS_GETWD		/* getwd(buf)				*/
32
+#endif
38
+#endif
39
+
33
 #define HAS_BSDRUSAGE		/* getrusage( )				*/
40
 #define HAS_BSDRUSAGE		/* getrusage( )				*/
34
 #define HAS_BSDRLIMIT		/* getrlimit( )				*/
41
 #define HAS_BSDRLIMIT		/* getrlimit( )				*/
35
 #define HAS_DUP2
42
 #define HAS_DUP2
36
 #define HAS_GETWD		/* getwd(buf)				*/
43
-#define HAS_GETWD		/* getwd(buf)				*/
37
-#define HAS_STRINGS		/* use <strings.h> instead of <string.h> */
44
-#define HAS_STRINGS		/* use <strings.h> instead of <string.h> */
38
+
39
+#ifdef __FreeBSD__
40
+#define HAS_BSDSOCKETS		/* <net/inet.h>, socket( ), etc.	*/
41
+#define HAS_BSDTIME		/* gettimeofday( ) return time		*/
42
+#define HAS_FLOAT_H		/* float.h				*/
43
+#endif
(-)spice/files/patch-src_lib_cp_cshpar_c (+10 lines)
Line 0 Link Here
1
--- src/lib/cp/cshpar.c.orig	Mon Nov 12 02:26:08 2007
2
+++ src/lib/cp/cshpar.c	Mon Nov 12 02:30:46 2007
3
@@ -6,6 +6,7 @@
4
 /*
5
  * The main entry point for cshpar.
6
  */
7
+#include <unistd.h>
8
 
9
 #include "spice.h"
10
 #include "misc.h"

Return to bug 117997