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.
		
		
		
		
		
			
		
			
				
					
					
						
							50 lines
						
					
					
						
							1.5 KiB
						
					
					
				
			
		
		
	
	
							50 lines
						
					
					
						
							1.5 KiB
						
					
					
				# --- SDE-COPYRIGHT-NOTE-BEGIN --- | 
						|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. | 
						|
# | 
						|
# Filename: package/.../dog/64bit-goodness.diff | 
						|
# Copyright (C) 2007 The OpenSDE Project | 
						|
# | 
						|
# More information can be found in the files COPYING and README. | 
						|
# | 
						|
# This patch file is dual-licensed. It is available under the license the | 
						|
# patched project is licensed under, as long as it is an OpenSource license | 
						|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms | 
						|
# of the GNU General Public License as published by the Free Software | 
						|
# Foundation; either version 2 of the License, or (at your option) any later | 
						|
# version. | 
						|
# --- SDE-COPYRIGHT-NOTE-END --- | 
						|
 | 
						|
diff -ur dog-1.7/dog.c dog-1.7-64bit/dog.c | 
						|
This patch comes from Gentoo, author is the Gentoo maintainer of dog | 
						|
--- dog-1.7/dog.c	2000-06-21 18:04:43.000000000 +0200 | 
						|
+++ dog-1.7-64bit/dog.c	2005-05-23 10:40:58.613766328 +0200 | 
						|
@@ -38,22 +38,13 @@ | 
						|
 #include <limits.h> | 
						|
 #include <netdb.h> | 
						|
  | 
						|
-// this is fun | 
						|
-#if defined(__alpha) | 
						|
-#define uint16	unsigned short | 
						|
-#define int16	short | 
						|
-#define uint32	unsigned int | 
						|
-#define int32	int | 
						|
-#define uint64	unsigned long | 
						|
-#define int64	long | 
						|
-#else | 
						|
-#define uint16	unsigned short | 
						|
-#define int16	short | 
						|
-#define uint32	unsigned long | 
						|
-#define int32	long | 
						|
-#define uint64	unsigned long long | 
						|
-#define int64	long long | 
						|
-#endif | 
						|
+#define uint16	uint16_t | 
						|
+#define int16	int16_t | 
						|
+#define uint32	uint32_t | 
						|
+#define int32	int32_t | 
						|
+#define uint64	uint64_t | 
						|
+#define int64	int64_t | 
						|
+ | 
						|
 #if defined(__STDC__) | 
						|
 #define __dog_signed		signed | 
						|
 #else
 | 
						|
 |