source: gs2-extensions/gnome-lib/trunk/src/packages/README.txt@ 27225

Last change on this file since 27225 was 27225, checked in by ak19, 9 years ago

Adding a README file tracking the changes made to various packages to get them to work for Greenstone

File size: 1.6 KB
3This file tracks changes made to gnome-lib/packages for Greenstone.
5The contents of glib-2.28.1.tar.gz and libxml2-2.9.0.tar.gz have been modified to allow these to compile on Darwin. They were already compiling on Linux machines without requiring any changes. After the changes were made, they compile on Darwin while still compiling on Linux. Checked by compiling GS3 on both Mac Darwin and CentOS Linux.
8The bugfixesx to get (this version of) gnome-lib to compile on Darwin:
101. In gs-glib-2.28.1/glib/gatomic.c
11 Bug error was "gatomic.c:885: error: syntax error before '*' token"
12 Solution described at which states
13 'Alternatively I got it to compile by adding an extra #include "gthread.h" just before line 885 in gatomic.c,
14 although I guess from the surrounding comments that that would result in inferior performance'
182. In gs-libxml2-2.9.0/threads.c
20a. First of 2 bugfixes to version gs-libxml2-2.9.0/threads.c is an INSERT of a new line around line 146
21 For a discussion, see
22 For the bugfixes to the 2.9.0 sourcecode see
23static pthread_once_t once_control_init = PTHREAD_ONCE_INIT;
24+ static pthread_mutex_t global_init_lock = PTHREAD_MUTEX_INITIALIZER;
26b. The 2nd and final bugfix to version gs-libxml2-2.9.0/threads.c is a DELETION of a line followed by an INSERT of a new line around line 146
28- once_control = PTHREAD_ONCE_INIT;
29+ once_control = once_control_init;
Note: See TracBrowser for help on using the repository browser.