Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#31 needed to allow building on MacOS 10.3.9

open
nobody
5
2006-09-02
2006-09-02
Anonymous
No

* need to upgrade to libtool 1.5.22;

* in sodipodi-0.34/src/Makefile.in, darwin 7.9.0's linker doesn't
support the --export-dynamic flag (just removing it seems OK).
automake probably provides a variable that contains the correct flag
according to the architecture;

* need to patch sodipodi-0.34/src/helper/units.h (the present code
produces a SPUnitBase variable in each .o file that is compilated from a
.c file that includes the header, which darwin 7.9.0's linker complains
about):
diff -ur sodipodi-0.34/src/helper/units.h sodipodi-0.34-patch/src/
helper/units.h
--- sodipodi-0.34/src/helper/units.h Thu Nov 28 13:18:50 2002
+++ sodipodi-0.34-patch/src/helper/units.h Sun Sep 3 00:17:
29 2006
@@ -44,7 +44,7 @@
* The base absolute unit is 1/72th of an inch (we are gnome PRINT,
so sorry SI)
*/

-enum {
+extern enum {
SP_UNIT_DIMENSIONLESS = (1 << 0), /* For percentages and like
*/
SP_UNIT_ABSOLUTE = (1 << 1), /* Real world distances - i.e. mm,
cm... */
SP_UNIT_DEVICE = (1 << 2), /* Semi-real device-dependent
distances i.e. pixels */

--
Nicolas

Discussion