Package: libsigsegv
Version: 2.4-3
Severity: wishlist
Tags: patch

Hi,

Please generate the shared library when compiling libsigsegv.
GNU Smalltalk 3.0 will need this shared library.

The attached patch enables the shared library compilation and adds a
libsigsegv0 package. (It also removes the `dirs' file which is not
needed and causes empty dirs to be included in every package).

Thanks,

Thomas
diff -u libsigsegv-2.4/debian/control libsigsegv-2.4/debian/control
--- libsigsegv-2.4/debian/control
+++ libsigsegv-2.4/debian/control
@@ -7,8 +7,20 @@
 Standards-Version: 3.7.2.0
 XS-X-Vcs-Darcs: http://cl-debian.alioth.debian.org/repository/pvaneynd/libsigsegv/
 
+Package: libsigsegv0
+Section: libs
+Depends: ${shlibs:Depends}
+Architecture: any
+Description: Library for handling page faults in a portable way
+ GNU libsigsegv is a library that allows handling page faults in a
+ portable way. It is used e.g. for generational garbage collectors
+ and stack overflow handlers.
+ .
+ This package contains the shared library.
+
 Package: libsigsegv-dev
 Section: libdevel
+Depends: libsigsegv0 (= ${binary:Version})
 Architecture: any
 Description: Library for handling page faults in a portable way
  GNU libsigsegv is a library that allows handling page faults in a
reverted:
--- libsigsegv-2.4/debian/dirs
+++ libsigsegv-2.4.orig/debian/dirs
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
diff -u libsigsegv-2.4/debian/rules libsigsegv-2.4/debian/rules
--- libsigsegv-2.4/debian/rules
+++ libsigsegv-2.4/debian/rules
@@ -39,7 +39,7 @@
 	  ./build-aux/install-sh ./configure
 
 
-	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-shared
 
 
 build: build-stamp
only in patch2:
unchanged:
--- libsigsegv-2.4.orig/debian/libsigsegv0.files
+++ libsigsegv-2.4/debian/libsigsegv0.files
@@ -0,0 +1 @@
+usr/lib/libsigsegv.so.0*

Reply via email to