Package: dlm
Version: 0.trunk20060212-1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my dlm 0.trunk20060212-1.1 NMU.
diff -u dlm-0.trunk20060212/debian/changelog 
dlm-0.trunk20060212/debian/changelog
--- dlm-0.trunk20060212/debian/changelog
+++ dlm-0.trunk20060212/debian/changelog
@@ -1,3 +1,11 @@
+dlm (0.trunk20060212-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Add -lpthread when linking the shared library; fixes FTBFS on mips/mipsel.
+    (Closes: #358311)
+
+ -- Steinar H. Gunderson <[EMAIL PROTECTED]>  Sat,  3 Jun 2006 01:10:06 +0200
+
 dlm (0.trunk20060212-1) unstable; urgency=low
 
   * New snapshot.
diff -u dlm-0.trunk20060212/lib/Makefile dlm-0.trunk20060212/lib/Makefile
--- dlm-0.trunk20060212/lib/Makefile
+++ dlm-0.trunk20060212/lib/Makefile
@@ -46,10 +46,10 @@
        ${RANLIB} libdlm_lt.a 
 
 $(LIBNAME).so.${RELEASE_MAJOR}.${RELEASE_MINOR}: libdlm.po
-       $(CC) -pthread -shared -o $@ -Wl,-soname=$(LIBNAME).so.$(RELEASE_MAJOR) 
$^
+       $(CC) -pthread -shared -o $@ -Wl,-soname=$(LIBNAME).so.$(RELEASE_MAJOR) 
$^ -lpthread
 
 $(LIBNAME)_lt.so.${RELEASE_MAJOR}.${RELEASE_MINOR}: libdlm_lt.po
-       $(CC) -shared -o $@ -Wl,-soname=$(LIBNAME)_lt.so.$(RELEASE_MAJOR) $^
+       $(CC) -shared -o $@ -Wl,-soname=$(LIBNAME)_lt.so.$(RELEASE_MAJOR) $^ 
-lpthread
 
 libdlm.po: libdlm.c
        $(CC) $(CFLAGS) -D_REENTRANT -c -o $@ $<

Reply via email to