tags 796721 patch
thanks

Attached is a tntnet patch for the GCC 5 transition, with a library
package rename.  Tested to work with cxxtools which had made the
transition.
diff -Nru tntnet-2.2.1/debian/changelog tntnet-2.2.1/debian/changelog
--- tntnet-2.2.1/debian/changelog	2014-01-22 19:31:26.000000000 +0200
+++ tntnet-2.2.1/debian/changelog	2015-09-05 18:57:54.000000000 +0300
@@ -1,3 +1,11 @@
+tntnet (2.2.1-2) unstable; urgency=medium
+
+  * Bump library package name to 12v5 for C++ ABI transition.  (Closes:
+    #796721)
+  * Bump Standards-Version to 3.9.6 (No changes necessary)
+
+ -- Kari Pahula <k...@debian.org>  Sat, 05 Sep 2015 18:57:54 +0300
+
 tntnet (2.2.1-1) unstable; urgency=high
 
   * New upstream release (SONAME 12)
diff -Nru tntnet-2.2.1/debian/control tntnet-2.2.1/debian/control
--- tntnet-2.2.1/debian/control	2014-01-22 18:14:31.000000000 +0200
+++ tntnet-2.2.1/debian/control	2015-09-06 11:56:31.000000000 +0300
@@ -2,8 +2,8 @@
 Section: httpd
 Priority: extra
 Maintainer: Kari Pahula <k...@debian.org>
-Build-Depends: cdbs, debhelper (>= 9), libcxxtools-dev (>= 2.2.1), libltdl-dev, zip, pkg-config, dh-autoreconf, libtool, libssl-dev
-Standards-Version: 3.9.5
+Build-Depends: cdbs, debhelper (>= 9), libcxxtools-dev (>= 2.2.1-2), libltdl-dev, zip, pkg-config, dh-autoreconf, libtool, libssl-dev
+Standards-Version: 3.9.6
 Homepage: http://www.tntnet.org/
 
 Package: tntnet
@@ -120,11 +120,13 @@
  it scalable. It uses a dynamic pool of worker threads, which answer
  requests from HTTP clients.
 
-Package: libtntnet12
+Package: libtntnet12v5
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: tntnet-runtime
+Breaks: libtntnet12
+Replaces: libtntnet12
 Description: Tntnet libraries
  Tntnet has a template-language called ecpp similar to PHP, JSP or
  Mason, where you can embed c++ code inside a HTML page to generate
@@ -161,7 +163,7 @@
 Package: libtntnet-dev
 Architecture: any
 Section: libdevel
-Depends: ${shlibs:Depends}, ${misc:Depends}, libcxxtools-dev, libtntnet12 (= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, libcxxtools-dev, libtntnet12v5 (= ${binary:Version})
 Conflicts: tntnet-dev (<< 1.6.3-3)
 Replaces: tntnet-dev (<< 1.6.3-3)
 Description: Tntnet library development headers
diff -Nru tntnet-2.2.1/debian/libtntnet12.install tntnet-2.2.1/debian/libtntnet12.install
--- tntnet-2.2.1/debian/libtntnet12.install	2011-08-24 20:06:43.000000000 +0300
+++ tntnet-2.2.1/debian/libtntnet12.install	1970-01-01 02:00:00.000000000 +0200
@@ -1 +0,0 @@
-debian/tmp/usr/lib/lib*.so.*		usr/lib
diff -Nru tntnet-2.2.1/debian/libtntnet12v5.install tntnet-2.2.1/debian/libtntnet12v5.install
--- tntnet-2.2.1/debian/libtntnet12v5.install	1970-01-01 02:00:00.000000000 +0200
+++ tntnet-2.2.1/debian/libtntnet12v5.install	2011-08-24 20:06:43.000000000 +0300
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lib*.so.*		usr/lib

Reply via email to