From: Perforce Review Daemon <p4review AT smee.org>
To: "Andraž " ruskie " Levstik" <ruskie AT mages.ath.cx>, "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT sourcemage.org>, "Arwed von Merkatz" <v.merkatz AT gmx.net>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "David Kowis" <dkowis+smgl-p4 AT shlrm.org>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Eric Sandall" <eric AT sandall.us>, "Ethan Grammatikidis" <eekee AT eekee.is-a-geek.org>, "Flavien Bridault" <f.bridault AT fra.net>, "Gareth Clay" <gareth AT caffeinefuelled.co.uk>, "George J. Sherwood" <george AT beernabeer.com>, "Jason Flatt" <jflatt AT sourcemage.org>, "Jeremy Blosser" <jblosser AT sourcemage.org>, "Juuso Alasuutari" <iuso AT sourcemage.org>, "Ladislav Hagara" <ladislav.hagara AT unob.cz>, "Maurizio Boriani" <baux AT member.fsf.org>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Pol Vinogradov" <vin.public AT gmail.com>, "Robin Cook" <rcook AT wyrms.net>, "Unet" <unet AT sourcemage.org>, "vladimir_marek" <vlmarek AT volny.cz>
Subject: [SM-Commit] PERFORCE change 77343 by Flavien Bridault for review
Date: Thu, 6 Apr 2006 13:15:00 +0100 (BST)
Change 77343 by flavien_bridault@flavien-Gargamel on 2006/04/06 13:11:21
@@ -1,58 +1,9 @@
-#------------------------------------------------------
-##
-## Force the system to use gcc33
-##
-## I really don't understand what this code does.
-##
-## Copied from libgcc2 from sorcery
-##
-##
-#------------------------------------------------------
+create_account sfs &&
-
-#---------------------------------------------------------------------
-## @param new path to add
-## @param old path
-## @Stdout new path
-## Echos the old path with new path prepended, separated with a ':'
-#---------------------------------------------------------------------
-function gcc33_prepend_path() {
-
- if test -z $2
- then echo $1
- else echo $1:$2
- fi
-
-}
-
-#---------------------------------------------------------------------
-## @param path
-##
-## Alters the environment so that gcc33 will be used for compiling and
-## building spells when the "gcc" command is used.
-##
-#---------------------------------------------------------------------
-function gcc33_add_paths() {
-
- export PATH=$( gcc33_prepend_path $1/bin $PATH )
- export LD_LIBRARY_PATH=$( gcc33_prepend_path $1/lib $LD_LIBRARY_PATH )
- export LD_RUN_PATH=$( gcc33_prepend_path $1/lib $LD_RUN_PATH )
- export INFOPATH=$( gcc33_prepend_path $1/info $INFOPATH )
- export CPPFLAGS="-I $1/include $CPPFLAGS"
-
-}
-
-gcc33_add_paths /opt/gcc33
-echo "Using gcc version: `gcc -dumpversion`"
-
-#---------------------------------------------------------------------
-##
-## End Messy USEGCC33 hack
-##
-#---------------------------------------------------------------------
-
-create_account sfs
-
+OPTS="$OPTS --with-gmp=/usr" &&
+if [ "$SFS_CVS" == "y" ]; then
+ ./setup
+fi &&
# needed for gcc 3.3
-sedit "s:-Werror::" configure &&
+sed -i "s:-Werror::" configure &&
default_build
@@ -1,3 +1,10 @@
Trying to resolve http://bugs.sourcemage.org/show_bug.cgi?id=5824
-Current version does not compile with gcc3.4, nor CVS version
+Current version does not compile with gcc3.3, CVS version is ok
+
+Have to find a workaround to pass something to "sfskey gen -P
/etc/sfs/sfs_host_key" so that
+it doesn't wait for a user prompt.
+
+echo "foo
+foofoofoofoo" | sfskey gen -P /etc/sfs/sfs_host_key
+doesn't work
[SM-Commit] PERFORCE change 77343 by Flavien Bridault for review,
Perforce Review Daemon, 04/06/2006