File swami-compile-fix.diff of Package swami

--- src/libinstpatch/src/soundfont.c-dist	2005-09-30 18:54:20.000000000 +0200
+++ src/libinstpatch/src/soundfont.c	2005-09-30 18:54:51.000000000 +0200
@@ -611,7 +611,6 @@ instp_create_sample (IPSFont *sf, const 
   IPSample *sample;
 
   g_return_val_if_fail (sf != NULL, NULL);
-  g_return_val_if_fail (sample != NULL, NULL);
 
   sample = instp_sample_new ();
   if (!sample) return (NULL);
--- src/libinstpatch/src/Makefile.am-dist	2005-10-05 14:31:08.000000000 +0200
+++ src/libinstpatch/src/Makefile.am	2005-10-05 14:31:19.000000000 +0200
@@ -19,7 +19,7 @@
 	soundfont_priv.h
 
 libinstpatch_la_LDFLAGS = -static
-libinstpatch_la_CPPFLAGS = $(INSTP_DLL_EXPORT)
+libinstpatch_la_CPPFLAGS = $(INSTP_DLL_EXPORT) -fno-strict-aliasing
 
 INCLUDES = @GTK_CFLAGS@
 
openSUSE Build Service is sponsored by