Ticket #6546: win32pkg.patch

File win32pkg.patch, 2.8 KB (added by Jeff Lu <jll544@…>, 16 years ago)
  • win32-packager.pl

     
    478478#     mysql-essential-5.1.30-win32.msi/from/http://mysql.mirrors.ilisys.com.au/
    479479# alternate: http://mysql.mirrors.ilisys.com.au/Downloads/MySQL-5.1/
    480480#     mysql-essential-5.1.30-win32.msi
    481 [ archive => $sources.'mysql-essential-5.1.31-win32.msi',
     481[ archive => $sources.'mysql-essential-5.1.33-win32.msi',
    482482  'fetch' => 'http://mysql.mirrors.ilisys.com.au/Downloads/'.
    483              'MySQL-5.1/mysql-essential-5.1.31-win32.msi',
     483             'MySQL-5.1/mysql-essential-5.1.33-win32.msi',
    484484  comment => 'fetch mysql binaries - this is a big download(35MB) '.
    485485             'so it might take a while' ],
    486486[ file    => "c:/Program Files/MySQL/MySQL Server 5.1/bin/libmySQL.dll",
    487   exec    => $dossources.'mysql-essential-5.1.31-win32.msi INSTALLLEVEL=2',
     487  exec    => $dossources.'mysql-essential-5.1.33-win32.msi INSTALLLEVEL=2',
    488488  comment => 'Install mysql - be sure to choose to do a "COMPLETE" install. '.
    489489             'You should also choose NOT to "configure the server now" ' ],
    490490
     
    590590 long double __cdecl __MINGW_NOTHROW strtold (const char * __restrict__, char ** __restrict__);
    591591' ],comment => 'write the patch for the the stdlib.h file'],
    592592# 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'],
    594596  shell   => ["cd /mingw/include","patch -p1 < stdlib_h.patch"],
    595597  comment => 'Apply stdlib.h patch file, if not already applied....' ],
    596598
     
    650652+/* Define to `int' if <sys/types.h> does not define. */
    651653+/* GCC 4.x reportedly defines pid_t. */
    652654+#ifndef _PID_T_
     655+#define _PID_T_
    653656+#define pid_t int
    654657+#endif
    655658+#endif
     
    18361839mkdir '.$unixmythtv.'/build/bin/sqldrivers
    18371840echo Copying QT plugin required dlls....
    18381841cp '.$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
     1842cp '.$unixmsys.'qt-win-opensource-src-4.4.3/plugins/sqldrivers/*.dll '.$unixmythtv.'build/bin/sqldrivers
     1843cp '.$unixmsys.'qt-win-opensource-src-4.4.3/plugins/codecs/*.a '.$unixmythtv.'build/lib/
     1844cp '.$unixmsys.'qt-win-opensource-src-4.4.3/plugins/codecs/*.dll '.$unixmythtv.'build/bin/
    18401845echo Copying ming and msys dlls to build folder.....
    18411846# pthread dlls and mingwm10.dll are copied from here:
    18421847cp /mingw/bin/*.dll '.$unixmythtv.'build/bin