From fded764eb32b8750afa1433883b4b2bff1e35322 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Fri, 23 May 2008 20:33:38 +0000 Subject: epsilon cvs as of 20080520, epsilon no longer needs imlib2 nor epeg --- packages/efl1/epsilon_cvs.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/efl1/epsilon_cvs.bb b/packages/efl1/epsilon_cvs.bb index 906a60c2a4..b8b3033b99 100644 --- a/packages/efl1/epsilon_cvs.bb +++ b/packages/efl1/epsilon_cvs.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Epsilon is a flexible and powerful image thumbnailing library \ that is compliant with the freedesktop.org Thumbnail Managing Standard." LICENSE = "MIT BSD" # can also depend on xine for movie thumbnails -DEPENDS = "imlib2 epeg libpng evas ecore edje perl-native" +DEPENDS = "libpng evas ecore edje perl-native" PV = "0.3.0.012+cvs${SRCDATE}" PR = "r0" -- cgit v1.2.3 From 8efeb58ba5ef04aa4f73c460fe604dfa1ea51b29 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 27 May 2008 08:16:46 +0000 Subject: zlib: improved autotools.patch - zlib has a .pc file now and supports pkgconfig - the improvement was send in from Bignaux Ronan 2 years ago - closes bug 1676 - bump PR --- packages/zlib/files/autotools.patch | 27 ++++++++++++++++++++++++--- packages/zlib/zlib_1.2.3.bb | 2 +- 2 files changed, 25 insertions(+), 4 deletions(-) (limited to 'packages') diff --git a/packages/zlib/files/autotools.patch b/packages/zlib/files/autotools.patch index d1dc8dd8d4..166e7669ad 100644 --- a/packages/zlib/files/autotools.patch +++ b/packages/zlib/files/autotools.patch @@ -464,7 +464,7 @@ diff -Naur zlib-1.2.3/configure zlib-1.2.3new/configure diff -Naur zlib-1.2.3/configure.ac zlib-1.2.3new/configure.ac --- zlib-1.2.3/configure.ac 1970-01-01 01:00:00.000000000 +0100 +++ zlib-1.2.3new/configure.ac 2006-08-07 20:38:31.612402750 +0200 -@@ -0,0 +1,14 @@ +@@ -0,0 +1,17 @@ +AC_INIT(zlib,1.2.3) +AC_CONFIG_SRCDIR(adler32.c) +AM_INIT_AUTOMAKE(zlibs,1.2.3) @@ -476,13 +476,16 @@ diff -Naur zlib-1.2.3/configure.ac zlib-1.2.3new/configure.ac + +AC_HEADER_STDC + -+AC_CONFIG_FILES([Makefile]) ++AC_CONFIG_FILES([ ++Makefile ++zlib.pc ++]) + +AC_OUTPUT diff -Naur zlib-1.2.3/Makefile.am zlib-1.2.3new/Makefile.am --- zlib-1.2.3/Makefile.am 2006/10/14 05:35:40 1.1 +++ zlib-1.2.3new/Makefile.am 2006/10/14 05:36:49 -@@ -0,0 +1,8 @@ +@@ -0,0 +1,11 @@ +lib_LTLIBRARIES = libz.la + +libz_la_SOURCES = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c \ @@ -491,6 +494,9 @@ diff -Naur zlib-1.2.3/Makefile.am zlib-1.2.3new/Makefile.am +libz_la_LDFLAGS = -version-number 1:2:3 + +include_HEADERS = zconf.h zlib.h ++ ++pkgconfigdir = $(libdir)/pkgconfig ++pkgconfig_DATA = zlib.pc diff -Naur zlib-1.2.3/Makefile.in zlib-1.2.3new/Makefile.in --- zlib-1.2.3/Makefile.in 2005-07-18 04:25:21.000000000 +0200 +++ zlib-1.2.3new/Makefile.in 1970-01-01 01:00:00.000000000 +0100 @@ -649,3 +655,18 @@ diff -Naur zlib-1.2.3/Makefile.in zlib-1.2.3new/Makefile.in -trees.o: deflate.h zutil.h zlib.h zconf.h trees.h -uncompr.o: zlib.h zconf.h -zutil.o: zutil.h zlib.h zconf.h +diff -Naur zlib-1.2.3/zlib.pc.in zlib-1.2.3New/zlib.pc.in +--- zlib-1.2.3/zlib.pc.in 1970-01-01 01:00:00.000000000 +0100 ++++ zlib-1.2.3New/zlib.pc.in 2006-12-07 10:55:45.000000000 +0100 +@@ -0,0 +1,10 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: zlib ++Description: Standard (de)compression library ++Version: @VERSION@ ++Libs: -L${libdir} -lz ++Cflags: -I${includedir} + diff --git a/packages/zlib/zlib_1.2.3.bb b/packages/zlib/zlib_1.2.3.bb index 629ee83efb..87da072878 100644 --- a/packages/zlib/zlib_1.2.3.bb +++ b/packages/zlib/zlib_1.2.3.bb @@ -3,7 +3,7 @@ SECTION = "libs" PRIORITY = "required" HOMEPAGE = "http://www.gzip.org/zlib/" LICENSE = "zlib" -PR="r2" +PR="r3" SRC_URI = "http://www.zlib.net/zlib-1.2.3.tar.bz2 \ file://visibility.patch;patch=1 \ -- cgit v1.2.3 From 4985c88a05a64cfed4ce657ba54c6741af28a3bd Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 27 May 2008 09:23:44 +0000 Subject: libart-lgpl: add art_config.h for mipsel - requested by Robert Woerle some while ago - closes bug 1289 --- packages/gnome/libart-lgpl/mipsel/.mtn2git_empty | 0 packages/gnome/libart-lgpl/mipsel/art_config.h | 10 ++++++++++ 2 files changed, 10 insertions(+) create mode 100644 packages/gnome/libart-lgpl/mipsel/.mtn2git_empty create mode 100644 packages/gnome/libart-lgpl/mipsel/art_config.h (limited to 'packages') diff --git a/packages/gnome/libart-lgpl/mipsel/.mtn2git_empty b/packages/gnome/libart-lgpl/mipsel/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/gnome/libart-lgpl/mipsel/art_config.h b/packages/gnome/libart-lgpl/mipsel/art_config.h new file mode 100644 index 0000000000..b0e74ad6ae --- /dev/null +++ b/packages/gnome/libart-lgpl/mipsel/art_config.h @@ -0,0 +1,10 @@ +/* Automatically generated by gen_art_config.c */ + +#define ART_SIZEOF_CHAR 1 +#define ART_SIZEOF_SHORT 2 +#define ART_SIZEOF_INT 4 +#define ART_SIZEOF_LONG 4 + +typedef unsigned char art_u8; +typedef unsigned short art_u16; +typedef unsigned int art_u32; -- cgit v1.2.3 From cc24001571cc997f0a4c94543427907d9e243256 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 27 May 2008 10:21:49 +0000 Subject: libpcap: add aclocal.patch - patch silence automake 1.10 - patch was sent in from Marek Vasut - closes bug 2989 - bump PR --- packages/libpcap/libpcap-0.9.8/aclocal.patch | 156 +++++++++++++++++++++++++++ packages/libpcap/libpcap_0.9.8.bb | 4 +- 2 files changed, 159 insertions(+), 1 deletion(-) create mode 100644 packages/libpcap/libpcap-0.9.8/aclocal.patch (limited to 'packages') diff --git a/packages/libpcap/libpcap-0.9.8/aclocal.patch b/packages/libpcap/libpcap-0.9.8/aclocal.patch new file mode 100644 index 0000000000..29cd275d58 --- /dev/null +++ b/packages/libpcap/libpcap-0.9.8/aclocal.patch @@ -0,0 +1,156 @@ +diff -Naru libpcap-0.9.7.orig/aclocal.m4 libpcap-0.9.7/acinclude.m4 +--- libpcap-0.9.7.orig/aclocal.m4 2007-09-16 01:19:51.000000000 +0200 ++++ libpcap-0.9.7/aclocal.m4 2007-09-16 02:45:52.000000000 +0200 +@@ -42,7 +42,7 @@ + dnl ac_cv_lbl_gcc_vers + dnl LBL_CFLAGS + dnl +-AC_DEFUN(AC_LBL_C_INIT, ++AC_DEFUN([AC_LBL_C_INIT], + [AC_PREREQ(2.12) + AC_BEFORE([$0], [AC_PROG_CC]) + AC_BEFORE([$0], [AC_LBL_FIXINCLUDES]) +@@ -169,7 +169,7 @@ + # Make sure we use the V_CCOPT flags, because some of those might + # disable inlining. + # +-AC_DEFUN(AC_LBL_C_INLINE, ++AC_DEFUN([AC_LBL_C_INLINE], + [AC_MSG_CHECKING(for inline) + save_CFLAGS="$CFLAGS" + CFLAGS="$V_CCOPT" +@@ -225,7 +225,7 @@ + dnl LIBS + dnl LBL_LIBS + dnl +-AC_DEFUN(AC_LBL_LIBPCAP, ++AC_DEFUN([AC_LBL_LIBPCAP], + [AC_REQUIRE([AC_LBL_LIBRARY_NET]) + dnl + dnl save a copy before locating libpcap.a +@@ -293,7 +293,7 @@ + dnl RETSIGTYPE (defined) + dnl RETSIGVAL (defined) + dnl +-AC_DEFUN(AC_LBL_TYPE_SIGNAL, ++AC_DEFUN([AC_LBL_TYPE_SIGNAL], + [AC_BEFORE([$0], [AC_LBL_LIBPCAP]) + AC_TYPE_SIGNAL + if test "$ac_cv_type_signal" = void ; then +@@ -323,7 +323,7 @@ + dnl + dnl AC_LBL_FIXINCLUDES + dnl +-AC_DEFUN(AC_LBL_FIXINCLUDES, ++AC_DEFUN([AC_LBL_FIXINCLUDES], + [if test "$GCC" = yes ; then + AC_MSG_CHECKING(for ANSI ioctl definitions) + AC_CACHE_VAL(ac_cv_lbl_gcc_fixincludes, +@@ -369,7 +369,7 @@ + dnl $2 (yacc appended) + dnl $3 (optional flex and bison -P prefix) + dnl +-AC_DEFUN(AC_LBL_LEX_AND_YACC, ++AC_DEFUN([AC_LBL_LEX_AND_YACC], + [AC_ARG_WITH(flex, [ --without-flex don't use flex]) + AC_ARG_WITH(bison, [ --without-bison don't use bison]) + if test "$with_flex" = no ; then +@@ -422,7 +422,7 @@ + dnl + dnl DECLWAITSTATUS (defined) + dnl +-AC_DEFUN(AC_LBL_UNION_WAIT, ++AC_DEFUN([AC_LBL_UNION_WAIT], + [AC_MSG_CHECKING(if union wait is used) + AC_CACHE_VAL(ac_cv_lbl_union_wait, + AC_TRY_COMPILE([ +@@ -451,7 +451,7 @@ + dnl + dnl HAVE_SOCKADDR_SA_LEN (defined) + dnl +-AC_DEFUN(AC_LBL_SOCKADDR_SA_LEN, ++AC_DEFUN([AC_LBL_SOCKADDR_SA_LEN], + [AC_MSG_CHECKING(if sockaddr struct has sa_len member) + AC_CACHE_VAL(ac_cv_lbl_sockaddr_has_sa_len, + AC_TRY_COMPILE([ +@@ -476,7 +476,7 @@ + dnl + dnl HAVE_SOCKADDR_STORAGE (defined) + dnl +-AC_DEFUN(AC_LBL_SOCKADDR_STORAGE, ++AC_DEFUN([AC_LBL_SOCKADDR_STORAGE], + [AC_MSG_CHECKING(if sockaddr_storage struct exists) + AC_CACHE_VAL(ac_cv_lbl_has_sockaddr_storage, + AC_TRY_COMPILE([ +@@ -509,7 +509,7 @@ + dnl won't be using code that would use that member, or we wouldn't + dnl compile in any case). + dnl +-AC_DEFUN(AC_LBL_HP_PPA_INFO_T_DL_MODULE_ID_1, ++AC_DEFUN([AC_LBL_HP_PPA_INFO_T_DL_MODULE_ID_1], + [AC_MSG_CHECKING(if dl_hp_ppa_info_t struct has dl_module_id_1 member) + AC_CACHE_VAL(ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1, + AC_TRY_COMPILE([ +@@ -535,7 +535,7 @@ + dnl + dnl ac_cv_lbl_have_run_path (yes or no) + dnl +-AC_DEFUN(AC_LBL_HAVE_RUN_PATH, ++AC_DEFUN([AC_LBL_HAVE_RUN_PATH], + [AC_MSG_CHECKING(for ${CC-cc} -R) + AC_CACHE_VAL(ac_cv_lbl_have_run_path, + [echo 'main(){}' > conftest.c +@@ -561,7 +561,7 @@ + dnl int32_t (defined) + dnl u_int32_t (defined) + dnl +-AC_DEFUN(AC_LBL_CHECK_TYPE, ++AC_DEFUN([AC_LBL_CHECK_TYPE], + [AC_MSG_CHECKING(for $1 using $CC) + AC_CACHE_VAL(ac_cv_lbl_have_$1, + AC_TRY_COMPILE([ +@@ -590,7 +590,7 @@ + dnl + dnl LBL_ALIGN (DEFINED) + dnl +-AC_DEFUN(AC_LBL_UNALIGNED_ACCESS, ++AC_DEFUN([AC_LBL_UNALIGNED_ACCESS], + [AC_MSG_CHECKING(if unaligned accesses fail) + AC_CACHE_VAL(ac_cv_lbl_unaligned_fail, + [case "$host_cpu" in +@@ -695,7 +695,7 @@ + dnl HAVE_OS_PROTO_H (defined) + dnl os-proto.h (symlinked) + dnl +-AC_DEFUN(AC_LBL_DEVEL, ++AC_DEFUN([AC_LBL_DEVEL], + [rm -f os-proto.h + if test "${LBL_CFLAGS+set}" = set; then + $1="$$1 ${LBL_CFLAGS}" +@@ -825,7 +825,7 @@ + dnl statically and happen to have a libresolv.a lying around (and no + dnl libnsl.a). + dnl +-AC_DEFUN(AC_LBL_LIBRARY_NET, [ ++AC_DEFUN([AC_LBL_LIBRARY_NET], [ + # Most operating systems have gethostbyname() in the default searched + # libraries (i.e. libc): + # Some OSes (eg. Solaris) place it in libnsl +@@ -848,7 +848,7 @@ + dnl Test for __attribute__ + dnl + +-AC_DEFUN(AC_C___ATTRIBUTE__, [ ++AC_DEFUN([AC_C___ATTRIBUTE__], [ + AC_MSG_CHECKING(for __attribute__) + AC_CACHE_VAL(ac_cv___attribute__, [ + AC_COMPILE_IFELSE( +@@ -886,7 +886,7 @@ + dnl + dnl -Scott Barron + dnl +-AC_DEFUN(AC_LBL_TPACKET_STATS, ++AC_DEFUN([AC_LBL_TPACKET_STATS], + [AC_MSG_CHECKING(if if_packet.h has tpacket_stats defined) + AC_CACHE_VAL(ac_cv_lbl_tpacket_stats, + AC_TRY_COMPILE([ diff --git a/packages/libpcap/libpcap_0.9.8.bb b/packages/libpcap/libpcap_0.9.8.bb index 865e57ab93..8003d4491f 100644 --- a/packages/libpcap/libpcap_0.9.8.bb +++ b/packages/libpcap/libpcap_0.9.8.bb @@ -1,3 +1,5 @@ require libpcap.inc -PR = "r2" +PR = "r3" + +SRC_URI += "file://aclocal.patch;patch=1" -- cgit v1.2.3 From a36fb5d373f5ed26f7d651fc0ae5e45a9e020db8 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 27 May 2008 11:28:11 +0000 Subject: dsplink: remove KERNEL_VERSION from PV till we have a proper solution for it --- packages/dsplink/dsplink_1.50.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/dsplink/dsplink_1.50.bb b/packages/dsplink/dsplink_1.50.bb index 9bc4c48223..7aa24578e9 100644 --- a/packages/dsplink/dsplink_1.50.bb +++ b/packages/dsplink/dsplink_1.50.bb @@ -3,10 +3,11 @@ DESCRIPTION = "DSP Link for TI ARM/DSP processors" DEPENDS = "virtual/kernel perl-native" RDEPENDS = "update-modules" -inherit module-base +inherit module PR = "r0" -PV = "1.50+kernel${KERNEL_VERSION}" +PE = "1" +PV = "1.50" # Get dsplink tarball from TI website, place in sources and calculate # md5sum -- cgit v1.2.3 From f55c951d8944178337c5fb5dcd95df466ab455ca Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 27 May 2008 11:29:30 +0000 Subject: liboil: add 0.3.14, disabled by default since the configure script will generate vfp code for _all_ arm cores, with no way to disable it --- packages/liboil/liboil_0.3.14.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/liboil/liboil_0.3.14.bb (limited to 'packages') diff --git a/packages/liboil/liboil_0.3.14.bb b/packages/liboil/liboil_0.3.14.bb new file mode 100644 index 0000000000..ebbe6cfb97 --- /dev/null +++ b/packages/liboil/liboil_0.3.14.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Liboil is a library of simple functions that are optimized for various CPUs." +HOMEPAGE = "http://liboil.freedesktop.org/" +LICENSE = "various" + +# The configure script seems to have bogus checks, so let's not make it the default +DEFAULT_PREFERENCE = "-1" + +DEPENDS = "glib-2.0" + +SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz \ + " + +inherit autotools pkgconfig + +do_stage() { + autotools_stage_all +} -- cgit v1.2.3 From daa2ec408a6904a717fc1b69a579a04c9a53d205 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Tue, 27 May 2008 15:13:30 +0000 Subject: opie-taskbar-images: don't try to install jpgs which don't actually exist. * it would be nice to make those jpgs available, though, to support more resolutions * more discussion in bug 2721 * bump PR --- packages/opie-taskbar/opie-taskbar-images.inc | 3 ++- packages/opie-taskbar/opie-taskbar-images_1.2.3+cvs20070922.bb | 4 ++-- packages/opie-taskbar/opie-taskbar-images_1.2.3.bb | 6 +++--- packages/opie-taskbar/opie-taskbar-images_cvs.bb | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) (limited to 'packages') diff --git a/packages/opie-taskbar/opie-taskbar-images.inc b/packages/opie-taskbar/opie-taskbar-images.inc index 376d9c3c80..855a6151e5 100644 --- a/packages/opie-taskbar/opie-taskbar-images.inc +++ b/packages/opie-taskbar/opie-taskbar-images.inc @@ -39,7 +39,8 @@ do_install() { install -m 0644 ${WORKDIR}/pics/launcher/firstuse.jpg ${D}${palmtopdir}/pics/launcher/firstuse-240x320.jpg install -m 0644 ${WORKDIR}/pics/launcher/opie-background.jpg ${D}${palmtopdir}/pics/launcher/opie-background-240x320.jpg - for res in 320x240 240x320 320x320 320x480 480x320 480x640 640x480 600x800 800x600; do +# for res in 320x240 240x320 320x320 320x480 480x320 480x640 640x480 600x800 800x600; do + for res in 240x320 320x320 320x480 480x320 480x640 640x480 800x600; do install -m 0644 ${WORKDIR}/pics/launcher/firstuse-${res}.jpg ${D}${palmtopdir}/pics/launcher/firstuse-${res}.jpg install -m 0644 ${WORKDIR}/pics/launcher/opie-background-${res}.jpg ${D}${palmtopdir}/pics/launcher/opie-background-${res}.jpg done diff --git a/packages/opie-taskbar/opie-taskbar-images_1.2.3+cvs20070922.bb b/packages/opie-taskbar/opie-taskbar-images_1.2.3+cvs20070922.bb index 0905cd5fe3..a36e85b34d 100644 --- a/packages/opie-taskbar/opie-taskbar-images_1.2.3+cvs20070922.bb +++ b/packages/opie-taskbar/opie-taskbar-images_1.2.3+cvs20070922.bb @@ -1,5 +1,5 @@ require ${PN}.inc -PR = "r0" -SRCDATE = "20070922" +PR = "r1" +SRCDATE = "20070922" SRC_URI = "${HANDHELDS_CVS};module=opie/pics" diff --git a/packages/opie-taskbar/opie-taskbar-images_1.2.3.bb b/packages/opie-taskbar/opie-taskbar-images_1.2.3.bb index 0c5b93780d..74b6c5205e 100644 --- a/packages/opie-taskbar/opie-taskbar-images_1.2.3.bb +++ b/packages/opie-taskbar/opie-taskbar-images_1.2.3.bb @@ -1,6 +1,6 @@ require ${PN}.inc -PR = "r1" - -TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}" +PR = "r2" SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/pics" + +TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}" diff --git a/packages/opie-taskbar/opie-taskbar-images_cvs.bb b/packages/opie-taskbar/opie-taskbar-images_cvs.bb index ff7ea9e17b..3d45118134 100644 --- a/packages/opie-taskbar/opie-taskbar-images_cvs.bb +++ b/packages/opie-taskbar/opie-taskbar-images_cvs.bb @@ -1,5 +1,5 @@ require ${PN}.inc -PV = "${OPIE_CVS_PV}" -PR = "r6" +PV = "${OPIE_CVS_PV}" +PR = "r7" SRC_URI = "${HANDHELDS_CVS};module=opie/pics" -- cgit v1.2.3 From 9ff618333c5f94ba988e3cef565c8a1d25d470ad Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Tue, 27 May 2008 16:40:47 +0000 Subject: opie-taskbar-images: replace 240x320 with 240x240. The 240x320 jpg is not available. --- packages/opie-taskbar/opie-taskbar-images.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/opie-taskbar/opie-taskbar-images.inc b/packages/opie-taskbar/opie-taskbar-images.inc index 855a6151e5..b35dd8d593 100644 --- a/packages/opie-taskbar/opie-taskbar-images.inc +++ b/packages/opie-taskbar/opie-taskbar-images.inc @@ -40,7 +40,7 @@ do_install() { install -m 0644 ${WORKDIR}/pics/launcher/opie-background.jpg ${D}${palmtopdir}/pics/launcher/opie-background-240x320.jpg # for res in 320x240 240x320 320x320 320x480 480x320 480x640 640x480 600x800 800x600; do - for res in 240x320 320x320 320x480 480x320 480x640 640x480 800x600; do + for res in 240x240 320x320 320x480 480x320 480x640 640x480 800x600; do install -m 0644 ${WORKDIR}/pics/launcher/firstuse-${res}.jpg ${D}${palmtopdir}/pics/launcher/firstuse-${res}.jpg install -m 0644 ${WORKDIR}/pics/launcher/opie-background-${res}.jpg ${D}${palmtopdir}/pics/launcher/opie-background-${res}.jpg done -- cgit v1.2.3 From bac17110187eb7e61e81531e09ac76c23d96210a Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 27 May 2008 17:39:21 +0000 Subject: linux-omap2 git: add mux patch for beagleboard and switch to OTG mode for MUSB --- packages/linux/linux-omap2-git/beagleboard/defconfig | 15 ++++++++------- packages/linux/linux-omap2-git/beagleboard/mux.patch | 15 +++++++++++++++ packages/linux/linux-omap2_git.bb | 9 +++++---- 3 files changed, 28 insertions(+), 11 deletions(-) create mode 100644 packages/linux/linux-omap2-git/beagleboard/mux.patch (limited to 'packages') diff --git a/packages/linux/linux-omap2-git/beagleboard/defconfig b/packages/linux/linux-omap2-git/beagleboard/defconfig index 3d3562d9f5..3cd8286d72 100644 --- a/packages/linux/linux-omap2-git/beagleboard/defconfig +++ b/packages/linux/linux-omap2-git/beagleboard/defconfig @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Linux kernel version: 2.6.26-rc3-omap1 -# Tue May 20 19:38:20 2008 +# Tue May 27 19:21:03 2008 # CONFIG_ARM=y CONFIG_SYS_SUPPORTS_APM_EMULATION=y @@ -179,9 +179,9 @@ CONFIG_OMAP_BOOT_TAG=y CONFIG_OMAP_BOOT_REASON=y # CONFIG_OMAP_COMPONENT_VERSION is not set # CONFIG_OMAP_GPIO_SWITCH is not set -CONFIG_OMAP_MUX=n -# CONFIG_OMAP_MUX_DEBUG is not set -CONFIG_OMAP_MUX_WARNINGS=n +CONFIG_OMAP_MUX=y +CONFIG_OMAP_MUX_DEBUG=y +CONFIG_OMAP_MUX_WARNINGS=y CONFIG_OMAP_MCBSP=y # CONFIG_OMAP_MMU_FWK is not set # CONFIG_OMAP_MBOX_FWK is not set @@ -1203,7 +1203,7 @@ CONFIG_USB_DEVICEFS=y CONFIG_USB_DEVICE_CLASS=y # CONFIG_USB_DYNAMIC_MINORS is not set CONFIG_USB_SUSPEND=y -# CONFIG_USB_OTG is not set +CONFIG_USB_OTG=y # CONFIG_USB_OTG_WHITELIST is not set # CONFIG_USB_OTG_BLACKLIST_HUB is not set @@ -1228,9 +1228,10 @@ CONFIG_USB_MUSB_SOC=y # OMAP 343x high speed USB support # # CONFIG_USB_MUSB_HOST is not set -CONFIG_USB_MUSB_PERIPHERAL=y -# CONFIG_USB_MUSB_OTG is not set +# CONFIG_USB_MUSB_PERIPHERAL is not set +CONFIG_USB_MUSB_OTG=y CONFIG_USB_GADGET_MUSB_HDRC=y +CONFIG_USB_MUSB_HDRC_HCD=y # CONFIG_MUSB_PIO_ONLY is not set CONFIG_USB_INVENTRA_DMA=y # CONFIG_USB_TI_CPPI_DMA is not set diff --git a/packages/linux/linux-omap2-git/beagleboard/mux.patch b/packages/linux/linux-omap2-git/beagleboard/mux.patch new file mode 100644 index 0000000000..836b52954d --- /dev/null +++ b/packages/linux/linux-omap2-git/beagleboard/mux.patch @@ -0,0 +1,15 @@ +diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c +index 7d56516..be6eb3e 100644 +--- a/arch/arm/mach-omap2/mux.c ++++ b/arch/arm/mach-omap2/mux.c +@@ -253,8 +253,8 @@ MUX_CFG_34XX("Y13_3430_USB1HS_PHY_D7", 0x5e2, + OMAP34XX_MUX_MODE3 | OMAP34XX_PIN_INPUT_PULLDOWN) + + /* PHY - HSUSB: 12-pin ULPI PHY: Port 2*/ +-MUX_CFG_34XX("AA8_3430_USB2HS_PHY_CLK", 0x5f0, +- OMAP34XX_MUX_MODE3 | OMAP34XX_PIN_OUTPUT) ++/*KK MUX_CFG_34XX("AA8_3430_USB2HS_PHY_CLK", 0x5f0, ++ OMAP34XX_MUX_MODE3 | OMAP34XX_PIN_OUTPUT)*/ + MUX_CFG_34XX("AA10_3430_USB2HS_PHY_STP", 0x5f2, + OMAP34XX_MUX_MODE3 | OMAP34XX_PIN_OUTPUT) + MUX_CFG_34XX("AA9_3430_USB2HS_PHY_DIR", 0x5f4, diff --git a/packages/linux/linux-omap2_git.bb b/packages/linux/linux-omap2_git.bb index f128d9cc8f..3a80ae3319 100644 --- a/packages/linux/linux-omap2_git.bb +++ b/packages/linux/linux-omap2_git.bb @@ -5,18 +5,19 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-omap2-git/${MA SRCREV = "41c13615e46ed02a1aaafcc267603be8ea5244e9" PV = "2.6.25+2.6.26-rc3+git${SRCREV}" -PR = "r16" +PR = "r18" SRC_URI = "git://source.mvista.com/git/linux-omap-2.6.git;protocol=git \ + file://defconfig" + +SRC_URI_append_beagleboard = " file://no-harry-potter.diff;patch=1 \ file://00001-mcbsp-transform.patch;patch=1 \ file://00002-mcbsp-omap1.patch;patch=1 \ file://00003-mcbsp-omap3-clock.patch;patch=1 \ file://00004-omap2-mcbsp.patch;patch=1 \ file://0001-ASoC-OMAP-Add-basic-support-for-OMAP34xx-in-McBSP.patch;patch=1 \ - file://defconfig" - -SRC_URI_append_beagleboard = " file://no-harry-potter.diff;patch=1 \ + file://mux.patch;patch=1 \ " COMPATIBLE_MACHINE = "omap2430sdp|omap2420h4|beagleboard" -- cgit v1.2.3 From 87439cd440afb3c6561ec0f1eceb2b6e67105d04 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 27 May 2008 21:21:55 +0000 Subject: automake-1.10: fix do_install - fix do_install 1.9 vs 1.10 linking - put DEFAULT_PREFERENCE = "-1" up, so we see without scrolling why the recipe is not build --- packages/automake/automake_1.10.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'packages') diff --git a/packages/automake/automake_1.10.bb b/packages/automake/automake_1.10.bb index eef69f4e4a..79fa7fd2ea 100644 --- a/packages/automake/automake_1.10.bb +++ b/packages/automake/automake_1.10.bb @@ -2,6 +2,7 @@ DESCRIPTION = "A tool for automatically generating Makefiles." LICENSE = "GPL" HOMEPAGE = "http://www.gnu.org/software/automake/" SECTION = "devel" +DEFAULT_PREFERENCE = "-1" SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2 \ ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}" @@ -21,11 +22,9 @@ do_install () { oe_runmake 'DESTDIR=${D}' install install -d ${D}${datadir} if [ ! -e ${D}${datadir}/aclocal ]; then - ln -sf aclocal-1.9 ${D}${datadir}/aclocal + ln -sf aclocal-1.10 ${D}${datadir}/aclocal fi if [ ! -e ${D}${datadir}/automake ]; then - ln -sf automake-1.9 ${D}${datadir}/automake + ln -sf automake-1.10 ${D}${datadir}/automake fi } - -DEFAULT_PREFERENCE = "-1" -- cgit v1.2.3 From bd0a353bf83f1c9cb7e0f61f9acd68d2a6c5ad22 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 27 May 2008 21:27:17 +0000 Subject: automake-1.10: bump PR - darn I forget again to bump the PR --- packages/automake/automake_1.10.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'packages') diff --git a/packages/automake/automake_1.10.bb b/packages/automake/automake_1.10.bb index 79fa7fd2ea..e4e8f3385b 100644 --- a/packages/automake/automake_1.10.bb +++ b/packages/automake/automake_1.10.bb @@ -3,6 +3,7 @@ LICENSE = "GPL" HOMEPAGE = "http://www.gnu.org/software/automake/" SECTION = "devel" DEFAULT_PREFERENCE = "-1" +PR = "r1" SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2 \ ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}" -- cgit v1.2.3 From bfdfd1bc5bcdca8b133ddaa7f1c33df96123a009 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 28 May 2008 00:49:38 +0000 Subject: Include limits.h explicitly in zeroconf.c --- packages/zeroconf/files/zeroconf-limits.h.patch | 21 +++++++++++++++++++++ packages/zeroconf/zeroconf_0.9.bb | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 packages/zeroconf/files/zeroconf-limits.h.patch (limited to 'packages') diff --git a/packages/zeroconf/files/zeroconf-limits.h.patch b/packages/zeroconf/files/zeroconf-limits.h.patch new file mode 100644 index 0000000000..46ba208fa5 --- /dev/null +++ b/packages/zeroconf/files/zeroconf-limits.h.patch @@ -0,0 +1,21 @@ +In newer glibc after this commit. + +http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/bits/socket.h.diff?r1=1.60&r2=1.61&cvsroot=glibc + + +do not include limits.h indirectly through sockets.h so we would need to include limits.h explicitely. + +-Khem + +Index: zeroconf-0.9/zeroconf.c +=================================================================== +--- zeroconf-0.9.orig/zeroconf.c 2008-05-27 16:56:05.000000000 -0700 ++++ zeroconf-0.9/zeroconf.c 2008-05-27 16:56:20.000000000 -0700 +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + #include "delay.h" + diff --git a/packages/zeroconf/zeroconf_0.9.bb b/packages/zeroconf/zeroconf_0.9.bb index c8f7ddfa3a..5c42237888 100644 --- a/packages/zeroconf/zeroconf_0.9.bb +++ b/packages/zeroconf/zeroconf_0.9.bb @@ -5,10 +5,11 @@ LICENSE = "GPL" SECTION = "net" PRIORITY = "optional" -PR = "r0" +PR = "r1" SRC_URI = "http://www.progsoc.org/~wildfire/zeroconf/download/${PN}-${PV}.tar.gz \ file://zeroconf-default \ + file://zeroconf-limits.h.patch;patch=1 \ file://debian-zeroconf" do_install () { -- cgit v1.2.3 From 86d33fab54b7011f4abb2e4b868942c295aa7841 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 28 May 2008 00:58:05 +0000 Subject: Fix glibc-stage.inc to copy the .a files to /usr/lib and not into /lib --- packages/glibc/glibc-stage.inc | 6 +++--- packages/glibc/glibc_2.3.2+cvs20040726.bb | 2 +- packages/glibc/glibc_2.3.2.bb | 2 +- packages/glibc/glibc_2.3.3+cvs20041128.bb | 2 +- packages/glibc/glibc_2.3.3+cvs20050221.bb | 2 +- packages/glibc/glibc_2.3.3+cvs20050420.bb | 2 +- packages/glibc/glibc_2.3.3.bb | 2 +- packages/glibc/glibc_2.3.5+cvs20050627.bb | 2 +- packages/glibc/glibc_2.3.6.bb | 2 ++ packages/glibc/glibc_2.4.bb | 2 +- packages/glibc/glibc_2.5.bb | 2 +- packages/glibc/glibc_2.6.1.bb | 2 +- packages/glibc/glibc_2.7.bb | 2 +- 13 files changed, 16 insertions(+), 14 deletions(-) (limited to 'packages') diff --git a/packages/glibc/glibc-stage.inc b/packages/glibc/glibc-stage.inc index a86cf7888e..46220d7831 100644 --- a/packages/glibc/glibc-stage.inc +++ b/packages/glibc/glibc-stage.inc @@ -16,8 +16,8 @@ do_stage() { install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/ done for i in libc.a libc_pic.a libc_nonshared.a; do - install -m 0644 ${B}/$i ${STAGING_DIR_HOST}/${layout_base_libdir}/ || die "failed to install $i" + install -m 0644 ${B}/$i ${STAGING_DIR_HOST}/${layout_libdir}/ || die "failed to install $i" done - echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_DIR_HOST}/${layout_base_libdir}/libpthread.so - echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_DIR_HOST}/${layout_base_libdir}/libc.so + echo 'GROUP ( ${layout_base_libdir}/libpthread.so.0 ${layout_libdir}/libpthread_nonshared.a )' > ${STAGING_DIR_HOST}/${layout_libdir}/libpthread.so + echo 'GROUP ( ${layout_base_libdir}/libc.so.6 ${layout_libdir}/libc_nonshared.a )' > ${STAGING_DIR_HOST}/${layout_libdir}/libc.so } diff --git a/packages/glibc/glibc_2.3.2+cvs20040726.bb b/packages/glibc/glibc_2.3.2+cvs20040726.bb index c40968dd7f..8beed8e8dc 100644 --- a/packages/glibc/glibc_2.3.2+cvs20040726.bb +++ b/packages/glibc/glibc_2.3.2+cvs20040726.bb @@ -3,7 +3,7 @@ require glibc.inc DEFAULT_PREFERENCE_sh3 = "-99" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs" -PR = "r25" +PR = "r26" GLIBC_ADDONS ?= "linuxthreads" diff --git a/packages/glibc/glibc_2.3.2.bb b/packages/glibc/glibc_2.3.2.bb index 6ea2951eb6..fc06794e61 100644 --- a/packages/glibc/glibc_2.3.2.bb +++ b/packages/glibc/glibc_2.3.2.bb @@ -1,6 +1,6 @@ require glibc.inc -PR = "r14" +PR = "r15" DEFAULT_PREFERENCE_sh3 = "-99" diff --git a/packages/glibc/glibc_2.3.3+cvs20041128.bb b/packages/glibc/glibc_2.3.3+cvs20041128.bb index 9c344ccc46..4c9b3dce94 100644 --- a/packages/glibc/glibc_2.3.3+cvs20041128.bb +++ b/packages/glibc/glibc_2.3.3+cvs20041128.bb @@ -3,7 +3,7 @@ require glibc.inc DEFAULT_PREFERENCE_sh3 = "-99" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs" -PR = "r10" +PR = "r11" GLIBC_ADDONS ?= "linuxthreads" diff --git a/packages/glibc/glibc_2.3.3+cvs20050221.bb b/packages/glibc/glibc_2.3.3+cvs20050221.bb index 51de036ece..4517adedcc 100644 --- a/packages/glibc/glibc_2.3.3+cvs20050221.bb +++ b/packages/glibc/glibc_2.3.3+cvs20050221.bb @@ -3,7 +3,7 @@ require glibc.inc DEFAULT_PREFERENCE_sh3 = "-99" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs" -PR = "r10" +PR = "r11" GLIBC_ADDONS ?= "linuxthreads" diff --git a/packages/glibc/glibc_2.3.3+cvs20050420.bb b/packages/glibc/glibc_2.3.3+cvs20050420.bb index 6fb4b12293..b1a5d66b17 100644 --- a/packages/glibc/glibc_2.3.3+cvs20050420.bb +++ b/packages/glibc/glibc_2.3.3+cvs20050420.bb @@ -5,7 +5,7 @@ DEFAULT_PREFERENCE_i586 = "0" DEFAULT_PREFERENCE_sh3 = "-99" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs" -PR = "r8" +PR = "r9" GLIBC_ADDONS ?= "linuxthreads" diff --git a/packages/glibc/glibc_2.3.3.bb b/packages/glibc/glibc_2.3.3.bb index b1eeef30f0..510709aba9 100644 --- a/packages/glibc/glibc_2.3.3.bb +++ b/packages/glibc/glibc_2.3.3.bb @@ -1,6 +1,6 @@ require glibc.inc -PR = "r11" +PR = "r12" DEFAULT_PREFERENCE_sh3 = "-99" diff --git a/packages/glibc/glibc_2.3.5+cvs20050627.bb b/packages/glibc/glibc_2.3.5+cvs20050627.bb index 4e80f90d2c..d0a396d465 100644 --- a/packages/glibc/glibc_2.3.5+cvs20050627.bb +++ b/packages/glibc/glibc_2.3.5+cvs20050627.bb @@ -2,7 +2,7 @@ require glibc.inc FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs-2.3.5" SRCDATE = "20050627" -PR = "r17" +PR = "r18" #Doesnt build for sh3 DEFAULT_PREFERENCE_sh3="-1" diff --git a/packages/glibc/glibc_2.3.6.bb b/packages/glibc/glibc_2.3.6.bb index bebc48dfa5..4519be9d03 100644 --- a/packages/glibc/glibc_2.3.6.bb +++ b/packages/glibc/glibc_2.3.6.bb @@ -1,5 +1,7 @@ require glibc.inc +PR = "r0" + #FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/glibc-2.3.6', '${FILE_DIRNAME}/orig/glibc', '${FILE_DIRNAME}/orig/files', '${FILE_DIRNAME}/orig' ], d)}" GLIBC_ADDONS ?= "linuxthreads" diff --git a/packages/glibc/glibc_2.4.bb b/packages/glibc/glibc_2.4.bb index 0ab3dbb157..1112486c50 100644 --- a/packages/glibc/glibc_2.4.bb +++ b/packages/glibc/glibc_2.4.bb @@ -1,6 +1,6 @@ require glibc.inc -PR = "r15" +PR = "r16" #add the hosts that are confirmed to be working to COMPATIBLE_HOSTi COMPATIBLE_HOST = '(i.86.*-linux|sh.*-linux)' diff --git a/packages/glibc/glibc_2.5.bb b/packages/glibc/glibc_2.5.bb index c74a748357..6df70076b8 100644 --- a/packages/glibc/glibc_2.5.bb +++ b/packages/glibc/glibc_2.5.bb @@ -1,5 +1,5 @@ require glibc.inc -PR = "r12" +PR = "r13" ARM_INSTRUCTION_SET = "arm" diff --git a/packages/glibc/glibc_2.6.1.bb b/packages/glibc/glibc_2.6.1.bb index c1c0c3150d..5069ea19e2 100644 --- a/packages/glibc/glibc_2.6.1.bb +++ b/packages/glibc/glibc_2.6.1.bb @@ -1,5 +1,5 @@ require glibc.inc -PR = "r5" +PR = "r6" ARM_INSTRUCTION_SET = "arm" diff --git a/packages/glibc/glibc_2.7.bb b/packages/glibc/glibc_2.7.bb index d355d85360..760883c4b6 100644 --- a/packages/glibc/glibc_2.7.bb +++ b/packages/glibc/glibc_2.7.bb @@ -5,7 +5,7 @@ ARM_INSTRUCTION_SET = "arm" PACKAGES_DYNAMIC = "libc6*" RPROVIDES_${PN}-dev = "libc6-dev" -PR = "r2" +PR = "r3" # the -isystem in bitbake.conf screws up glibc do_stage BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" -- cgit v1.2.3 From 826d9b38af92ce9f032657fe238f6a597a129fc3 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 28 May 2008 12:44:00 +0000 Subject: gcc 4.2.4: another point release in the 4.2 series --- packages/gcc/gcc-4.2.4.inc | 73 + packages/gcc/gcc-4.2.4/.mtn2git_empty | 0 packages/gcc/gcc-4.2.4/100-uclibc-conf.patch | 200 ++ .../gcc/gcc-4.2.4/103-uclibc-conf-noupstream.patch | 11 + packages/gcc/gcc-4.2.4/110-arm-eabi.patch | 27 + packages/gcc/gcc-4.2.4/200-uclibc-locale.patch | 2790 ++++++++++++++++++++ .../gcc/gcc-4.2.4/203-uclibc-locale-no__x.patch | 213 ++ .../gcc-4.2.4/204-uclibc-locale-wchar_fix.patch | 48 + .../gcc/gcc-4.2.4/205-uclibc-locale-update.patch | 347 +++ packages/gcc/gcc-4.2.4/300-libstdc++-pic.patch | 46 + .../gcc/gcc-4.2.4/301-missing-execinfo_h.patch | 11 + packages/gcc/gcc-4.2.4/302-c99-snprintf.patch | 11 + .../gcc/gcc-4.2.4/303-c99-complex-ugly-hack.patch | 12 + packages/gcc/gcc-4.2.4/304-index_macro.patch | 24 + .../gcc-4.2.4/305-libmudflap-susv3-legacy.patch | 49 + .../gcc/gcc-4.2.4/306-libstdc++-namespace.patch | 36 + packages/gcc/gcc-4.2.4/307-locale_facets.patch | 26 + .../gcc-4.2.4/402-libbackend_dep_gcov-iov.h.patch | 13 + .../gcc/gcc-4.2.4/602-sdk-libstdc++-includes.patch | 20 + packages/gcc/gcc-4.2.4/740-sh-pr24836.patch | 25 + packages/gcc/gcc-4.2.4/800-arm-bigendian.patch | 67 + .../gcc/gcc-4.2.4/801-arm-bigendian-eabi.patch | 14 + .../gcc/gcc-4.2.4/904-flatten-switch-stmt-00.patch | 153 ++ packages/gcc/gcc-4.2.4/README | 4 + packages/gcc/gcc-4.2.4/arm-crunch-20000320.patch | 11 + .../gcc/gcc-4.2.4/arm-crunch-32bit-disable.patch | 85 + .../gcc-4.2.4/arm-crunch-64bit-disable-4.2.0.patch | 169 ++ .../gcc/gcc-4.2.4/arm-crunch-64bit-disable0.patch | 47 + packages/gcc/gcc-4.2.4/arm-crunch-and-or.patch | 67 + .../gcc/gcc-4.2.4/arm-crunch-cfcvt64-disable.patch | 19 + .../gcc/gcc-4.2.4/arm-crunch-cfcvtds-disable.patch | 32 + .../gcc/gcc-4.2.4/arm-crunch-cirrus-bugfixes.patch | 573 ++++ .../gcc/gcc-4.2.4/arm-crunch-compare-geu.patch | 48 + .../gcc-4.2.4/arm-crunch-compare-unordered.patch | 98 + .../arm-crunch-compare-unordered.patch-z-eq | 98 + packages/gcc/gcc-4.2.4/arm-crunch-compare.patch | 400 +++ .../gcc/gcc-4.2.4/arm-crunch-compare.patch-z-eq | 400 +++ packages/gcc/gcc-4.2.4/arm-crunch-dominance.patch | 12 + .../gcc-4.2.4/arm-crunch-eabi-ieee754-div.patch | 139 + .../gcc/gcc-4.2.4/arm-crunch-eabi-ieee754.patch | 100 + packages/gcc/gcc-4.2.4/arm-crunch-eabi.patch | 64 + .../arm-crunch-floatsi-disable-single.patch | 38 + .../gcc/gcc-4.2.4/arm-crunch-floatsi-disable.patch | 61 + .../gcc/gcc-4.2.4/arm-crunch-floatunsidf.patch | 37 + packages/gcc/gcc-4.2.4/arm-crunch-fp_consts.patch | 13 + packages/gcc/gcc-4.2.4/arm-crunch-neg.patch | 30 + packages/gcc/gcc-4.2.4/arm-crunch-neg2.patch | 25 + packages/gcc/gcc-4.2.4/arm-crunch-offset.patch | 20 + packages/gcc/gcc-4.2.4/arm-crunch-predicates.patch | 20 + .../gcc/gcc-4.2.4/arm-crunch-predicates2.patch | 10 + .../gcc/gcc-4.2.4/arm-crunch-predicates3.patch | 116 + packages/gcc/gcc-4.2.4/arm-crunch-saveregs.patch | 153 ++ packages/gcc/gcc-4.2.4/arm-crunch-scc.patch | 38 + .../gcc-4.2.4/arm-crunch-truncsi-disable-new.patch | 33 + .../gcc/gcc-4.2.4/arm-crunch-truncsi-disable.patch | 56 + packages/gcc/gcc-4.2.4/arm-nolibfloat.patch | 24 + packages/gcc/gcc-4.2.4/arm-softfloat.patch | 16 + packages/gcc/gcc-4.2.4/arm-thumb-cache.patch | 29 + packages/gcc/gcc-4.2.4/arm-thumb.patch | 64 + packages/gcc/gcc-4.2.4/cache-amnesia.patch | 13 + .../gcc-4.2.4/fix-ICE-in-arm_unwind_emit_set.diff | 18 + .../gcc/gcc-4.2.4/fortran-cross-compile-hack.patch | 30 + .../gcc/gcc-4.2.4/fortran-static-linking.patch | 48 + packages/gcc/gcc-4.2.4/gcc-4.0.2-e300c2c3.patch | 311 +++ packages/gcc/gcc-4.2.4/gcc41-configure.in.patch | 22 + packages/gcc/gcc-4.2.4/gfortran.patch | 40 + packages/gcc/gcc-4.2.4/intermask-bigendian.patch | 24 + packages/gcc/gcc-4.2.4/ldflags.patch | 22 + .../gcc/gcc-4.2.4/sdk-libstdc++-includes.patch | 22 + .../gcc/gcc-4.2.4/sh3-installfix-fixheaders.patch | 11 + packages/gcc/gcc-4.2.4/unbreak-armv4t.patch | 12 + .../gcc/gcc-4.2.4/zecke-no-host-includes.patch | 31 + packages/gcc/gcc-4.2.4/zecke-xgcc-cpp.patch | 16 + packages/gcc/gcc-cross-initial_4.2.4.bb | 5 + packages/gcc/gcc-cross-sdk_4.2.4.bb | 14 + packages/gcc/gcc-cross_4.2.4.bb | 12 + packages/gcc/gcc_4.2.4.bb | 10 + 77 files changed, 8026 insertions(+) create mode 100644 packages/gcc/gcc-4.2.4.inc create mode 100644 packages/gcc/gcc-4.2.4/.mtn2git_empty create mode 100644 packages/gcc/gcc-4.2.4/100-uclibc-conf.patch create mode 100644 packages/gcc/gcc-4.2.4/103-uclibc-conf-noupstream.patch create mode 100644 packages/gcc/gcc-4.2.4/110-arm-eabi.patch create mode 100644 packages/gcc/gcc-4.2.4/200-uclibc-locale.patch create mode 100644 packages/gcc/gcc-4.2.4/203-uclibc-locale-no__x.patch create mode 100644 packages/gcc/gcc-4.2.4/204-uclibc-locale-wchar_fix.patch create mode 100644 packages/gcc/gcc-4.2.4/205-uclibc-locale-update.patch create mode 100644 packages/gcc/gcc-4.2.4/300-libstdc++-pic.patch create mode 100644 packages/gcc/gcc-4.2.4/301-missing-execinfo_h.patch create mode 100644 packages/gcc/gcc-4.2.4/302-c99-snprintf.patch create mode 100644 packages/gcc/gcc-4.2.4/303-c99-complex-ugly-hack.patch create mode 100644 packages/gcc/gcc-4.2.4/304-index_macro.patch create mode 100644 packages/gcc/gcc-4.2.4/305-libmudflap-susv3-legacy.patch create mode 100644 packages/gcc/gcc-4.2.4/306-libstdc++-namespace.patch create mode 100644 packages/gcc/gcc-4.2.4/307-locale_facets.patch create mode 100644 packages/gcc/gcc-4.2.4/402-libbackend_dep_gcov-iov.h.patch create mode 100644 packages/gcc/gcc-4.2.4/602-sdk-libstdc++-includes.patch create mode 100644 packages/gcc/gcc-4.2.4/740-sh-pr24836.patch create mode 100644 packages/gcc/gcc-4.2.4/800-arm-bigendian.patch create mode 100644 packages/gcc/gcc-4.2.4/801-arm-bigendian-eabi.patch create mode 100644 packages/gcc/gcc-4.2.4/904-flatten-switch-stmt-00.patch create mode 100644 packages/gcc/gcc-4.2.4/README create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-20000320.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-32bit-disable.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-64bit-disable-4.2.0.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-64bit-disable0.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-and-or.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-cfcvt64-disable.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-cfcvtds-disable.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-cirrus-bugfixes.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-compare-geu.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-compare-unordered.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-compare-unordered.patch-z-eq create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-compare.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-compare.patch-z-eq create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-dominance.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-eabi-ieee754-div.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-eabi-ieee754.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-eabi.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-floatsi-disable-single.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-floatsi-disable.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-floatunsidf.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-fp_consts.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-neg.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-neg2.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-offset.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-predicates.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-predicates2.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-predicates3.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-saveregs.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-scc.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-truncsi-disable-new.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-crunch-truncsi-disable.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-nolibfloat.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-softfloat.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-thumb-cache.patch create mode 100644 packages/gcc/gcc-4.2.4/arm-thumb.patch create mode 100644 packages/gcc/gcc-4.2.4/cache-amnesia.patch create mode 100644 packages/gcc/gcc-4.2.4/fix-ICE-in-arm_unwind_emit_set.diff create mode 100644 packages/gcc/gcc-4.2.4/fortran-cross-compile-hack.patch create mode 100644 packages/gcc/gcc-4.2.4/fortran-static-linking.patch create mode 100644 packages/gcc/gcc-4.2.4/gcc-4.0.2-e300c2c3.patch create mode 100644 packages/gcc/gcc-4.2.4/gcc41-configure.in.patch create mode 100644 packages/gcc/gcc-4.2.4/gfortran.patch create mode 100644 packages/gcc/gcc-4.2.4/intermask-bigendian.patch create mode 100644 packages/gcc/gcc-4.2.4/ldflags.patch create mode 100644 packages/gcc/gcc-4.2.4/sdk-libstdc++-includes.patch create mode 100644 packages/gcc/gcc-4.2.4/sh3-installfix-fixheaders.patch create mode 100644 packages/gcc/gcc-4.2.4/unbreak-armv4t.patch create mode 100644 packages/gcc/gcc-4.2.4/zecke-no-host-includes.patch create mode 100644 packages/gcc/gcc-4.2.4/zecke-xgcc-cpp.patch create mode 100644 packages/gcc/gcc-cross-initial_4.2.4.bb create mode 100644 packages/gcc/gcc-cross-sdk_4.2.4.bb create mode 100644 packages/gcc/gcc-cross_4.2.4.bb create mode 100644 packages/gcc/gcc_4.2.4.bb (limited to 'packages') diff --git a/packages/gcc/gcc-4.2.4.inc b/packages/gcc/gcc-4.2.4.inc new file mode 100644 index 0000000000..87eb532b21 --- /dev/null +++ b/packages/gcc/gcc-4.2.4.inc @@ -0,0 +1,73 @@ +require gcc-common.inc + +DEPENDS = "mpfr gmp" + +SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ + file://100-uclibc-conf.patch;patch=1 \ + file://103-uclibc-conf-noupstream.patch;patch=1 \ + file://200-uclibc-locale.patch;patch=1 \ + file://203-uclibc-locale-no__x.patch;patch=1 \ + file://204-uclibc-locale-wchar_fix.patch;patch=1 \ + file://205-uclibc-locale-update.patch;patch=1 \ + file://300-libstdc++-pic.patch;patch=1 \ + file://301-missing-execinfo_h.patch;patch=1 \ + file://302-c99-snprintf.patch;patch=1 \ + file://303-c99-complex-ugly-hack.patch;patch=1 \ + file://304-index_macro.patch;patch=1 \ + file://305-libmudflap-susv3-legacy.patch;patch=1 \ + file://306-libstdc++-namespace.patch;patch=1 \ + file://307-locale_facets.patch;patch=1 \ + file://402-libbackend_dep_gcov-iov.h.patch;patch=1 \ + file://602-sdk-libstdc++-includes.patch;patch=1 \ + file://740-sh-pr24836.patch;patch=1 \ + file://800-arm-bigendian.patch;patch=1 \ + file://801-arm-bigendian-eabi.patch;patch=1 \ + file://904-flatten-switch-stmt-00.patch;patch=1 \ + file://arm-nolibfloat.patch;patch=1 \ + file://arm-softfloat.patch;patch=1 \ + file://gcc41-configure.in.patch;patch=1 \ + file://arm-thumb.patch;patch=1 \ + file://arm-thumb-cache.patch;patch=1 \ + file://ldflags.patch;patch=1 \ + file://zecke-xgcc-cpp.patch;patch=1 \ + file://unbreak-armv4t.patch;patch=1 \ + file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \ + file://cache-amnesia.patch;patch=1 \ + file://gfortran.patch;patch=1 \ + file://gcc-4.0.2-e300c2c3.patch;patch=1 \ + file://fortran-static-linking.patch;patch=1 \ + file://intermask-bigendian.patch;patch=1 \ +" + +SRC_URI_append_ep93xx = " \ + file://arm-crunch-saveregs.patch;patch=1 \ + file://arm-crunch-20000320.patch;patch=1 \ + file://arm-crunch-compare.patch;patch=1 \ + file://arm-crunch-compare-unordered.patch;patch=1 \ + file://arm-crunch-compare-geu.patch;patch=1 \ + file://arm-crunch-eabi-ieee754.patch;patch=1 \ + file://arm-crunch-eabi-ieee754-div.patch;patch=1 \ + file://arm-crunch-64bit-disable0.patch;patch=1 \ + file://arm-crunch-offset.patch;patch=1 \ + file://arm-crunch-fp_consts.patch;patch=1 \ + file://arm-crunch-neg2.patch;patch=1 \ + file://arm-crunch-predicates3.patch;patch=1 \ + file://arm-crunch-cfcvtds-disable.patch;patch=1 \ + file://arm-crunch-floatsi-disable.patch;patch=1 \ + file://arm-crunch-truncsi-disable.patch;patch=1 \ + file://arm-crunch-cfcvt64-disable.patch;patch=1 \ + file://arm-crunch-cirrus-bugfixes.patch;patch=1 \ + " + +PACKAGE_ARCH_ep93xx = "${MACHINE_ARCH}" + +SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " + +# Language Overrides +FORTRAN = "" +FORTRAN_linux-gnueabi = ",fortran" +JAVA = "" + +EXTRA_OECONF_BASE = "--enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap" + +ARM_INSTRUCTION_SET = "arm" diff --git a/packages/gcc/gcc-4.2.4/.mtn2git_empty b/packages/gcc/gcc-4.2.4/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/gcc/gcc-4.2.4/100-uclibc-conf.patch b/packages/gcc/gcc-4.2.4/100-uclibc-conf.patch new file mode 100644 index 0000000000..4243ff7b91 --- /dev/null +++ b/packages/gcc/gcc-4.2.4/100-uclibc-conf.patch @@ -0,0 +1,200 @@ +--- gcc/libgomp/configure ++++ gcc/libgomp/configure +@@ -3771,7 +3771,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/gcc/config/cris/linux.h ++++ gcc/gcc/config/cris/linux.h +@@ -74,7 +74,11 @@ + #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG + + #undef CRIS_SUBTARGET_VERSION +-#define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu" ++#if UCLIBC_DEFAULT ++# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-uclibc" ++#else ++# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu" ++#endif + + #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" + +--- gcc/libstdc++-v3/configure ++++ gcc/libstdc++-v3/configure +@@ -4276,7 +4276,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/zlib/configure ++++ gcc/zlib/configure +@@ -3422,7 +3422,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/libobjc/configure ++++ gcc/libobjc/configure +@@ -3309,7 +3309,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/libgfortran/configure ++++ gcc/libgfortran/configure +@@ -3695,7 +3695,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/libmudflap/configure ++++ gcc/libmudflap/configure +@@ -5378,7 +5378,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/boehm-gc/configure ++++ gcc/boehm-gc/configure +@@ -4316,7 +4316,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/libffi/configure ++++ gcc/libffi/configure +@@ -3453,7 +3453,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/libssp/configure ++++ gcc/libssp/configure +@@ -4409,7 +4409,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/contrib/regression/objs-gcc.sh ++++ gcc/contrib/regression/objs-gcc.sh +@@ -105,6 +105,10 @@ + then + make all-gdb all-dejagnu all-ld || exit 1 + make install-gdb install-dejagnu install-ld || exit 1 ++elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ] ++ then ++ make all-gdb all-dejagnu all-ld || exit 1 ++ make install-gdb install-dejagnu install-ld || exit 1 + elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then + make bootstrap || exit 1 + make install || exit 1 +--- gcc/libjava/classpath/ltconfig ++++ gcc/libjava/classpath/ltconfig +@@ -603,7 +603,7 @@ + + # Transform linux* to *-*-linux-gnu*, to support old configure scripts. + case $host_os in +-linux-gnu*) ;; ++linux-gnu*|linux-uclibc*) ;; + linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` + esac + +@@ -1251,7 +1251,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + version_type=linux + need_lib_prefix=no + need_version=no +--- gcc/libjava/classpath/configure ++++ gcc/libjava/classpath/configure +@@ -4665,7 +4665,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/libjava/configure ++++ gcc/libjava/configure +@@ -5212,7 +5212,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/libtool.m4 ++++ gcc/libtool.m4 +@@ -739,7 +739,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + lt_cv_deplibs_check_method=pass_all + ;; + +--- gcc/ltconfig ++++ gcc/ltconfig +@@ -603,7 +603,7 @@ + + # Transform linux* to *-*-linux-gnu*, to support old configure scripts. + case $host_os in +-linux-gnu*) ;; ++linux-gnu*|linux-uclibc*) ;; + linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` + esac + +@@ -1251,7 +1251,7 @@ + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + version_type=linux + need_lib_prefix=no + need_version=no diff --git a/packages/gcc/gcc-4.2.4/103-uclibc-conf-noupstream.patch b/packages/gcc/gcc-4.2.4/103-uclibc-conf-noupstream.patch new file mode 100644 index 0000000000..09c9bbecfb --- /dev/null +++ b/packages/gcc/gcc-4.2.4/103-uclibc-conf-noupstream.patch @@ -0,0 +1,11 @@ +--- gcc/gcc/config.gcc.uclibc100-sh~ 2006-03-06 20:46:56 +0100 ++++ gcc/gcc/config.gcc 2006-03-10 15:02:41 +0100 +@@ -1905,7 +1905,7 @@ + ;; + sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \ + sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ +- sh-*-linux* | sh[346lbe]*-*-linux* | \ ++ sh*-*-linux* | sh[346lbe]*-*-linux* | \ + sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ + sh64-*-netbsd* | sh64l*-*-netbsd*) + tmake_file="${tmake_file} sh/t-sh sh/t-elf" diff --git a/packages/gcc/gcc-4.2.4/110-arm-eabi.patch b/packages/gcc/gcc-4.2.4/110-arm-eabi.patch new file mode 100644 index 0000000000..acebe5308f --- /dev/null +++ b/packages/gcc/gcc-4.2.4/110-arm-eabi.patch @@ -0,0 +1,27 @@ +--- gcc-2005q3-1.orig/gcc/config.gcc 2005-10-31 19:02:54.000000000 +0300 ++++ gcc-2005q3-1/gcc/config.gcc 2006-01-27 01:09:09.000000000 +0300 +@@ -674,7 +674,7 @@ + tm_file="dbxelf.h elfos.h linux.h arm/elf.h arm/linux-gas.h arm/linux-elf.h" + tmake_file="t-slibgcc-elf-ver t-linux arm/t-arm" + case ${target} in +- arm*-*-linux-gnueabi) ++ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi) + tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h" + tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi" + # The BPABI long long divmod functions return a 128-bit value in + +diff -urN gcc-2005q3-2/gcc/config/arm/linux-eabi.h gcc-2005q3-2.new/gcc/config/arm/linux-eabi.h +--- gcc-2005q3-2/gcc/config/arm/linux-eabi.h 2005-12-07 23:14:16.000000000 +0300 ++++ gcc-2005q3-2.new/gcc/config/arm/linux-eabi.h 2006-03-29 19:02:34.000000000 +0400 +@@ -53,7 +53,11 @@ + /* Use ld-linux.so.3 so that it will be possible to run "classic" + GNU/Linux binaries on an EABI system. */ + #undef LINUX_TARGET_INTERPRETER ++#ifdef USE_UCLIBC ++#define LINUX_TARGET_INTERPRETER "/lib/ld-uClibc.so.0" ++#else + #define LINUX_TARGET_INTERPRETER "/lib/ld-linux.so.3" ++#endif + + /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to + use the GNU/Linux version, not the generic BPABI version. */ diff --git a/packages/gcc/gcc-4.2.4/200-uclibc-locale.patch b/packages/gcc/gcc-4.2.4/200-uclibc-locale.patch new file mode 100644 index 0000000000..ea21388b75 --- /dev/null +++ b/packages/gcc/gcc-4.2.4/200-uclibc-locale.patch @@ -0,0 +1,2790 @@ +--- gcc/libstdc++-v3/acinclude.m4 ++++ gcc/libstdc++-v3/acinclude.m4 +@@ -1369,7 +1369,7 @@ + AC_DEFUN([GLIBCXX_ENABLE_CLOCALE], [ + GLIBCXX_ENABLE(clocale,auto,[@<:@=MODEL@:>@], + [use MODEL for target locale package], +- [permit generic|gnu|ieee_1003.1-2001|yes|no|auto]) ++ [permit generic|gnu|ieee_1003.1-2001|uclibc|yes|no|auto]) + + # Deal with gettext issues. Default to not using it (=no) until we detect + # support for it later. Let the user turn it off via --e/d, but let that +@@ -1385,6 +1385,9 @@ + # Default to "generic". + if test $enable_clocale_flag = auto; then + case ${target_os} in ++ *-uclibc*) ++ enable_clocale_flag=uclibc ++ ;; + linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu) + AC_EGREP_CPP([_GLIBCXX_ok], [ + #include +@@ -1528,6 +1531,40 @@ + CTIME_CC=config/locale/generic/time_members.cc + CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h + ;; ++ uclibc) ++ AC_MSG_RESULT(uclibc) ++ ++ # Declare intention to use gettext, and add support for specific ++ # languages. ++ # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT ++ ALL_LINGUAS="de fr" ++ ++ # Don't call AM-GNU-GETTEXT here. Instead, assume glibc. ++ AC_CHECK_PROG(check_msgfmt, msgfmt, yes, no) ++ if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then ++ USE_NLS=yes ++ fi ++ # Export the build objects. ++ for ling in $ALL_LINGUAS; do \ ++ glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \ ++ glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \ ++ done ++ AC_SUBST(glibcxx_MOFILES) ++ AC_SUBST(glibcxx_POFILES) ++ ++ CLOCALE_H=config/locale/uclibc/c_locale.h ++ CLOCALE_CC=config/locale/uclibc/c_locale.cc ++ CCODECVT_CC=config/locale/uclibc/codecvt_members.cc ++ CCOLLATE_CC=config/locale/uclibc/collate_members.cc ++ CCTYPE_CC=config/locale/uclibc/ctype_members.cc ++ CMESSAGES_H=config/locale/uclibc/messages_members.h ++ CMESSAGES_CC=config/locale/uclibc/messages_members.cc ++ CMONEY_CC=config/locale/uclibc/monetary_members.cc ++ CNUMERIC_CC=config/locale/uclibc/numeric_members.cc ++ CTIME_H=config/locale/uclibc/time_members.h ++ CTIME_CC=config/locale/uclibc/time_members.cc ++ CLOCALE_INTERNAL_H=config/locale/uclibc/c++locale_internal.h ++ ;; + esac + + # This is where the testsuite looks for locale catalogs, using the +--- gcc/libstdc++-v3/config/locale/uclibc/c++locale_internal.h ++++ gcc/libstdc++-v3/config/locale/uclibc/c++locale_internal.h +@@ -0,0 +1,63 @@ ++// Prototypes for GLIBC thread locale __-prefixed functions -*- C++ -*- ++ ++// Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. ++// ++// This file is part of the GNU ISO C++ Library. This library is free ++// software; you can redistribute it and/or modify it under the ++// terms of the GNU General Public License as published by the ++// Free Software Foundation; either version 2, or (at your option) ++// any later version. ++ ++// This library is distributed in the hope that it will be useful, ++// but WITHOUT ANY WARRANTY; without even the implied warranty of ++// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++// GNU General Public License for more details. ++ ++// You should have received a copy of the GNU General Public License along ++// with this library; see the file COPYING. If not, write to the Free ++// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++// USA. ++ ++// As a special exception, you may use this file as part of a free software ++// library without restriction. Specifically, if other files instantiate ++// templates or use macros or inline functions from this file, or you compile ++// this file and link it with other files to produce an executable, this ++// file does not by itself cause the resulting executable to be covered by ++// the GNU General Public License. This exception does not however ++// invalidate any other reasons why the executable file might be covered by ++// the GNU General Public License. ++ ++// Written by Jakub Jelinek ++ ++#include ++#include ++ ++#ifdef __UCLIBC_MJN3_ONLY__ ++#warning clean this up ++#endif ++ ++#ifdef __UCLIBC_HAS_XLOCALE__ ++ ++extern "C" __typeof(nl_langinfo_l) __nl_langinfo_l; ++extern "C" __typeof(strcoll_l) __strcoll_l; ++extern "C" __typeof(strftime_l) __strftime_l; ++extern "C" __typeof(strtod_l) __strtod_l; ++extern "C" __typeof(strtof_l) __strtof_l; ++extern "C" __typeof(strtold_l) __strtold_l; ++extern "C" __typeof(strxfrm_l) __strxfrm_l; ++extern "C" __typeof(newlocale) __newlocale; ++extern "C" __typeof(freelocale) __freelocale; ++extern "C" __typeof(duplocale) __duplocale; ++extern "C" __typeof(uselocale) __uselocale; ++ ++#ifdef _GLIBCXX_USE_WCHAR_T ++extern "C" __typeof(iswctype_l) __iswctype_l; ++extern "C" __typeof(towlower_l) __towlower_l; ++extern "C" __typeof(towupper_l) __towupper_l; ++extern "C" __typeof(wcscoll_l) __wcscoll_l; ++extern "C" __typeof(wcsftime_l) __wcsftime_l; ++extern "C" __typeof(wcsxfrm_l) __wcsxfrm_l; ++extern "C" __typeof(wctype_l) __wctype_l; ++#endif ++ ++#endif // GLIBC 2.3 and later +--- gcc/libstdc++-v3/config/locale/uclibc/c_locale.cc ++++ gcc/libstdc++-v3/config/locale/uclibc/c_locale.cc +@@ -0,0 +1,160 @@ ++// Wrapper for underlying C-language localization -*- C++ -*- ++ ++// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. ++// ++// This file is part of the GNU ISO C++ Library. This library is free ++// software; you can redistribute it and/or modify it under the ++// terms of the GNU General Public License as published by the ++// Free Software Foundation; either version 2, or (at your option) ++// any later version. ++ ++// This library is distributed in the hope that it will be useful, ++// but WITHOUT ANY WARRANTY; without even the implied warranty of ++// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++// GNU General Public License for more details. ++ ++// You should have received a copy of the GNU General Public License along ++// with this library; see the file COPYING. If not, write to the Free ++// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++// USA. ++ ++// As a special exception, you may use this file as part of a free software ++// library without restriction. Specifically, if other files instantiate ++// templates or use macros or inline functions from this file, or you compile ++// this file and link it with other files to produce an executable, this ++// file does not by itself cause the resulting executable to be covered by ++// the GNU General Public License. This exception does not however ++// invalidate any other reasons why the executable file might be covered by ++// the GNU General Public License. ++ ++// ++// ISO C++ 14882: 22.8 Standard locale categories. ++// ++ ++// Written by Benjamin Kosnik ++ ++#include // For errno ++#include ++#include ++#include ++#include ++ ++#ifndef __UCLIBC_HAS_XLOCALE__ ++#define __strtol_l(S, E, B, L) strtol((S), (E), (B)) ++#define __strtoul_l(S, E, B, L) strtoul((S), (E), (B)) ++#define __strtoll_l(S, E, B, L) strtoll((S), (E), (B)) ++#define __strtoull_l(S, E, B, L) strtoull((S), (E), (B)) ++#define __strtof_l(S, E, L) strtof((S), (E)) ++#define __strtod_l(S, E, L) strtod((S), (E)) ++#define __strtold_l(S, E, L) strtold((S), (E)) ++#warning should dummy __newlocale check for C|POSIX ? ++#define __newlocale(a, b, c) NULL ++#define __freelocale(a) ((void)0) ++#define __duplocale(a) __c_locale() ++#endif ++ ++namespace std ++{ ++ template<> ++ void ++ __convert_to_v(const char* __s, float& __v, ios_base::iostate& __err, ++ const __c_locale& __cloc) ++ { ++ if (!(__err & ios_base::failbit)) ++ { ++ char* __sanity; ++ errno = 0; ++ float __f = __strtof_l(__s, &__sanity, __cloc); ++ if (__sanity != __s && errno != ERANGE) ++ __v = __f; ++ else ++ __err |= ios_base::failbit; ++ } ++ } ++ ++ template<> ++ void ++ __convert_to_v(const char* __s, double& __v, ios_base::iostate& __err, ++ const __c_locale& __cloc) ++ { ++ if (!(__err & ios_base::failbit)) ++ { ++ char* __sanity; ++ errno = 0; ++ double __d = __strtod_l(__s, &__sanity, __cloc); ++ if (__sanity != __s && errno != ERANGE) ++ __v = __d; ++ else ++ __err |= ios_base::failbit; ++ } ++ } ++ ++ template<> ++ void ++ __convert_to_v(const char* __s, long double& __v, ios_base::iostate& __err, ++ const __c_locale& __cloc) ++ { ++ if (!(__err & ios_base::failbit)) ++ { ++ char* __sanity; ++ errno = 0; ++ long double __ld = __strtold_l(__s, &__sanity, __cloc); ++ if (__sanity != __s && errno != ERANGE) ++ __v = __ld; ++ else ++ __err |= ios_base::failbit; ++ } ++ } ++ ++ void ++ locale::facet::_S_create_c_locale(__c_locale& __cloc, const char* __s, ++ __c_locale __old) ++ { ++ __cloc = __newlocale(1 << LC_ALL, __s, __old); ++#ifdef __UCLIBC_HAS_XLOCALE__ ++ if (!__cloc) ++ { ++ // This named locale is not supported by the underlying OS. ++ __throw_runtime_error(__N("locale::facet::_S_create_c_locale " ++ "name not valid")); ++ } ++#endif ++ } ++ ++ void ++ locale::facet::_S_destroy_c_locale(__c_locale& __cloc) ++ { ++ if (_S_get_c_locale() != __cloc) ++ __freelocale(__cloc); ++ } ++ ++ __c_locale ++ locale::facet::_S_clone_c_locale(__c_locale& __cloc) ++ { return __duplocale(__cloc); } ++} // namespace std ++ ++namespace __gnu_cxx ++{ ++ const char* const category_names[6 + _GLIBCXX_NUM_CATEGORIES] = ++ { ++ "LC_CTYPE", ++ "LC_NUMERIC", ++ "LC_TIME", ++ "LC_COLLATE", ++ "LC_MONETARY", ++ "LC_MESSAGES", ++#if _GLIBCXX_NUM_CATEGORIES != 0 ++ "LC_PAPER", ++ "LC_NAME", ++ "LC_ADDRESS", ++ "LC_TELEPHONE", ++ "LC_MEASUREMENT", ++ "LC_IDENTIFICATION" ++#endif ++ }; ++} ++ ++namespace std ++{ ++ const char* const* const locale::_S_categories = __gnu_cxx::category_names; ++} // namespace std +--- gcc/libstdc++-v3/config/locale/uclibc/c_locale.h ++++ gcc/libstdc++-v3/config/locale/uclibc/c_locale.h +@@ -0,0 +1,117 @@ ++// Wrapper for underlying C-language localization -*- C++ -*- ++ ++// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. ++// ++// This file is part of the GNU ISO C++ Library. This library is free ++// software; you can redistribute it and/or modify it under the ++// terms of the GNU General Public License as published by the ++// Free Software Foundation; either version 2, or (at your option) ++// any later version. ++ ++// This library is distributed in the hope that it will be useful, ++// but WITHOUT ANY WARRANTY; without even the implied warranty of ++// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++// GNU General Public License for more details. ++ ++// You should have received a copy of the GNU General Public License along ++// with this library; see the file COPYING. If not, write to the Free ++// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, ++// USA. ++ ++// As a special exception, you may use this file as part of a free software ++// library without restriction. Specifically, if other files instantiate ++// templates or use macros or inline functions from this file, or you compile ++// this file and link it with other files to produce an executable, this ++// file does not by itself cause the resulting executable to be covered by ++// the GNU General P