[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771283: unblock: libsdl2/2.0.2+dfsg1-6



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package libsdl2

The bug 770670 [1] reports that compilation of a software including
libsdl2 is not possible on ppc64el when g++ is used with option
"-std=c++0x".

The fix is to disable a compilation option (configure
--disable-altivec) when compiling on ppc64el, just like when compiling
on powerpc. Only ppc64el version of the package will actually be
different.

Here's the debdiff:

$ debdiff libsdl2_2.0.2+dfsg1-{5,6}.dsc
diff -Nru libsdl2-2.0.2+dfsg1/debian/changelog libsdl2-2.0.2+dfsg1/debian/changelog
--- libsdl2-2.0.2+dfsg1/debian/changelog        2014-10-18 19:02:01.000000000 +0200
+++ libsdl2-2.0.2+dfsg1/debian/changelog        2014-11-27 18:53:32.000000000 +0100
@@ -1,3 +1,9 @@
+libsdl2 (2.0.2+dfsg1-6) unstable; urgency=medium
+
+  * rules: disable activec for ppc64el build (Closes: #770670)
+
+ -- Dominique Dumont <dod@debian.org>  Thu, 27 Nov 2014 18:52:50 +0100
+
 libsdl2 (2.0.2+dfsg1-5) unstable; urgency=medium
 
   * patch to use default screen from DISPLAY (Closes: #754401)
diff -Nru libsdl2-2.0.2+dfsg1/debian/rules libsdl2-2.0.2+dfsg1/debian/rules
--- libsdl2-2.0.2+dfsg1/debian/rules    2014-10-18 19:02:01.000000000 +0200
+++ libsdl2-2.0.2+dfsg1/debian/rules    2014-11-27 18:53:32.000000000 +0100
@@ -16,6 +16,10 @@
   confflags += --disable-altivec
 endif
 
+ifeq ($(DEB_HOST_ARCH_CPU),ppc64el)
+  confflags += --disable-altivec
+endif
+
 # disable Wayland on non-Linux, they do not support other kernels at the moment
 ifeq (hurd,$(findstring hurd,$(DEB_HOST_ARCH_CPU)))
   confflags += --disable-video-wayland


unblock libsdl2/2.0.2+dfsg1-6

All the best

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770670

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: