Author: pebender
Date: Tue Feb 17 19:36:22 2009
New Revision: 4404

Added:
    trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.77-configure.patch
    trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.77-cross.patch
    trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.77-perl.patch.gar
Removed:
    trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.75-configure.patch
    trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.75-cross.patch
    trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.75-perl.patch.gar
Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
    trunk/gar-minimyth/script/db/mysql/Makefile
    trunk/gar-minimyth/script/db/mysql/checksums

Log:
- Updated package db/mysql.



Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt     (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt     Tue Feb 17  
19:36:22 2009
@@ -43,6 +43,7 @@
      Added nvidia/nvidia-180.29.

  Updated packages
+    Updated db/mysql.
      Updated devel/binutils.
      Updated disk/hdparm.
      Updated emulators/stella.

Modified: trunk/gar-minimyth/script/db/mysql/Makefile
==============================================================================
--- trunk/gar-minimyth/script/db/mysql/Makefile (original)
+++ trunk/gar-minimyth/script/db/mysql/Makefile Tue Feb 17 19:36:22 2009
@@ -1,5 +1,5 @@
  GARNAME = mysql
-GARVERSION = 5.0.75
+GARVERSION = 5.0.77
  CATEGORIES = db
  MASTER_SITES  = http://downloads.mysql.com/archives/$(GARNAME)-5.0/
  MASTER_SITES +=  
http://mirror.trouble-free.net/mysql_mirror/Downloads/MySQL-5.0/

Modified: trunk/gar-minimyth/script/db/mysql/checksums
==============================================================================
--- trunk/gar-minimyth/script/db/mysql/checksums        (original)
+++ trunk/gar-minimyth/script/db/mysql/checksums        Tue Feb 17 19:36:22 2009
@@ -1,6 +1,6 @@
-a234f0a60a7f8c290d9875cba3a2c5a2  download/mysql-5.0.75.tar.gz
-39617dc200c8261c5066dbe558277c69  download/mysql-5.0.75-perl.patch.gar
-81994bc75862e9a3c9824f080bd7ce8d  download/mysql-5.0.75-configure.patch
-5b4e56f27c1bf8fc21bceda0f013cf12  download/mysql-5.0.75-cross.patch
+6c30a20c9059daf053a301e927eb1667  download/mysql-5.0.77.tar.gz
+732b3822244ddbb1e0f643695be5667f  download/mysql-5.0.77-perl.patch.gar
+50922147bedca9b3fc3d3e6f3002bd0b  download/mysql-5.0.77-configure.patch
+7c8afe41f2497621bd14dff89b208a55  download/mysql-5.0.77-cross.patch
  db355e84adafb1f1a4701cfcb865160d  download/config.cache.i386
  db355e84adafb1f1a4701cfcb865160d  download/config.cache.x86_64

Added: trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.77-configure.patch
==============================================================================
--- (empty file)
+++ trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.77-configure.patch       
 
Tue Feb 17 19:36:22 2009
@@ -0,0 +1,108 @@
+diff -Naur mysql-5.0.77-old/configure.in mysql-5.0.77-new/configure.in
+--- mysql-5.0.77-old/configure.in      2009-02-16 18:47:50.000000000 -0800
++++ mysql-5.0.77-new/configure.in      2009-02-16 18:49:34.000000000 -0800
+@@ -284,6 +284,9 @@
+ AC_MSG_CHECKING("return type of sprintf")
+
+ #check the return type of sprintf
++if test "${mysql_sprintf_return_type+set}" = set ; then
++   AC_MSG_RESULT("(cached) ${mysql_sprintf_return_type}")
++else
+ case $SYSTEM_TYPE in
+   *netware*)
+     AC_DEFINE(SPRINTF_RETURNS_INT, [1]) AC_MSG_RESULT("int")
+@@ -300,7 +303,7 @@
+       return -1;
+      }
+    ],
+-   [AC_DEFINE(SPRINTF_RETURNS_INT, [1], [POSIX sprintf])
++   [mysql_sprintf_return_type="int"
+    AC_MSG_RESULT("int")],
+    [AC_TRY_RUN([
+  int main()
+@@ -311,13 +314,21 @@
+        return 0;
+      return -1;
+    }           ],
+-               [AC_DEFINE(SPRINTF_RETURNS_PTR, [1], [Broken sprintf])
++               [mysql_sprintf_return_type="ptr"
+                 AC_MSG_RESULT("ptr")],
+-               [AC_DEFINE(SPRINTF_RETURNS_GARBAGE, [1], [Broken sprintf])
++               [mysql_sprintf_return_type="garbage"
+                 AC_MSG_RESULT("garbage")])
+    ])
+     ;;
+ esac
++fi
++if   test "x${mysql_sprintf_return_type}" = "xint" ; then
++  AC_DEFINE(SPRINTF_RETURNS_INT, [1], [POSIX sprintf])
++elif test "x${mysql_sprintf_return_type}" = "xptr" ; then
++  AC_DEFINE(SPRINTF_RETURNS_PTR, [1], [Broken sprintf])
++else
++  AC_DEFINE(SPRINTF_RETURNS_GARBAGE, [1], [Broken sprintf])
++fi
+
+ AC_PATH_PROG(uname_prog, uname, no)
+
+@@ -942,31 +953,29 @@
+   AC_LANG_CPLUSPLUS
+
+   atom_ops=
+-  AC_TRY_RUN([
++  AC_TRY_LINK([
+ #include <asm/atomic.h>
+-int main()
+-{
++  ],
++  [
+   atomic_t v;
+
+   atomic_set(&v, 23);
+   atomic_add(5, &v);
+   return atomic_read(&v) == 28 ? 0 : -1;
+-}
+   ],
+   [AC_DEFINE([HAVE_ATOMIC_ADD], [1],
+              [atomic_add() from <asm/atomic.h> (Linux only)])
+    atom_ops="${atom_ops}atomic_add "],
+   )
+-  AC_TRY_RUN([
++  AC_TRY_LINK([
+ #include <asm/atomic.h>
+-int main()
+-{
++  ],
++  [
+   atomic_t v;
+
+   atomic_set(&v, 23);
+   atomic_sub(5, &v);
+   return atomic_read(&v) == 18 ? 0 : -1;
+-}
+   ],
+   [AC_DEFINE([HAVE_ATOMIC_SUB], [1],
+              [atomic_sub() from <asm/atomic.h> (Linux only)])
+@@ -1035,7 +1044,7 @@
+     AC_MSG_RESULT([no])
+     ;;
+   *)
+-AC_TRY_RUN([
++AC_TRY_COMPILE([
+ #ifdef HAVE_STDLIB_H
+ #include <stdlib.h>
+ #endif
+@@ -1047,12 +1056,10 @@
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
+-
+-int main()
+-{
++],
++[
+   int8 i;
+   return 0;
+-}
+ ],
+ [AC_DEFINE([HAVE_INT_8_16_32], [1],
+            [whether int8, int16 and int32 types exist])

Added: trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.77-cross.patch
==============================================================================
--- (empty file)
+++ trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.77-cross.patch   Tue  
Feb 17 19:36:22 2009
@@ -0,0 +1,48 @@
+diff -Naur mysql-5.0.77-old/extra/Makefile.am  
mysql-5.0.77-new/extra/Makefile.am
+--- mysql-5.0.77-old/extra/Makefile.am 2009-02-16 18:49:01.000000000 -0800
++++ mysql-5.0.77-new/extra/Makefile.am 2009-02-16 18:50:20.000000000 -0800
+@@ -34,7 +34,7 @@
+ $(top_builddir)/include/mysqld_error.h: comp_err.c \
+                       $(top_srcdir)/sql/share/errmsg.txt
+       $(MAKE) $(AM_MAKEFLAGS) comp_err$(EXEEXT)
+-      $(top_builddir)/extra/comp_err$(EXEEXT) \
++      mysql-comp_err \
+       --charset=$(top_srcdir)/sql/share/charsets \
+       --out-dir=$(top_builddir)/sql/share/ \
+       --header_file=$(top_builddir)/include/mysqld_error.h \
+diff -Naur mysql-5.0.77-old/extra/Makefile.in  
mysql-5.0.77-new/extra/Makefile.in
+--- mysql-5.0.77-old/extra/Makefile.in 2009-02-16 18:49:01.000000000 -0800
++++ mysql-5.0.77-new/extra/Makefile.in 2009-02-16 18:50:20.000000000 -0800
+@@ -901,7 +901,7 @@
+ $(top_builddir)/include/mysqld_error.h: comp_err.c \
+                       $(top_srcdir)/sql/share/errmsg.txt
+       $(MAKE) $(AM_MAKEFLAGS) comp_err$(EXEEXT)
+-      $(top_builddir)/extra/comp_err$(EXEEXT) \
++      mysql-comp_err$(EXEEXT) \
+       --charset=$(top_srcdir)/sql/share/charsets \
+       --out-dir=$(top_builddir)/sql/share/ \
+       --header_file=$(top_builddir)/include/mysqld_error.h \
+diff -Naur mysql-5.0.77-old/sql/Makefile.am  
mysql-5.0.77-new/sql/Makefile.am
+--- mysql-5.0.77-old/sql/Makefile.am   2009-02-16 18:49:00.000000000 -0800
++++ mysql-5.0.77-new/sql/Makefile.am   2009-02-16 18:50:20.000000000 -0800
+@@ -167,7 +167,7 @@
+ # this avoid the rebuild of the built files in a source dist
+ lex_hash.h:   gen_lex_hash.cc lex.h
+               $(MAKE) $(AM_MAKEFLAGS) gen_lex_hash$(EXEEXT)
+-              ./gen_lex_hash$(EXEEXT) > $...@-t
++              mysql-gen_lex_hash > $...@-t
+               $(MV) $...@-t $@
+
+ # For testing of udf_example.so
+diff -Naur mysql-5.0.77-old/sql/Makefile.in  
mysql-5.0.77-new/sql/Makefile.in
+--- mysql-5.0.77-old/sql/Makefile.in   2009-02-16 18:49:00.000000000 -0800
++++ mysql-5.0.77-new/sql/Makefile.in   2009-02-16 18:50:20.000000000 -0800
+@@ -1217,7 +1217,7 @@
+ # this avoid the rebuild of the built files in a source dist
+ lex_hash.h:   gen_lex_hash.cc lex.h
+               $(MAKE) $(AM_MAKEFLAGS) gen_lex_hash$(EXEEXT)
+-              ./gen_lex_hash$(EXEEXT) > $...@-t
++              mysql-gen_lex_hash > $...@-t
+               $(MV) $...@-t $@
+
+ # Don't update the files from bitkeeper

Added: trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.77-perl.patch.gar
==============================================================================
--- (empty file)
+++ trunk/gar-minimyth/script/db/mysql/files/mysql-5.0.77-perl.patch.gar        
 
Tue Feb 17 19:36:22 2009
@@ -0,0 +1,45 @@
+diff -Naur mysql-5.0.77-old/mysql-test/mysql-stress-test.pl  
mysql-5.0.77-new/mysql-test/mysql-stress-test.pl
+--- mysql-5.0.77-old/mysql-test/mysql-stress-test.pl   2009-01-29  
13:42:34.000000000 -0800
++++ mysql-5.0.77-new/mysql-test/mysql-stress-test.pl   2009-02-16  
18:48:10.000000000 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
+...@gar_destdir@@GAR_bindir@/perl
+ # ======================================================================
+ #                     MySQL server stress test system
+ # ======================================================================
+diff -Naur mysql-5.0.77-old/mysql-test/mysql-test-run.pl  
mysql-5.0.77-new/mysql-test/mysql-test-run.pl
+--- mysql-5.0.77-old/mysql-test/mysql-test-run.pl      2009-01-29  
13:42:34.000000000 -0800
++++ mysql-5.0.77-new/mysql-test/mysql-test-run.pl      2009-02-16  
18:48:11.000000000 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
+...@gar_destdir@@GAR_bindir@/perl
+ # -*- cperl -*-
+
+ #
+diff -Naur mysql-5.0.77-old/mysql-test/suite/funcs_1/lib/DataGen_local.pl  
mysql-5.0.77-new/mysql-test/suite/funcs_1/lib/DataGen_local.pl
+--- mysql-5.0.77-old/mysql-test/suite/funcs_1/lib/DataGen_local.pl      
2009-01-29 13:43:29.000000000 -0800
++++ mysql-5.0.77-new/mysql-test/suite/funcs_1/lib/DataGen_local.pl      
2009-02-16 18:48:11.000000000 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
+...@gar_destdir@@GAR_bindir@/perl
+
+
+ if ( (scalar(@ARGV) != 1 ) || ($ARGV[0] =~ /[^0-9]/i ) )
+diff -Naur mysql-5.0.77-old/mysql-test/suite/funcs_1/lib/DataGen_modify.pl  
mysql-5.0.77-new/mysql-test/suite/funcs_1/lib/DataGen_modify.pl
+--- mysql-5.0.77-old/mysql-test/suite/funcs_1/lib/DataGen_modify.pl     
2009-01-29 13:43:29.000000000 -0800
++++ mysql-5.0.77-new/mysql-test/suite/funcs_1/lib/DataGen_modify.pl     
2009-02-16 18:48:11.000000000 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
+...@gar_destdir@@GAR_bindir@/perl
+
+
+ if ( (scalar(@ARGV) != 2 ) || ($ARGV[0] =~ /[^0-9]/i ) )
+diff -Naur  
mysql-5.0.77-old/mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl  
mysql-5.0.77-new/mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl
+--- mysql-5.0.77-old/mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl   
2009-01-29 13:43:40.000000000 -0800
++++ mysql-5.0.77-new/mysql-test/suite/funcs_2/lib/gen_charset_utf8.pl   
2009-02-16 18:48:11.000000000 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
+...@gar_destdir@@GAR_bindir@/perl
+
+  
#################################################################################
+ # Author:  Serge Kozlov                                                       
        #       

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to