[Pkg-tcltk-commits] r1813 - in tcl8.6/trunk/debian: . patches

sgolovan at alioth.debian.org sgolovan at alioth.debian.org
Mon Mar 21 12:56:51 UTC 2016


Author: sgolovan
Date: 2016-03-21 12:56:50 +0000 (Mon, 21 Mar 2016)
New Revision: 1813

Added:
   tcl8.6/trunk/debian/patches/finalize-notifier.diff
Modified:
   tcl8.6/trunk/debian/changelog
   tcl8.6/trunk/debian/control
   tcl8.6/trunk/debian/patches/series
   tcl8.6/trunk/debian/rules
Log:
[tcl8.6]
  * Applied a patch by Hirofumi Ogawa to fix a segfault on exit if run on
    hardware supporting HLE/RTM extensions (closes: #818697, #817824).
  * Sort the object files inside the static library using the C locale to make
    the build reproducible (closes: #818750).
  * Bumped standards version to 3.9.7.


Modified: tcl8.6/trunk/debian/changelog
===================================================================
--- tcl8.6/trunk/debian/changelog	2016-03-09 07:14:11 UTC (rev 1812)
+++ tcl8.6/trunk/debian/changelog	2016-03-21 12:56:50 UTC (rev 1813)
@@ -1,8 +1,12 @@
-tcl8.6 (8.6.5+dfsg-2) UNRELEASED; urgency=medium
+tcl8.6 (8.6.5+dfsg-2) unstable; urgency=medium
 
-  * NOT RELEASED YET
+  * Applied a patch by Hirofumi Ogawa to fix a segfault on exit if run on
+    hardware supporting HLE/RTM extensions (closes: #818697, #817824).
+  * Sort the object files inside the static library using the C locale to make
+    the build reproducible (closes: #818750).
+  * Bumped standards version to 3.9.7.
 
- -- Sergei Golovan <sgolovan at debian.org>  Thu, 03 Mar 2016 16:27:51 +0300
+ -- Sergei Golovan <sgolovan at debian.org>  Mon, 21 Mar 2016 15:35:01 +0300
 
 tcl8.6 (8.6.5+dfsg-1) unstable; urgency=medium
 

Modified: tcl8.6/trunk/debian/control
===================================================================
--- tcl8.6/trunk/debian/control	2016-03-09 07:14:11 UTC (rev 1812)
+++ tcl8.6/trunk/debian/control	2016-03-21 12:56:50 UTC (rev 1813)
@@ -4,7 +4,7 @@
 Maintainer: Debian Tcl/Tk Packagers <pkg-tcltk-devel at lists.alioth.debian.org>
 Uploaders: Sergei Golovan <sgolovan at debian.org>
 Build-Depends: debhelper (>= 9.0.0), dpkg-dev (>= 1.16.1~), zlib1g-dev
-Standards-Version: 3.9.6
+Standards-Version: 3.9.7
 Homepage: http://www.tcl.tk/
 
 Package: tcl8.6

Added: tcl8.6/trunk/debian/patches/finalize-notifier.diff
===================================================================
--- tcl8.6/trunk/debian/patches/finalize-notifier.diff	                        (rev 0)
+++ tcl8.6/trunk/debian/patches/finalize-notifier.diff	2016-03-21 12:56:50 UTC (rev 1813)
@@ -0,0 +1,20 @@
+Author: Hirofumi Ogawa <hirofumi at mail.parknet.co.jp>
+Description: Patch fixes segfault on exit for modern hardware.
+Last-Modified: Mon, 21 Mar 2016 15:31:38 +0300
+Bug: http://core.tcl.tk/tcl/tktview?name=d3071887db
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818697
+
+--- a/unix/tclUnixNotfy.c
++++ b/unix/tclUnixNotfy.c
+@@ -433,9 +433,11 @@
+ 			    "unable to write q to triggerPipe");
+ 		}
+ 		close(triggerPipe);
++		pthread_mutex_lock(&notifierMutex);
+ 		while(triggerPipe != -1) {
+ 		    pthread_cond_wait(&notifierCV, &notifierMutex);
+ 		}
++		pthread_mutex_unlock(&notifierMutex);
+ 		if (notifierThreadRunning) {
+ 		    int result = pthread_join((pthread_t) notifierThread, NULL);
+ 

Modified: tcl8.6/trunk/debian/patches/series
===================================================================
--- tcl8.6/trunk/debian/patches/series	2016-03-09 07:14:11 UTC (rev 1812)
+++ tcl8.6/trunk/debian/patches/series	2016-03-21 12:56:50 UTC (rev 1813)
@@ -4,3 +4,4 @@
 confsearch.diff
 non-linux.diff
 manpages.diff
+finalize-notifier.diff

Modified: tcl8.6/trunk/debian/rules
===================================================================
--- tcl8.6/trunk/debian/rules	2016-03-09 07:14:11 UTC (rev 1812)
+++ tcl8.6/trunk/debian/rules	2016-03-21 12:56:50 UTC (rev 1813)
@@ -50,6 +50,7 @@
 	$(MAKE) -C unix
 	# Build the static library
 	cd unix && \
+	  LC_ALL=C \
 	  ar cr libtcl$(v).a *.o && \
 	  ar d libtcl$(v).a tclAppInit.o && \
 	  ranlib libtcl$(v).a




More information about the Pkg-tcltk-commits mailing list