Ticket #6546: win32pkg.patch
File win32pkg.patch, 2.8 KB (added by , 16 years ago) |
---|
-
win32-packager.pl
478 478 # mysql-essential-5.1.30-win32.msi/from/http://mysql.mirrors.ilisys.com.au/ 479 479 # alternate: http://mysql.mirrors.ilisys.com.au/Downloads/MySQL-5.1/ 480 480 # mysql-essential-5.1.30-win32.msi 481 [ archive => $sources.'mysql-essential-5.1.3 1-win32.msi',481 [ archive => $sources.'mysql-essential-5.1.33-win32.msi', 482 482 'fetch' => 'http://mysql.mirrors.ilisys.com.au/Downloads/'. 483 'MySQL-5.1/mysql-essential-5.1.3 1-win32.msi',483 'MySQL-5.1/mysql-essential-5.1.33-win32.msi', 484 484 comment => 'fetch mysql binaries - this is a big download(35MB) '. 485 485 'so it might take a while' ], 486 486 [ file => "c:/Program Files/MySQL/MySQL Server 5.1/bin/libmySQL.dll", 487 exec => $dossources.'mysql-essential-5.1.3 1-win32.msi INSTALLLEVEL=2',487 exec => $dossources.'mysql-essential-5.1.33-win32.msi INSTALLLEVEL=2', 488 488 comment => 'Install mysql - be sure to choose to do a "COMPLETE" install. '. 489 489 'You should also choose NOT to "configure the server now" ' ], 490 490 … … 590 590 long double __cdecl __MINGW_NOTHROW strtold (const char * __restrict__, char ** __restrict__); 591 591 ' ],comment => 'write the patch for the the stdlib.h file'], 592 592 # apply it!? 593 [ grep => ['__inline__ double __cdecl __MINGW_NOTHROW strtod ',$mingw.'include/stdlib.h'], 593 # mingwrt-3.15.2 already patched but has <CR> before strtod, so just 594 # grep for the __inline__ statement before it (only instance in the file) 595 [ grep => ['__inline__ double __cdecl __MINGW_NOTHROW',$mingw.'include/stdlib.h'], 594 596 shell => ["cd /mingw/include","patch -p1 < stdlib_h.patch"], 595 597 comment => 'Apply stdlib.h patch file, if not already applied....' ], 596 598 … … 650 652 +/* Define to `int' if <sys/types.h> does not define. */ 651 653 +/* GCC 4.x reportedly defines pid_t. */ 652 654 +#ifndef _PID_T_ 655 +#define _PID_T_ 653 656 +#define pid_t int 654 657 +#endif 655 658 +#endif … … 1836 1839 mkdir '.$unixmythtv.'/build/bin/sqldrivers 1837 1840 echo Copying QT plugin required dlls.... 1838 1841 cp '.$unixmsys.'qt-3.3.x-p8/plugins/sqldrivers/libqsqlmysql.dll '.$unixmythtv.'build/bin/sqldrivers 1839 cp '.$unixmsys.'qt-win-opensource-src-4.4.3/plugins/sqldrivers/qsqlmysql4.dll '.$unixmythtv.'build/bin/sqldrivers 1842 cp '.$unixmsys.'qt-win-opensource-src-4.4.3/plugins/sqldrivers/*.dll '.$unixmythtv.'build/bin/sqldrivers 1843 cp '.$unixmsys.'qt-win-opensource-src-4.4.3/plugins/codecs/*.a '.$unixmythtv.'build/lib/ 1844 cp '.$unixmsys.'qt-win-opensource-src-4.4.3/plugins/codecs/*.dll '.$unixmythtv.'build/bin/ 1840 1845 echo Copying ming and msys dlls to build folder..... 1841 1846 # pthread dlls and mingwm10.dll are copied from here: 1842 1847 cp /mingw/bin/*.dll '.$unixmythtv.'build/bin