File keyutils-1.2-strict-aliasing-punning.patch of Package keyutils

Index: Makefile
===================================================================
--- Makefile.orig	2006-08-22 18:40:00.000000000 +0200
+++ Makefile	2008-11-12 01:04:22.000000000 +0100
@@ -76,7 +76,7 @@ keyctl: keyctl.c keyutils.h Makefile
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
 
 request-key: request-key.c keyutils.h Makefile
-	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
+	$(CC) $(CFLAGS) -fno-strict-aliasing $(LDFLAGS) -o $@ $< -L. -lkeyutils -Wl,-rpath,$(LIB)
 
 
 MAN1	:= $(DESTDIR)/usr/share/man/man1
openSUSE Build Service is sponsored by