Add some more support for DragonFly. From Joerg Sonnenberger
and pkgsrc.
This commit is contained in:
		
							parent
							
								
									14c13b8d62
								
							
						
					
					
						commit
						1d4bea6106
					
				| 
						 | 
				
			
			@ -154,7 +154,7 @@ static ShmFuncs fbFuncs = {fbShmCreatePixmap, fbShmPutImage};
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__)
 | 
			
		||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__DragonFly__)
 | 
			
		||||
#include <sys/signal.h>
 | 
			
		||||
 | 
			
		||||
static Bool badSysCall = FALSE;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -104,7 +104,7 @@ static unsigned int pagesize;
 | 
			
		|||
 | 
			
		||||
static Bool badSysCall = FALSE;
 | 
			
		||||
 | 
			
		||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__)
 | 
			
		||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__DragonFly__)
 | 
			
		||||
 | 
			
		||||
#include <sys/signal.h>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -42,6 +42,8 @@
 | 
			
		|||
#define OSNAME "linux"
 | 
			
		||||
#elif defined(__FreeBSD__)
 | 
			
		||||
#define OSNAME "freebsd"
 | 
			
		||||
#elif defined(__DragonFly__)
 | 
			
		||||
#define OSNAME "dragonfly"
 | 
			
		||||
#elif defined(__NetBSD__)
 | 
			
		||||
#define OSNAME "netbsd"
 | 
			
		||||
#elif defined(__OpenBSD__)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -235,7 +235,7 @@
 | 
			
		|||
# if defined(linux)
 | 
			
		||||
#  define ARCH_PCI_INIT axpPciInit
 | 
			
		||||
#  define INCLUDE_XF86_MAP_PCI_MEM
 | 
			
		||||
# elif defined(__FreeBSD__) || defined(__OpenBSD__)
 | 
			
		||||
# elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
 | 
			
		||||
#  define ARCH_PCI_INIT freebsdPciInit
 | 
			
		||||
#  define INCLUDE_XF86_MAP_PCI_MEM
 | 
			
		||||
#  define INCLUDE_XF86_NO_DOMAIN
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -83,7 +83,7 @@ static pciBusInfo_t freebsdPci0 = {
 | 
			
		|||
/* bridge      */	NULL
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#if !defined(__OpenBSD__) && !defined(__FreeBSD__)
 | 
			
		||||
#if !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
 | 
			
		||||
#if X_BYTE_ORDER == X_BIG_ENDIAN
 | 
			
		||||
#ifdef __sparc__
 | 
			
		||||
#ifndef ASI_PL
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue