[Libreoffice-commits] .: liblangtag/liblangtag-0.4.0-windows.patch

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Nov 13 02:17:55 PST 2012


 liblangtag/liblangtag-0.4.0-windows.patch |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 2db711ac490f966acd8fb09acb66bd3fdff59664
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Tue Nov 13 11:17:28 2012 +0100

    Fix the pthread branch of lt-atomic.h
    
    Change-Id: I12b8c5e43dbe96fe9e2b2175dc6bb6bf15a8bdf8

diff --git a/liblangtag/liblangtag-0.4.0-windows.patch b/liblangtag/liblangtag-0.4.0-windows.patch
index ca87c37..b76dfe9 100644
--- a/liblangtag/liblangtag-0.4.0-windows.patch
+++ b/liblangtag/liblangtag-0.4.0-windows.patch
@@ -82,6 +82,15 @@
  LT_INLINE_FUNC int
  lt_atomic_int_get(volatile int *v)
  {
+@@ -123,7 +153,7 @@
+ {
+ 	lt_bool_t retval;
+ 
+-	lt_return_if_fail (v != NULL, FALSE);
++       lt_return_val_if_fail (v != NULL, FALSE);
+ 
+ 	pthread_mutex_lock(&__lt_atomic_lock);
+ 	retval = --(*v) == 0;
 --- misc/liblangtag-0.4.0/liblangtag/lt-messages.h
 +++ misc/build/liblangtag-0.4.0/liblangtag/lt-messages.h
 @@ -298,10 +298,17 @@


More information about the Libreoffice-commits mailing list