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

Bug#692449: unblock: bliss/0.72-4



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

Please unblock package bliss

There are two simple fixes (one line in -3 and two lines in -4).

The RCish fix is in 0.72-4. In versions 0.72-2 and 0.72-3, if the user
neglects to define the preprocessor symbol BLISS_USE_GMP when
compiling their code, it will build successfuly but segfault at
runtime.  This is fixed in -4. The fix in -3 is needed for this to
work transparently.

bliss is a leaf package in Wheezy, but I've already had bug reports
(on the bugtracker of an upstream project) for -3.

Here is the debdiff, less the changelog stanzas.

diff -u bliss-0.72/debian/Makefile.shlib bliss-0.72/debian/Makefile.shlib
--- bliss-0.72/debian/Makefile.shlib
+++ bliss-0.72/debian/Makefile.shlib
@@ -15,7 +15,7 @@
 	$(CC) -fPIC -c $(CFLAGS) -o $@ $<
 
 libbliss.so: $(GMPSHOBJS)
-	$(CC) -shared -Wl,-soname,$(SONAME) -o $(SOFULL) $^
+	$(CC) -shared -Wl,-soname,$(SONAME) $(LIB) -o $(SOFULL) $^
 	ln -sf $(SOFULL) $(SONAME)
 	ln -sf $(SOFULL) libbliss.so
 
only in patch2:
unchanged:
--- bliss-0.72.orig/defs.hh
+++ bliss-0.72/defs.hh
@@ -23,6 +23,8 @@
   along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+#undef BLISS_USE_GMP
+#define BLISS_USE_GMP
 
 namespace bliss {
 


unblock bliss/0.72-4

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

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


Reply to: