mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] [patch #4883] Mac OS X: Fix for broken Apple cpp


From: ditfau6
Subject: [Mldonkey-users] [patch #4883] Mac OS X: Fix for broken Apple cpp
Date: Thu, 9 Feb 2006 17:11:57 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; fr) AppleWebKit/420+ (KHTML, like Gecko) Safari/417.8

Follow-up Comment #3, patch #4883 (project mldonkey):

I applied your first methode without new results but it works when I remove 
directy #pragma..." in tar.ml and misc2.ml.

Some small modifications for OSX in /mldonkey/config/configure.in because
$host does not seem appropriate.

Environment of my OS :

[G4:~]ditfau6% env
SHELL=/bin/tcsh
USER=ditfau6
TERM_PROGRAM=iTerm.app
TERM=vt100
PWD=/Users/ditfau6
LOGNAME=ditfau6
HOSTTYPE=powermac
VENDOR=apple
OSTYPE=darwin
MACHTYPE=powerpc
SHLVL=1
GROUP=ditfau6
HOST=G4.local

diff -x CVS -uwNr /Users/guido/Documents/compile/mldonkey/config/configure.in
/Users/guido/Documents/compile/configure.in 
--- /Users/guido/Documents/compile/mldonkey/config/configure.in 2006-02-09
17:42:11.000000000 +0100
+++ /Users/guido/Documents/compile/configure.in 2006-02-09 17:46:21.000000000
+0100
@@ -22,8 +22,7 @@
 OS_FILES=unix
 OS_FILES2=unix
 SYSTEM=unknown
-FIX_BROKEN_CPP=
-case $host in
+case "`uname -s`" in
   *mingw*)
     SYSTEM=mingw
     OS_FILES=mingw
@@ -72,7 +71,7 @@
   *hppa*|*hpux*)
     SYSTEM=hpux
     ;;
-  *darwin*|*rhapsody*|*macosx*)
+  *Darwin*|*rhapsody*|*macosx*)
     SYSTEM=macosx
     AC_CHECK_PROG(SED, sed, sed)
     if test "$ac_cv_prog_SED" = "sed"; then
@@ -112,7 +111,7 @@
       AC_CHECK_PROG(CUT, cut, cut)
       if test "$ac_cv_prog_CUT" = "cut"; then
         SUB_VERSION3="CVS"
-       if [ test "$SYSTEM" = "freebsd"] || [ test "$SYSTEM" = "darwin"] || [
test "$SYSTEM" = "netbsd"]; then
+      if [ test "$SYSTEM" = "freebsd"] || [ test "$SYSTEM" = "macosx"] || [
test "$SYSTEM" = "netbsd"]; then          SCM_VERSION=`$STAT -f "%Sm"
./CVS/Entries | $SED -e 's/\(.*\) \(.*\) \(.*\) \(.*\)/\4-\1-\2 \3/'`
        else
          if [ test "$SYSTEM" = "openbsd"]; then

Unfortunatly this patch does not break the bug with gcc-3.3.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4883>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]