SOURCES: vidix-ppc.patch (NEW) - at least builds; has some chances...

qboosh qboosh at pld-linux.org
Tue Dec 12 01:11:56 CET 2006


Author: qboosh                       Date: Tue Dec 12 00:11:56 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- at least builds; has some chances to work only with helper

---- Files affected:
SOURCES:
   vidix-ppc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/vidix-ppc.patch
diff -u /dev/null SOURCES/vidix-ppc.patch:1.1
--- /dev/null	Tue Dec 12 01:11:56 2006
+++ SOURCES/vidix-ppc.patch	Tue Dec 12 01:11:50 2006
@@ -0,0 +1,43 @@
+--- vidix-0.9.9.2/libdha/sysdep/pci_powerpc.c.orig	2003-03-31 15:53:07.000000000 +0000
++++ vidix-0.9.9.2/libdha/sysdep/pci_powerpc.c	2006-12-12 00:10:49.000000000 +0000
+@@ -7,7 +7,6 @@
+ static int pci_config_type( void ) { return 1; }
+ #ifdef linux
+ #include <fcntl.h>
+-#include <sys/io.h>
+ #include <linux/pci.h>
+ #include "../../bswap.h"
+ #endif
+--- vidix-0.9.9.2/libdha/sysdep/pci_linux.c.orig	2005-06-28 15:20:32.000000000 +0000
++++ vidix-0.9.9.2/libdha/sysdep/pci_linux.c	2006-12-12 00:13:35.000000000 +0000
+@@ -7,7 +7,7 @@
+ #ifdef __i386__
+ #include <sys/perm.h>
+ #else
+-#ifndef __sparc__
++#if !defined(__sparc__) && !defined(__powerpc__)
+ #include <sys/io.h>
+ #endif
+ #endif
+--- vidix-0.9.9.2/libdha/sysdep/AsmMacros_powerpc.h.orig	2003-03-31 15:53:06.000000000 +0000
++++ vidix-0.9.9.2/libdha/sysdep/AsmMacros_powerpc.h	2006-12-12 00:22:13.000000000 +0000
+@@ -7,7 +7,7 @@
+ #ifndef __ASM_MACROS_POWERPC_H
+ #define __ASM_MACROS_POWERPC_H
+ 
+-#if defined(Lynx) || defined(__OpenBSD__)
++#if defined(Lynx) || defined(__OpenBSD__) || defined(linux)
+ 
+ extern unsigned char *ioBase;
+ 
+--- vidix-0.9.9.2/libdha/sysdep/pci_powerpc.c.orig	2006-12-12 00:22:48.000000000 +0000
++++ vidix-0.9.9.2/libdha/sysdep/pci_powerpc.c	2006-12-12 00:24:25.000000000 +0000
+@@ -12,6 +12,8 @@
+ #endif
+ 
+ #ifdef linux
++unsigned char *ioBase = NULL;
++
+ static int pci_get_vendor(
+ 	  unsigned char bus,
+ 	  unsigned char dev,
================================================================


More information about the pld-cvs-commit mailing list