Control: severity -1 serious
Control: tags -1 patch

On Sat, Dec 07, 2019 at 02:36:37PM +0100, Bernhard Übelacker wrote:
>...
> Then these flags get used instead:
>   -mtune=generic -mfpmath=sse -msse -msse2
> Do these also violate the i386 Buster baseline?

Yes, the i386 baseline contains no SSE (and no MMX).
Attached debdiff should fix both problems.

In a semi-related note, it would be autobuilding this package
would be requested by the maintainer:
https://www.debian.org/doc/manuals/developers-reference/pkgs.en.html#marking-non-free-packages-as-auto-buildable

> Kind regards,
> Bernhard

cu
Adrian
diff -Nru freespace2-3.7.4+repack/debian/patches/i386-baseline.patch 
freespace2-3.7.4+repack/debian/patches/i386-baseline.patch
--- freespace2-3.7.4+repack/debian/patches/i386-baseline.patch  1970-01-01 
02:00:00.000000000 +0200
+++ freespace2-3.7.4+repack/debian/patches/i386-baseline.patch  2018-07-12 
11:57:59.000000000 +0300
@@ -0,0 +1,15 @@
+Description: SSE is not part of the i386 baseline
+Author: Adrian Bunk <b...@debian.org>
+Bug-Debian: https://bugs.debian.org/946308
+
+--- freespace2-3.7.4+repack.orig/configure.ac
++++ freespace2-3.7.4+repack/configure.ac
+@@ -158,7 +158,7 @@ case "$target" in
+               fs2_os_linux="yes"
+ 
+               if test "$fs2_generic_architecture" = "yes" ; then
+-                      D_CFLAGS="$D_CFLAGS -mtune=generic -mfpmath=sse -msse 
-msse2"
++                      D_CFLAGS="$D_CFLAGS -mtune=generic"
+               else
+                       D_CFLAGS="$D_CFLAGS -march=native"
+               fi
diff -Nru freespace2-3.7.4+repack/debian/patches/series 
freespace2-3.7.4+repack/debian/patches/series
--- freespace2-3.7.4+repack/debian/patches/series       2015-04-16 
04:46:03.000000000 +0300
+++ freespace2-3.7.4+repack/debian/patches/series       2018-07-12 
11:57:59.000000000 +0300
@@ -0,0 +1 @@
+i386-baseline.patch
diff -Nru freespace2-3.7.4+repack/debian/rules 
freespace2-3.7.4+repack/debian/rules
--- freespace2-3.7.4+repack/debian/rules        2018-07-12 11:47:25.000000000 
+0300
+++ freespace2-3.7.4+repack/debian/rules        2018-07-12 11:57:59.000000000 
+0300
@@ -15,7 +15,7 @@
 $(info DEB_BUILD_MAINT_OPTIONS:$(origin 
DEB_BUILD_MAINT_OPTIONS)=$(DEB_BUILD_MAINT_OPTIONS))
 
 #LDFLAGS+= -Wl,--as-needed
-CONF_O=--bindir=/usr/games --disable-silent-rules --enable-speech
+CONF_O=--bindir=/usr/games --disable-silent-rules --enable-speech 
--enable-generic-architecture
 
 %:
        dh $@

Reply via email to