SPECS: openhpi.spec - updated types patch - g_array_index() vs -Werror issu...

qboosh qboosh at pld-linux.org
Thu Jul 10 18:15:44 CEST 2008


Author: qboosh                       Date: Thu Jul 10 16:15:44 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated types patch
- g_array_index() vs -Werror issue on sparc seems to be worked around upstream

---- Files affected:
SPECS:
   openhpi.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/openhpi.spec
diff -u SPECS/openhpi.spec:1.38 SPECS/openhpi.spec:1.39
--- SPECS/openhpi.spec:1.38	Mon Jul  7 15:46:02 2008
+++ SPECS/openhpi.spec	Thu Jul 10 18:15:38 2008
@@ -176,21 +176,6 @@
 	%{__sed} -i -e 's/^\(AM_CFLAGS.* \)-g /\1 /' $f
 done
 
-%ifarch alpha sparc
-# event.c: In function `process_hpi_event':
-# event.c:236: warning: cast increases required alignment of target type
-# event.c: In function `oh_process_events':
-# event.c:410: warning: cast increases required alignment of target type
-# make[1]: *** [event.lo] Error 1
-# for this code:
-# sid = g_array_index(sessions, SaHpiSessionIdT, i);
-# where:
-# typedef SaHpiUint32T SaHpiSessionIdT;
-# and:
-# #define g_array_index(a,t,i)      (((t*) (a)->data) [(i)])
-%{__sed} -i -e 's/-Werror//' configure.ac
-%endif
-
 %build
 %{__libtoolize}
 %{__aclocal}
@@ -309,6 +294,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2008/07/10 16:15:38  qboosh
+- updated types patch
+- g_array_index() vs -Werror issue on sparc seems to be worked around upstream
+
 Revision 1.38  2008/07/07 13:46:02  sls
 - added gcc43.patch
 - rel. 1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openhpi.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list