Ticket #33152: crosscompile.patch

File crosscompile.patch, 1.8 KB (added by adfernandes (Andrew Fernandes), 12 years ago)
  • files/configure.patch

     
    1 --- configure   2010-08-08 13:40:26.000000000 -0400
    2 +++ configure   2010-08-08 13:41:00.000000000 -0400
    3 @@ -16472,9 +16472,7 @@
    4    if (sizeof(mp_limb_t)*CHAR_BIT != GMP_LIMB_BITS
    5        || GMP_LIMB_BITS != mp_bits_per_limb) {
    6      std::cerr
    7 -      << "GMP header (gmp.h) and library (ligmp.*) bits-per-limb mismatch:\n"
    8 -      << "header gives " << __GMP_BITS_PER_MP_LIMB << ";\n"
    9 -      << "library gives " << mp_bits_per_limb << ".\n"
    10 +      << "GMP header (gmp.h) and library (ligmp.*) bits-per-limb mismatch!\n"
    11        << "This probably means you are on a bi-arch system and\n"
    12        << "you are compiling with the wrong header or linking with\n"
    13        << "the wrong library." << std::endl;
  • files/configure-crosscompile.patch

     
     1--- configure   2011-02-27 04:08:19.000000000 -0500
     2+++ configure   2012-02-21 12:11:19.000000000 -0500
     3@@ -9196,7 +9196,7 @@
     4 class B {
     5 private:
     6   int capacity;
     7-  A vec;
     8+  A vec[];
     9 
     10 public:
     11   void* operator new(size_t fixed_size, int c) {
  • Portfile

     
    3737                    sha1    915f1d8a7def10e540bf2806babf94dccd15852a \
    3838                    rmd160  68dd335f6e94df09ac4e19ccf08f1c1b280efe86
    3939
     40patchfiles          configure-crosscompile.patch
     41
    4042depends_build       port:m4
    4143
    4244depends_lib         port:gmp \