Author: glen                         Date: Sun Dec 16 13:54:20 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- drop -Werror on alpha and sparc; rel 3

---- Files affected:
SPECS:
   openhpi.spec (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: SPECS/openhpi.spec
diff -u SPECS/openhpi.spec:1.34 SPECS/openhpi.spec:1.35
--- SPECS/openhpi.spec:1.34     Sun Dec  2 00:04:29 2007
+++ SPECS/openhpi.spec  Sun Dec 16 14:54:15 2007
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):     Implementacja HPI (Hardware Platform Interface) Service 
Availability Forum
 Name:          openhpi
 Version:       2.10.1
-Release:       2
+Release:       3
 License:       BSD
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/openhpi/%{name}-%{version}.tar.gz
@@ -170,10 +170,25 @@
 %patch6 -p1
 
 # speed up build, lower disk space usage
-for f in `find . -name Makefile.am | xargs grep -l 'AM_CFLAGS.* -g '`; do
-       %{__perl} -pi -e 's/^(AM_CFLAGS.* )-g /$1 /' $f
+for f in $(find -name Makefile.am | xargs grep -l 'AM_CFLAGS.* -g '); do
+       %{__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}
@@ -292,6 +307,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2007-12-16 13:54:15  glen
+- drop -Werror on alpha and sparc; rel 3
+
 Revision 1.34  2007-12-01 23:04:29  qboosh
 - updated rtas patch to add missing headers (from SVN)
 - rtas plugin R: lsvpd
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to