Skip to contentSkip to conversation

devel/toolchain recipe upgrades

PATCH In review [email protected] 2 participants 7 messages May 29, 2011

lore
Share & tools
lore
#0 lore raw

cover devel/toolchain recipe upgrades

From: Nitin A Kamble <[email protected]>

I could build meta-toolchain & sato-sdk image for qemuppc with these commits.

I had to fix the autoconf's config-site patch to avoid lots of errors as site files were not getting parsed earlier.

The following changes since commit 1169f1b066d0028bd2ef7915440450bd42ef165e:

license.bbclass: Sane Parsing of licenses (2011-05-27 23:36:24 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib nitin/upgrades
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/upgrades

Nitin A Kamble (4):
m4: upgrade from 1.4.15 to 1.4.16
autoconf: upgrade from 2.65 to 2.68
bison: upgrade from 2.4.3 to 2.5
genttext-0.16.1: mark upstream status for gplv2 recipe's patches

 .../gettext/gettext-0.16.1/disable_java.patch      |    2 +
 .../gettext-0.16.1/fix_aclocal_version.patch       |    2 +
 .../gettext-0.16.1/fix_gnu_source_circular.patch   |    2 +
 .../gettext/gettext-0.16.1/fixchicken.patch        |    2 +
 .../gettext/gettext-0.16.1/getline.m4.patch        |    2 +
 .../gettext-autoconf-lib-link-no-L.patch           |    2 +
 .../gettext-error_print_progname.patch             |    2 +
 .../gettext/gettext-0.16.1/gettext-vpath.patch     |    2 +
 .../gettext-0.16.1/hardcode_macro_version.patch    |    2 +
 .../gettext/gettext-0.16.1/linklib_from_0.17.patch |    2 +
 .../{autoconf-2.65 => autoconf}/autoconf-x.patch   |    0
 .../autoheader-nonfatal-warnings.patch             |    0
 .../autoreconf-exclude.patch                       |    0
 .../autoreconf-foreign.patch                       |    0
 .../autoreconf-gnuconfigize.patch                  |    0
 .../autoreconf-include.patch                       |    0
 .../{autoconf-2.65 => autoconf}/config_site.patch  |   19 ++-
 .../fix_path_xtra.patch                            |   14 +-
 .../path_prog_fixes.patch                          |    0
 .../program_prefix.patch                           |    0
 .../{autoconf_2.65.bb => autoconf_2.68.bb}         |    6 +-
 meta/recipes-devtools/bison/bison/m4.patch         |  131 --------------------
 .../bison/bison/uclibc-sched_param-def.patch       |   21 ---
 .../bison/{bison_2.4.3.bb => bison_2.5.bb}         |    7 +-
 .../{m4-native_1.4.15.bb => m4-native_1.4.16.bb}   |    0
 .../m4/{m4_1.4.15.bb => m4_1.4.16.bb}              |    6 +-
 26 files changed, 50 insertions(+), 174 deletions(-)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoconf-x.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoheader-nonfatal-warnings.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-exclude.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-foreign.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-gnuconfigize.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-include.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/config_site.patch (60%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/fix_path_xtra.patch (90%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/path_prog_fixes.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/program_prefix.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf_2.65.bb => autoconf_2.68.bb} (85%)
 delete mode 100644 meta/recipes-devtools/bison/bison/uclibc-sched_param-def.patch
 rename meta/recipes-devtools/bison/{bison_2.4.3.bb => bison_2.5.bb} (85%)
 rename meta/recipes-devtools/m4/{m4-native_1.4.15.bb => m4-native_1.4.16.bb} (100%)
 rename meta/recipes-devtools/m4/{m4_1.4.15.bb => m4_1.4.16.bb} (75%)
Signature · 1 line
1.7.2.2
#1 lore raw

PATCH 1/4 m4: upgrade from 1.4.15 to 1.4.16

From: Nitin A Kamble <[email protected]>

---
 .../{m4-native_1.4.15.bb => m4-native_1.4.16.bb}   |    0
 .../m4/{m4_1.4.15.bb => m4_1.4.16.bb}              |    6 +++---
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/m4/{m4-native_1.4.15.bb => m4-native_1.4.16.bb} (100%)
 rename meta/recipes-devtools/m4/{m4_1.4.15.bb => m4_1.4.16.bb} (75%)
meta/recipes-devtools/m4/m4-native_1.4.16.bb renamed from meta/recipes-devtools/m4/m4-native_1.4.15.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4-native_1.4.15.bb
rename to meta/recipes-devtools/m4/m4-native_1.4.16.bb
meta/recipes-devtools/m4/m4_1.4.16.bb renamed from meta/recipes-devtools/m4/m4_1.4.15.bb +3 -3
similarity index 75%
rename from meta/recipes-devtools/m4/m4_1.4.15.bb
rename to meta/recipes-devtools/m4/m4_1.4.16.bb
index 586071f..53ef5ae 100644
@@ -4,14 +4,14 @@ compatible although it has some extensions (for example, handling more than 9 po
 GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc."
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
-	file://examples/COPYING;md5=380fd7d57d3fd009a5716e074a845d6d"
+	file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d"
 
 PR = "r0"
 SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \
            file://ac_config_links.patch;patch=1"
 
-SRC_URI[md5sum] = "5649a2e593b6c639deae9e72ede777dd"
-SRC_URI[sha256sum] = "3d66dfeb609007062265a67b9a2c08d3686a74068830bacae60a6d58413c9367"
+SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280"
+SRC_URI[sha256sum] = "e9176a35bb13a1b08482359aa554ee8072794f58f00e4827bf0e06b570c827da"
 
 inherit autotools
 
Signature · 1 line
1.7.2.2
#2 lore raw

PATCH 2/4 autoconf: upgrade from 2.65 to 2.68

From: Nitin A Kamble <[email protected]>

And rebase the patches to the newer code.

---
 .../{autoconf-2.65 => autoconf}/autoconf-x.patch   |    0
 .../autoheader-nonfatal-warnings.patch             |    0
 .../autoreconf-exclude.patch                       |    0
 .../autoreconf-foreign.patch                       |    0
 .../autoreconf-gnuconfigize.patch                  |    0
 .../autoreconf-include.patch                       |    0
 .../{autoconf-2.65 => autoconf}/config_site.patch  |   19 ++++++++++++++-----
 .../fix_path_xtra.patch                            |   14 +++++++-------
 .../path_prog_fixes.patch                          |    0
 .../program_prefix.patch                           |    0
 .../{autoconf_2.65.bb => autoconf_2.68.bb}         |    6 +++---
 11 files changed, 24 insertions(+), 15 deletions(-)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoconf-x.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoheader-nonfatal-warnings.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-exclude.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-foreign.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-gnuconfigize.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-include.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/config_site.patch (60%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/fix_path_xtra.patch (90%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/path_prog_fixes.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/program_prefix.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf_2.65.bb => autoconf_2.68.bb} (85%)
meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch renamed from meta/recipes-devtools/autoconf/autoconf-2.65/autoconf-x.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/autoconf-x.patch
rename to meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch
meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch renamed from meta/recipes-devtools/autoconf/autoconf-2.65/autoheader-nonfatal-warnings.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/autoheader-nonfatal-warnings.patch
rename to meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch
meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch renamed from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-exclude.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-exclude.patch
rename to meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch
meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch renamed from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-foreign.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-foreign.patch
rename to meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
meta/recipes-devtools/autoconf/autoconf/autoreconf-gnuconfigize.patch renamed from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-gnuconfigize.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-gnuconfigize.patch
rename to meta/recipes-devtools/autoconf/autoconf/autoreconf-gnuconfigize.patch
meta/recipes-devtools/autoconf/autoconf/autoreconf-include.patch renamed from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-include.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-include.patch
rename to meta/recipes-devtools/autoconf/autoconf/autoreconf-include.patch
meta/recipes-devtools/autoconf/autoconf/config_site.patch renamed from meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch +14 -5
similarity index 60%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch
rename to meta/recipes-devtools/autoconf/autoconf/config_site.patch
index e3ff318..9f04440 100644
@@ -6,17 +6,26 @@ them.
 
 RP 1/2/10
 
-Index: autoconf-2.65/lib/autoconf/general.m4
+Updated for 2.68 version: the CONFIG_SITE var was not getting used at all
+fixed the 2.68 code 
+Nitin A Kamble <[email protected]> 2011/05/27
+
+Index: autoconf-2.68/lib/autoconf/general.m4
 ===================================================================
---- autoconf-2.65.orig/lib/autoconf/general.m4	2010-02-01 12:41:32.329073138 +0000
-+++ autoconf-2.65/lib/autoconf/general.m4	2010-02-01 12:41:56.769040799 +0000
-@@ -1863,17 +1863,10 @@
+--- autoconf-2.68.orig/lib/autoconf/general.m4
++++ autoconf-2.68/lib/autoconf/general.m4
+@@ -1878,7 +1878,6 @@ AU_DEFUN([AC_VALIDATE_CACHED_SYSTEM_TUPL
  m4_define([AC_SITE_LOAD],
  [# Prefer an explicitly selected file to automatically selected ones.
  ac_site_file1=NONE
 -ac_site_file2=NONE
  if test -n "$CONFIG_SITE"; then
-   ac_site_file1=$CONFIG_SITE
+   # We do not want a PATH search for config.site.
+   case $CONFIG_SITE in @%:@((
+@@ -1886,14 +1885,8 @@ if test -n "$CONFIG_SITE"; then
+     */*) ac_site_file1=$CONFIG_SITE;;
+     *)   ac_site_file1=./$CONFIG_SITE;;
+   esac
 -elif test "x$prefix" != xNONE; then
 -  ac_site_file1=$prefix/share/config.site
 -  ac_site_file2=$prefix/etc/config.site
meta/recipes-devtools/autoconf/autoconf/fix_path_xtra.patch renamed from meta/recipes-devtools/autoconf/autoconf-2.65/fix_path_xtra.patch +7 -7
similarity index 90%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/fix_path_xtra.patch
rename to meta/recipes-devtools/autoconf/autoconf/fix_path_xtra.patch
index 29fe6a2..65df88f 100644
@@ -6,11 +6,11 @@ This patch removes them to stop any confusion.
 
 RP - 20071115
 
-Index: autoconf-2.65/lib/autoconf/libs.m4
+Index: autoconf-2.68/lib/autoconf/libs.m4
 ===================================================================
---- autoconf-2.65.orig/lib/autoconf/libs.m4	2009-10-29 01:53:41.000000000 +0000
-+++ autoconf-2.65/lib/autoconf/libs.m4	2010-01-29 13:40:13.000000000 +0000
-@@ -159,53 +159,6 @@
+--- autoconf-2.68.orig/lib/autoconf/libs.m4
++++ autoconf-2.68/lib/autoconf/libs.m4
+@@ -159,53 +159,6 @@ m4_popdef([AC_Lib_Name])dnl
  # --------------------- #
  
  
@@ -32,7 +32,7 @@ Index: autoconf-2.65/lib/autoconf/libs.m4
 -	@echo libdir='${LIBDIR}'
 -_ACEOF
 -  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
--    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+-    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 -    for ac_var in incroot usrlibdir libdir; do
 -      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 -    done
@@ -64,7 +64,7 @@ Index: autoconf-2.65/lib/autoconf/libs.m4
  # _AC_PATH_X_DIRECT
  # -----------------
  # Internal subroutine of _AC_PATH_X.
-@@ -213,44 +166,7 @@
+@@ -213,44 +166,7 @@ fi
  m4_define([_AC_PATH_X_DIRECT],
  [# Standard set of common directories for X headers.
  # Check X11 before X11Rn because it is often a symlink to the current release.
@@ -110,7 +110,7 @@ Index: autoconf-2.65/lib/autoconf/libs.m4
  
  if test "$ac_x_includes" = no; then
    # Guess where to find include files, by looking for Xlib.h.
-@@ -299,7 +215,6 @@
+@@ -299,7 +215,6 @@ AC_DEFUN([_AC_PATH_X],
  [AC_CACHE_VAL(ac_cv_have_x,
  [# One or both of the vars are not set, and there is no cached value.
  ac_x_includes=no ac_x_libraries=no
meta/recipes-devtools/autoconf/autoconf/path_prog_fixes.patch renamed from meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch
rename to meta/recipes-devtools/autoconf/autoconf/path_prog_fixes.patch
meta/recipes-devtools/autoconf/autoconf/program_prefix.patch renamed from meta/recipes-devtools/autoconf/autoconf-2.65/program_prefix.patch +0 -0
similarity index 100%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/program_prefix.patch
rename to meta/recipes-devtools/autoconf/autoconf/program_prefix.patch
meta/recipes-devtools/autoconf/autoconf_2.68.bb renamed from meta/recipes-devtools/autoconf/autoconf_2.65.bb +3 -3
similarity index 85%
rename from meta/recipes-devtools/autoconf/autoconf_2.65.bb
rename to meta/recipes-devtools/autoconf/autoconf_2.68.bb
index 0bc615e..c647a15 100644
@@ -1,6 +1,6 @@
 require autoconf.inc
 
-PR = "r2"
+PR = "r0"
 
 PARALLEL_MAKE = ""
 
@@ -17,8 +17,8 @@ SRC_URI += "file://autoreconf-include.patch;patch=1 \
 	   ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]} \
            file://config_site.patch;patch=1"
 
-SRC_URI[md5sum] = "a6de1cc6434cd64038b0a0ae4e252b33"
-SRC_URI[sha256sum] = "db11944057f3faf229ff5d6ce3fcd819f565455c152b72cec17ebc1cbb80136b"
+SRC_URI[md5sum] = "864d785215aa60d627c91fcb21b05b07"
+SRC_URI[sha256sum] = "c491fb273fd6d4ca925e26ceed3d177920233c76d542b150ff35e571454332c8"
 
 DEPENDS_virtclass-native = "m4-native gnu-config-native"
 RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"
Signature · 1 line
1.7.2.2
#3 lore raw

PATCH 3/4 bison: upgrade from 2.4.3 to 2.5

In reply to [email protected]

From: Nitin A Kamble <[email protected]>

This version of bison needs m4 1.4.16 or newer

---
 meta/recipes-devtools/bison/bison/m4.patch         |  131 --------------------
 .../bison/bison/uclibc-sched_param-def.patch       |   21 ---
 .../bison/{bison_2.4.3.bb => bison_2.5.bb}         |    7 +-
 3 files changed, 3 insertions(+), 156 deletions(-)
 delete mode 100644 meta/recipes-devtools/bison/bison/uclibc-sched_param-def.patch
 rename meta/recipes-devtools/bison/{bison_2.4.3.bb => bison_2.5.bb} (85%)
meta/recipes-devtools/bison/bison/m4.patch +0 -131
index 0754a90..d139da5 100644
@@ -75,109 +75,6 @@ Index: bison-2.4.2/m4/uintmax_t.m4
 +   if <inttypes.h> and <stdint.h> don't define.])
 +  fi
 +])
-Index: bison-2.4.2/m4/glibc21.m4
-===================================================================
---- /dev/null
-+++ bison-2.4.2/m4/glibc21.m4
-@@ -0,0 +1,32 @@
-+# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
-+dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
-+dnl This file is free software, distributed under the terms of the GNU
-+dnl General Public License.  As a special exception to the GNU General
-+dnl Public License, this file may be distributed as part of a program
-+dnl that contains a configuration script generated by Autoconf, under
-+dnl the same distribution terms as the rest of that program.
-+
-+# Test for the GNU C Library, version 2.1 or newer.
-+# From Bruno Haible.
-+
-+AC_DEFUN([jm_GLIBC21],
-+  [
-+    AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
-+      ac_cv_gnu_library_2_1,
-+      [AC_EGREP_CPP([Lucky GNU user],
-+	[
-+#include <features.h>
-+#ifdef __GNU_LIBRARY__
-+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
-+  Lucky GNU user
-+ #endif
-+#endif
-+	],
-+	ac_cv_gnu_library_2_1=yes,
-+	ac_cv_gnu_library_2_1=no)
-+      ]
-+    )
-+    AC_SUBST(GLIBC21)
-+    GLIBC21="$ac_cv_gnu_library_2_1"
-+  ]
-+)
-Index: bison-2.4.2/m4/stdint_h.m4
-===================================================================
---- /dev/null
-+++ bison-2.4.2/m4/stdint_h.m4
-@@ -0,0 +1,28 @@
-+# stdint_h.m4 serial 2 (gettext-0.11.4)
-+dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
-+dnl This file is free software, distributed under the terms of the GNU
-+dnl General Public License.  As a special exception to the GNU General
-+dnl Public License, this file may be distributed as part of a program
-+dnl that contains a configuration script generated by Autoconf, under
-+dnl the same distribution terms as the rest of that program.
-+
-+dnl From Paul Eggert.
-+
-+# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
-+# doesn't clash with <sys/types.h>, and declares uintmax_t.
-+
-+AC_DEFUN([jm_AC_HEADER_STDINT_H],
-+[
-+  AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h,
-+  [AC_TRY_COMPILE(
-+    [#include <sys/types.h>
-+#include <stdint.h>],
-+    [uintmax_t i = (uintmax_t) -1;],
-+    jm_ac_cv_header_stdint_h=yes,
-+    jm_ac_cv_header_stdint_h=no)])
-+  if test $jm_ac_cv_header_stdint_h = yes; then
-+    AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
-+[Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
-+   and declares uintmax_t. ])
-+  fi
-+])
-Index: bison-2.4.2/m4/inttypes_h.m4
-===================================================================
---- /dev/null
-+++ bison-2.4.2/m4/inttypes_h.m4
-@@ -0,0 +1,28 @@
-+# inttypes_h.m4 serial 4 (gettext-0.11.4)
-+dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
-+dnl This file is free software, distributed under the terms of the GNU
-+dnl General Public License.  As a special exception to the GNU General
-+dnl Public License, this file may be distributed as part of a program
-+dnl that contains a configuration script generated by Autoconf, under
-+dnl the same distribution terms as the rest of that program.
-+
-+dnl From Paul Eggert.
-+
-+# Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
-+# doesn't clash with <sys/types.h>, and declares uintmax_t.
-+
-+AC_DEFUN([jm_AC_HEADER_INTTYPES_H],
-+[
-+  AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
-+  [AC_TRY_COMPILE(
-+    [#include <sys/types.h>
-+#include <inttypes.h>],
-+    [uintmax_t i = (uintmax_t) -1;],
-+    jm_ac_cv_header_inttypes_h=yes,
-+    jm_ac_cv_header_inttypes_h=no)])
-+  if test $jm_ac_cv_header_inttypes_h = yes; then
-+    AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
-+[Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
-+   and declares uintmax_t. ])
-+  fi
-+])
 Index: bison-2.4.2/m4/ulonglong.m4
 ===================================================================
 --- /dev/null
@@ -206,34 +103,6 @@ Index: bison-2.4.2/m4/ulonglong.m4
 +      [Define if you have the unsigned long long type.])
 +  fi
 +])
-Index: bison-2.4.2/m4/codeset.m4
-===================================================================
---- /dev/null
-+++ bison-2.4.2/m4/codeset.m4
-@@ -0,0 +1,23 @@
-+# codeset.m4 serial AM1 (gettext-0.10.40)
-+dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
-+dnl This file is free software, distributed under the terms of the GNU
-+dnl General Public License.  As a special exception to the GNU General
-+dnl Public License, this file may be distributed as part of a program
-+dnl that contains a configuration script generated by Autoconf, under
-+dnl the same distribution terms as the rest of that program.
-+
-+dnl From Bruno Haible.
-+
-+AC_DEFUN([AM_LANGINFO_CODESET],
-+[
-+  AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
-+    [AC_TRY_LINK([#include <langinfo.h>],
-+      [char* cs = nl_langinfo(CODESET);],
-+      am_cv_langinfo_codeset=yes,
-+      am_cv_langinfo_codeset=no)
-+    ])
-+  if test $am_cv_langinfo_codeset = yes; then
-+    AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
-+      [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
-+  fi
-+])
 Index: bison-2.4.2/m4/intdiv0.m4
 ===================================================================
 --- /dev/null
meta/recipes-devtools/bison/bison/uclibc-sched_param-def.patch deleted +0 -21
deleted file mode 100644
index 6774838..0000000
@@ -1,21 +0,0 @@
-Upstream-Status: Pending
-
-uclibc defines __GLIBC__ but it does not expose struct shed_param as much as glibc
-and is not needed too per standard. gnulib attempts to use it but we have to account
-for it because in this case uclibc does not behave like glibc.
-
--Khem
-
-http://bugs.gentoo.org/336484
-
---- m4-1.4.14/lib/spawn.in.h
-+++ m4-1.4.14/lib/spawn.in.h
-@@ -31,7 +31,7 @@
- 
- /* Get definitions of 'struct sched_param' and 'sigset_t'.
-    But avoid namespace pollution on glibc systems.  */
--#ifndef __GLIBC__
-+#if !defined __GLIBC__ || defined __UCLIBC__
- # include <sched.h>
- # include <signal.h>
- #endif
meta/recipes-devtools/bison/bison_2.5.bb renamed from meta/recipes-devtools/bison/bison_2.4.3.bb +3 -4
similarity index 85%
rename from meta/recipes-devtools/bison/bison_2.4.3.bb
rename to meta/recipes-devtools/bison/bison_2.5.bb
index 3c164d9..b81efab 100644
@@ -10,18 +10,17 @@ SECTION = "devel"
 PRIORITY = "optional"
 DEPENDS = "bison-native"
 
-PR = "r2"
+PR = "r0"
 
 BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \
 	   file://m4.patch \
-	   file://uclibc-sched_param-def.patch \
 	  "
 
 SRC_URI = "${BASE_SRC_URI} \
         file://fix_cross_manpage_building.patch "
 
-SRC_URI[md5sum] = "ea45c778b36bdc7a720096819e292a73"
-SRC_URI[sha256sum] = "6b17be5e63ff6667c83f6ef0423befe0ba23d4bc554c4c33b02ce5bb65179b16"
+SRC_URI[md5sum] = "687e1dcd29452789d34eaeea4c25abe4"
+SRC_URI[sha256sum] = "722def46e4a19a5b7a579ef30db1965f86c37c1a20a5f0113743a2e4399f7c99"
 
 DEPENDS_virtclass-native = "gettext-native"
 SRC_URI_virtclass-native = "${BASE_SRC_URI}"
Signature · 1 line
1.7.2.2
#4 lore raw

PATCH 4/4 genttext-0.16.1: mark upstream status for gplv2 recipe's patches

In reply to [email protected]

From: Nitin A Kamble <[email protected]>

---
 .../gettext/gettext-0.16.1/disable_java.patch      |    2 ++
 .../gettext-0.16.1/fix_aclocal_version.patch       |    2 ++
 .../gettext-0.16.1/fix_gnu_source_circular.patch   |    2 ++
 .../gettext/gettext-0.16.1/fixchicken.patch        |    2 ++
 .../gettext/gettext-0.16.1/getline.m4.patch        |    2 ++
 .../gettext-autoconf-lib-link-no-L.patch           |    2 ++
 .../gettext-error_print_progname.patch             |    2 ++
 .../gettext/gettext-0.16.1/gettext-vpath.patch     |    2 ++
 .../gettext-0.16.1/hardcode_macro_version.patch    |    2 ++
 .../gettext/gettext-0.16.1/linklib_from_0.17.patch |    2 ++
 10 files changed, 20 insertions(+), 0 deletions(-)
meta/recipes-core/gettext/gettext-0.16.1/disable_java.patch +2 -0
index cf7dc55..d414e50 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [licensing]
+
 # Pulled from OpenEmbedded
 # 
 # Commented by: Saul Wold <[email protected]>
meta/recipes-core/gettext/gettext-0.16.1/fix_aclocal_version.patch +2 -0
index 3796052..7402bbb 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [licensing]
+
 This patch updates the required version number from 2.61 to the 
 current 2.65 version of aclocal, this will need to be updated 
 when we update aclocal
meta/recipes-core/gettext/gettext-0.16.1/fix_gnu_source_circular.patch +2 -0
index 8b42f1b..0b12722 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [licensing]
+
 This patch removes the circular dependency on AC_GNU_SOURCE in
 AC_USE_SYSTEM_EXTENSIONS.
 
meta/recipes-core/gettext/gettext-0.16.1/fixchicken.patch +2 -0
index ef51056..f9aca2a 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [licensing]
+
 # Pulled from OpenEmbedded
 # 
 # Commented by: Saul Wold <[email protected]>
meta/recipes-core/gettext/gettext-0.16.1/getline.m4.patch +2 -0
index f71d0e1..e489fee 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [licensing]
+
 # Pulled from OpenEmbedded
 # 
 # Commented by: Saul Wold <[email protected]>
meta/recipes-core/gettext/gettext-0.16.1/gettext-autoconf-lib-link-no-L.patch +2 -0
index e8bb2f6..df09ea1 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [licensing]
+
 # Pulled from OpenEmbedded
 # 
 # Commented by: Saul Wold <[email protected]>
meta/recipes-core/gettext/gettext-0.16.1/gettext-error_print_progname.patch +2 -0
index 96a2196..f27ed5b 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [licensing]
+
 # Pulled from OpenEmbedded
 # 
 # Commented by: Saul Wold <[email protected]>
meta/recipes-core/gettext/gettext-0.16.1/gettext-vpath.patch +2 -0
index 62420b7..2c1a289 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [licensing]
+
 # Pulled from OpenEmbedded
 # 
 # Commented by: Saul Wold <[email protected]>
meta/recipes-core/gettext/gettext-0.16.1/hardcode_macro_version.patch +2 -0
index ef57dc2..85355f3 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [licensing]
+
 This patch hardcodes in version 0.17 for the GETTEXT_MACRO_VERSION,
 the version check is only part of 0.17 and will not affect any 0.16.1
 operations
meta/recipes-core/gettext/gettext-0.16.1/linklib_from_0.17.patch +2 -0
index 2b805c9..2669879 100644
@@ -1,3 +1,5 @@
+Upstream-Status: Inappropriate [licensing]
+
 # Pulled from OpenEmbedded
 # 
 # Commented by: Saul Wold <[email protected]>
Signature · 1 line
1.7.2.2
#5 lore raw

Re: [upgrades 1/4] m4: upgrade from 1.4.15 to 1.4.16

In reply to [email protected]
Quoted 22 lines · On Sat, 2011-05-28 at 20:22 -0700, [email protected] wrote:

From: Nitin A Kamble <[email protected]>

---
 .../{m4-native_1.4.15.bb => m4-native_1.4.16.bb}   |    0
 .../m4/{m4_1.4.15.bb => m4_1.4.16.bb}              |    6 +++---
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/m4/{m4-native_1.4.15.bb => m4-native_1.4.16.bb} (100%)
 rename meta/recipes-devtools/m4/{m4_1.4.15.bb => m4_1.4.16.bb} (75%)
meta/recipes-devtools/m4/m4-native_1.4.16.bb renamed from meta/recipes-devtools/m4/m4-native_1.4.15.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4-native_1.4.15.bb
rename to meta/recipes-devtools/m4/m4-native_1.4.16.bb
meta/recipes-devtools/m4/m4_1.4.16.bb renamed from meta/recipes-devtools/m4/m4_1.4.15.bb +0 -0
similarity index 75%
rename from meta/recipes-devtools/m4/m4_1.4.15.bb
rename to meta/recipes-devtools/m4/m4_1.4.16.bb
index 586071f..53ef5ae 100644

meta/recipes-devtools/m4/m4_1.4.16.bb compatible although it has some extensions (for example, handling more than 9 po · line 8

Quoted 6 lines
meta/recipes-devtools/m4/m4_1.4.16.bb renamed from meta/recipes-devtools/m4/m4_1.4.15.bb +1 -1
@@ -4,14 +4,14 @@ compatible although it has some extensions (for example, handling more than 9 po
 GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc."
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
-	file://examples/COPYING;md5=380fd7d57d3fd009a5716e074a845d6d"
+	file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d"
 

what changed in license ?

Quoted 11 lines
meta/recipes-devtools/m4/m4_1.4.16.bb renamed from meta/recipes-devtools/m4/m4_1.4.15.bb +2 -2
 PR = "r0"
 SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \
            file://ac_config_links.patch;patch=1"
 
-SRC_URI[md5sum] = "5649a2e593b6c639deae9e72ede777dd"
-SRC_URI[sha256sum] = "3d66dfeb609007062265a67b9a2c08d3686a74068830bacae60a6d58413c9367"
+SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280"
+SRC_URI[sha256sum] = "e9176a35bb13a1b08482359aa554ee8072794f58f00e4827bf0e06b570c827da"
 
 inherit autotools
 
#6 lore raw
In reply to [email protected]
Quoted 15 lines · On Sat, 2011-05-28 at 20:22 -0700, [email protected] wrote:

From: Nitin A Kamble <[email protected]>

I could build meta-toolchain & sato-sdk image for qemuppc with these commits.

I had to fix the autoconf's config-site patch to avoid lots of errors as site files were not getting parsed earlier.

The following changes since commit 1169f1b066d0028bd2ef7915440450bd42ef165e:

license.bbclass: Sane Parsing of licenses (2011-05-27 23:36:24 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib nitin/upgrades
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/upgrades

Quoted 5 lines

Nitin A Kamble (4):
m4: upgrade from 1.4.15 to 1.4.16
autoconf: upgrade from 2.65 to 2.68
bison: upgrade from 2.4.3 to 2.5
genttext-0.16.1: mark upstream status for gplv2 recipe's patches

I had question on one patch otherwise the patchset looks sane to me.

Quoted 44 lines
 .../gettext/gettext-0.16.1/disable_java.patch      |    2 +
 .../gettext-0.16.1/fix_aclocal_version.patch       |    2 +
 .../gettext-0.16.1/fix_gnu_source_circular.patch   |    2 +
 .../gettext/gettext-0.16.1/fixchicken.patch        |    2 +
 .../gettext/gettext-0.16.1/getline.m4.patch        |    2 +
 .../gettext-autoconf-lib-link-no-L.patch           |    2 +
 .../gettext-error_print_progname.patch             |    2 +
 .../gettext/gettext-0.16.1/gettext-vpath.patch     |    2 +
 .../gettext-0.16.1/hardcode_macro_version.patch    |    2 +
 .../gettext/gettext-0.16.1/linklib_from_0.17.patch |    2 +
 .../{autoconf-2.65 => autoconf}/autoconf-x.patch   |    0
 .../autoheader-nonfatal-warnings.patch             |    0
 .../autoreconf-exclude.patch                       |    0
 .../autoreconf-foreign.patch                       |    0
 .../autoreconf-gnuconfigize.patch                  |    0
 .../autoreconf-include.patch                       |    0
 .../{autoconf-2.65 => autoconf}/config_site.patch  |   19 ++-
 .../fix_path_xtra.patch                            |   14 +-
 .../path_prog_fixes.patch                          |    0
 .../program_prefix.patch                           |    0
 .../{autoconf_2.65.bb => autoconf_2.68.bb}         |    6 +-
 meta/recipes-devtools/bison/bison/m4.patch         |  131 --------------------
 .../bison/bison/uclibc-sched_param-def.patch       |   21 ---
 .../bison/{bison_2.4.3.bb => bison_2.5.bb}         |    7 +-
 .../{m4-native_1.4.15.bb => m4-native_1.4.16.bb}   |    0
 .../m4/{m4_1.4.15.bb => m4_1.4.16.bb}              |    6 +-
 26 files changed, 50 insertions(+), 174 deletions(-)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoconf-x.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoheader-nonfatal-warnings.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-exclude.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-foreign.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-gnuconfigize.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/autoreconf-include.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/config_site.patch (60%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/fix_path_xtra.patch (90%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/path_prog_fixes.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf-2.65 => autoconf}/program_prefix.patch (100%)
 rename meta/recipes-devtools/autoconf/{autoconf_2.65.bb => autoconf_2.68.bb} (85%)
 delete mode 100644 meta/recipes-devtools/bison/bison/uclibc-sched_param-def.patch
 rename meta/recipes-devtools/bison/{bison_2.4.3.bb => bison_2.5.bb} (85%)
 rename meta/recipes-devtools/m4/{m4-native_1.4.15.bb => m4-native_1.4.16.bb} (100%)
 rename meta/recipes-devtools/m4/{m4_1.4.15.bb => m4_1.4.16.bb} (75%)