File libspe2.ps.patch of Package libspe2

ps.c:57: warning: implicit declaration of function '_base_spe_ps_area_get' 
ps.c:57: warning: nested extern declaration of '_base_spe_ps_area_get'  
ps.c:57: warning: assignment makes pointer from integer without a cast
ps.c:65: warning: assignment makes pointer from integer without a cast
ps.c:73: warning: assignment makes pointer from integer without a cast
ps.c:81: warning: assignment makes pointer from integer without a cast   
ps.c:89: warning: assignment makes pointer from integer without a cast

Index: libspe2-2.3.0/libspe12/ps.c
===================================================================
--- libspe2-2.3.0.orig/libspe12/ps.c
+++ libspe2-2.3.0/libspe12/ps.c
@@ -28,6 +28,7 @@
 
 #include <sys/mman.h>
 
+#include "spebase.h"
 #include "spe.h"
 #include "spebase.h"
 
openSUSE Build Service is sponsored by