Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #857: tango-0.99.4_dynload.patch

File tango-0.99.4_dynload.patch, 2.3 kB (added by jascha, 11 months ago)
  • lib/common/tango/posix.mak

    old new  
    2020ADD_CFLAGS= 
    2121ADD_DFLAGS= 
    2222 
    23 CFLAGS=-O $(ADD_CFLAGS) 
     23CFLAGS=-O -fPIC $(ADD_CFLAGS) 
    2424#CFLAGS=-g $(ADD_CFLAGS) 
    2525 
    2626DFLAGS=-release -O -inline -w -nofloat -version=Posix $(ADD_DFLAGS) 
  • lib/gdc-posix.mak

    old new  
    1818LC=$(AR) -qsv 
    1919DC=gdmd 
    2020 
    21 ADD_CFLAGS= 
    22 ADD_DFLAGS=-q,-nostdinc -I`pwd`/common -I`pwd`/.. -I`pwd`/compiler/gdc 
     21ADD_CFLAGS=-fPIC 
     22ADD_DFLAGS=-q,-nostdinc -fPIC -I`pwd`/common -I`pwd`/.. -I`pwd`/compiler/gdc 
    2323 
    2424targets : lib doc 
    2525all     : lib doc 
  • lib/compiler/gdc/configure

    old new  
    93949394                ;; 
    93959395  linux*) 
    93969396        #d_gc_stack=GC_Use_Stack_Proc_Stat 
    9397         d_gc_data="$d_gc_data GC_Use_Data_Fixed" 
     9397        #d_gc_data="$d_gc_data GC_Use_Data_Fixed" 
     9398        d_gc_data="$d_gc_data GC_Use_Data_Dyld" 
    93989399        #have_proc_maps=1 
    93999400        ;; 
    94009401  skyos*) 
  • tango/text/locale/Posix.d

    old new  
    9898} 
    9999 
    100100ulong getUtcTime() { 
    101    int t; 
     101   long t; 
    102102   time(&t); 
    103103   gmtime(&t); 
    104104   return cast(ulong)((cast(long)t * 10000000L) + 116444736000000000L); 
  • tango/text/Regex.d

    old new  
    36433643         * Append output of C's printf() to internal buffer. 
    36443644         */ 
    36453645 
    3646         void printf(char[] format, ...) 
     3646/+         void printf(char[] format, ...) 
    36473647        { 
    36483648        va_list ap; 
    36493649        ap = cast(va_list)&format; 
    36503650        ap += format.sizeof; 
    36513651        vprintf(format, ap); 
    36523652        } 
    3653  
     3653 +/ 
    36543654        /***************************************** 
    36553655         * At offset index into buffer, create nbytes of space by shifting upwards 
    36563656         * all data past index.