You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1.2 KiB

Index: base/stdint_.h
--- base/stdint_.h.orig 2010-07-30 13:03:27.000000000 +0200
+++ base/stdint_.h 2010-09-18 10:08:04.000000000 +0200
@@ -68,6 +68,13 @@
typedef unsigned long long uint64_t;
# define STDINT_TYPES_DEFINED
# endif
+#ifdef __sun__
+# include <sys/int_types.h>
+# define STDINT_TYPES_DEFINED
+#endif
+#ifdef __FreeBSD__
+# define STDINT_TYPES_DEFINED
+#endif
/* other archs may want to add defines here,
or use the fallbacks in std.h */
#endif
Index: base/unix-gcc.mak
--- base/unix-gcc.mak.orig 2010-07-07 19:47:09.000000000 +0200
+++ base/unix-gcc.mak 2010-09-18 10:08:04.000000000 +0200
@@ -250,7 +250,7 @@
# gcc to accept ANSI-style function prototypes and function definitions.
XCFLAGS=-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"$(gssharedir)\"
-CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
+CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS) $(XINCLUDE)
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
@@ -261,7 +261,7 @@
# XLDFLAGS can be set from the command line.
XLDFLAGS=
-LDFLAGS=$(XLDFLAGS)
+LDFLAGS=$(XLDFLAGS) $(XLIBDIRS)
# Define any extra libraries to link into the executable.
# ISC Unix 2.2 wants -linet.