I got ion3 working tonight. All of the build prereqs are already in elatte 
except for lua50 and hevea, both of which build cleanly from ubuntu/breezy 
sources. Ion3 builds from breezy sources with the following dpatch. I have 
tested it out, and it works fine.

This is a really fun system to hack on, btw; I have been waiting for a debian 
solaris for years.
 -nld

ion3-20050625/debian/patches/209_gnusol.diff
#! /bin/sh -e
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) patch -f --no-backup-if-mismatch -p1 < $0;;
-unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac

exit 0

@DPATCH@
diff -Nur ion3-20050625/system.mk.orig ion3-20050625/system.mk
--- ion3-20050625/system.mk.orig 2005-12-13 20:21:54.118765000 -0800
+++ ion3-20050625/system.mk 2005-12-13 20:22:30.693286000 -0800
@@ -107,7 +107,7 @@
# asprintf and vasprintf in the c library. (gnu libc has.)
# If HAS_SYSTEM_ASPRINTF is not defined, an implementation
# in sprintf_2.2/ is used.
-HAS_SYSTEM_ASPRINTF=1
+#HAS_SYSTEM_ASPRINTF=1


# If you're on an archaic system (such as relatively recent *BSD releases)
@@ -116,7 +116,7 @@
#DEFINES += -DCF_NO_LOCALE

# On some other systems you may something like this:
-#EXTRA_LIBS += -lintl
+EXTRA_LIBS += -lintl
#EXTRA_INCLUDES +=


@@ -151,7 +151,7 @@
# SunOS, (Irix)
#XOPEN_SOURCE=-D__EXTENSIONS__

-C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY
+C99_SOURCE=-std=c99 -DCF_HAS_VA_COPY -D_XPG6

# The -DCF_HAS_VA_COPY option should allow for some optimisations, and
# in some cases simply defining




_______________________________________________
GNU/Solaris Development mailing list
[email protected]

Reply via email to