Attachment 'singular-3-0-4-4-20080711.p4.patch'

Download

   1 --- singular-3-0-4-4-20080711.p4/src/singuname.sh~	2007-10-11 19:46:37.000000000 +1000
   2 +++ singular-3-0-4-4-20080711.p4/src/singuname.sh	2009-03-17 20:45:24.617985525 +1100
   3 @@ -93,6 +93,17 @@
   4          exit 1
   5      fi
   6  # AMD-Opteron ########################################################
   7 +elif (echo $uname_a | $egrep "amd64" > $devnull)
   8 +then
   9 +    prefix=x86_64
  10 +    if (echo $uname_a | $egrep "FreeBSD" > $devnull)
  11 +    then
  12 +        echo ${prefix}-freebsd
  13 +        exit 0
  14 +    else
  15 +        echo ${prefix}-Unknown
  16 +        exit 1
  17 +    fi
  18  elif (echo $uname_m | $egrep "x86_64" > $devnull)
  19  then
  20      prefix=x86_64
  21 --- singular-3-0-4-4-20080711.p4/src/factory/cf_gmp.h~	2006-06-15 01:28:06.000000000 +1000
  22 +++ singular-3-0-4-4-20080711.p4/src/factory/cf_gmp.h	2009-03-20 04:49:46.474047718 +1100
  23 @@ -4,7 +4,7 @@
  24  #ifndef INCL_CF_GMP_H
  25  #define INCL_CF_GMP_H
  26  
  27 -#if defined(__cplusplus) && defined(__GNUC__)
  28 +#if 0 /* defined(__cplusplus) && defined(__GNUC__) */
  29  extern "C" {
  30  #undef __cplusplus
  31  #define _WCHAR_T_DECLARED
  32 --- singular-3-0-4-4-20080711.p4/spkg-install~	2009-02-24 06:25:57.000000000 +1100
  33 +++ singular-3-0-4-4-20080711.p4/spkg-install	2009-03-17 20:50:18.000575294 +1100
  34 @@ -98,6 +98,9 @@
  35  config()
  36  {
  37      cd $SRC
  38 +    cd Singular
  39 +    autoconf
  40 +    cd ..
  41      ./configure --prefix="$SAGE_LOCAL" \
  42                  --exec-prefix="$SAGE_LOCAL" \
  43                  --bindir="$SAGE_LOCAL"/bin \
  44 --- singular-3-0-4-4-20080711.p4/src/Singular/configure.in~	2008-06-11 02:12:28.000000000 +1000
  45 +++ singular-3-0-4-4-20080711.p4/src/Singular/configure.in	2009-03-17 20:43:35.040887242 +1100
  46 @@ -51,6 +51,11 @@
  47    AC_SUBST(SI_CPU_X86_64)
  48    AC_MSG_RESULT(SI_CPU_X86_64)
  49  fi
  50 +if test "$ac_cv_singuname" = x86_64-FreeBSD; then
  51 +  AC_DEFINE(SI_CPU_X86_64)
  52 +  AC_SUBST(SI_CPU_X86_64)
  53 +  AC_MSG_RESULT(SI_CPU_X86_64)
  54 +fi
  55  if test "$ac_cv_singuname" = ix86-Linux; then
  56    AC_DEFINE(SI_CPU_I386)
  57    AC_SUBST(SI_CPU_I386)
  58 @@ -435,7 +440,7 @@
  59  	        ac_lib_dl=yes
  60  	  fi
  61  	;;
  62 -	ix86-freebsd)
  63 +	*-freebsd)
  64  	  AC_CHECK_LIB(c, dlopen)
  65            if test "$ac_cv_lib_c_dlopen" = yes; then
  66  	  	LD_DYN_FLAGS="-Xlinker -E"
  67 --- singular-3-0-4-4-20080711.p4/src/kernel/mod_raw.cc~	2008-03-20 04:44:10.000000000 +1100
  68 +++ singular-3-0-4-4-20080711.p4/src/kernel/mod_raw.cc	2009-03-17 20:45:24.575985644 +1100
  69 @@ -204,6 +204,10 @@
  70  #define HAVE_ELF_SYSTEM
  71  #endif
  72  
  73 +#ifdef x86_64_freebsd
  74 +#define HAVE_ELF_SYSTEM
  75 +#endif
  76 +
  77  #ifdef sparc64_Linux
  78  #define HAVE_ELF_SYSTEM
  79  #endif

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-04-03 09:59:54, 1.7 KB) [[attachment:atlas-3.8.3.p0.txt]]
  • [get | view] (2009-04-03 10:00:08, 0.5 KB) [[attachment:base.txt]]
  • [get | view] (2009-04-03 10:00:32, 3.5 KB) [[attachment:clisp-2.46.p7.patch]]
  • [get | view] (2009-04-03 10:00:40, 0.4 KB) [[attachment:gd-2.0.35.p1.patch]]
  • [get | view] (2009-04-03 10:00:51, 0.3 KB) [[attachment:libgcrypt-1.4.3.p0.patch]]
  • [get | view] (2009-04-03 10:01:12, 0.3 KB) [[attachment:libgpg_error-1.6.p0.patch]]
  • [get | view] (2009-04-03 10:01:21, 2.0 KB) [[attachment:matplotlib-0.98.5.3rc0-svn6910.p3.patch]]
  • [get | view] (2009-04-03 10:01:43, 1.5 KB) [[attachment:numpy-1.2.0.p0.patch]]
  • [get | view] (2009-04-03 10:02:07, 1.0 KB) [[attachment:pari-2.3.3.p0.patch]]
  • [get | view] (2009-04-03 10:02:16, 0.8 KB) [[attachment:python-2.5.2.p9.patch]]
  • [get | view] (2009-04-03 10:02:24, 1.3 KB) [[attachment:r-2.6.1.p22.patch]]
  • [get | view] (2009-04-03 10:02:31, 0.8 KB) [[attachment:readline-5.2.p6.patch]]
  • [get | view] (2009-04-03 10:02:42, 1.3 KB) [[attachment:sage-3.4.patch]]
  • [get | view] (2009-03-28 21:23:23, 76.3 KB) [[attachment:sage-3.4.shar]]
  • [get | view] (2009-04-03 03:52:06, 25.7 KB) [[attachment:sage-3.4.tgz]]
  • [get | view] (2009-04-03 10:02:51, 0.6 KB) [[attachment:sage_scripts-3.4.patch]]
  • [get | view] (2009-04-03 10:02:57, 2.4 KB) [[attachment:singular-3-0-4-4-20080711.p4.patch]]
  • [get | view] (2009-04-03 10:03:26, 0.6 KB) [[attachment:tachyon-0.98beta.p8.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.