Skip to contentSkip to conversation

diffstat: upgrade 1.68 -> 1.69

PATCH Superseded Changqing Li 2 participants 4 messages Jun 3 – Jun 10

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 diffstat: upgrade 1.68 -> 1.69

License-Update: Lincense Year update

refresg standard-autoconf.patch based on 1.69

---
 .../diffstat/diffstat/standard-autoconf.patch | 41 ++++++++++++++-----
 .../{diffstat_1.68.bb => diffstat_1.69.bb}    |  4 +-
 2 files changed, 32 insertions(+), 13 deletions(-)
 rename meta/recipes-devtools/diffstat/{diffstat_1.68.bb => diffstat_1.69.bb} (81%)
meta/recipes-devtools/diffstat/diffstat/standard-autoconf.patch +30 -11
index b301c2d86d..4b80fb205d 100644
@@ -1,4 +1,4 @@
-From 0069056a23b39f53a05b89b2545a3a5ad1ff070a Mon Sep 17 00:00:00 2001
+From 841f8f26b5b10fee4fed86ddb8bb97d36b118610 Mon Sep 17 00:00:00 2001
 From: Ross Burton <[email protected]>
 Date: Wed, 18 Mar 2026 11:27:24 +0000
 Subject: [PATCH] Use standard autoconf
@@ -11,11 +11,16 @@ form of AC_OUTPUT.
 
 Upstream-Status: Inappropriate
 Signed-off-by: Ross Burton <[email protected]>
+
+Refresh for version 1.69
+Signed-off-by: Changqing Li <[email protected]>
 ---
- config_h.in  | 8 --------
- configure.in | 2 +-
- 2 files changed, 1 insertion(+), 9 deletions(-)
+ config_h.in      | 8 --------
+ configure.in     | 1 -
+ configure.in.rej | 9 +++++++++
+ 3 files changed, 9 insertions(+), 9 deletions(-)
  delete mode 100644 config_h.in
+ create mode 100644 configure.in.rej
 
 diff --git a/config_h.in b/config_h.in
 deleted file mode 100644
@@ -32,17 +37,31 @@ index ac8ff1d..0000000
 -
 -@DEFS@
 diff --git a/configure.in b/configure.in
-index cb641d4..7042800 100644
+index 24dfbb9..5da5d89 100644
 --- a/configure.in
 +++ b/configure.in
-@@ -83,5 +83,6 @@ CF_WITH_MAN2HTML
- CF_DISABLE_LEAKS
+@@ -85,6 +85,5 @@ CF_DISABLE_LEAKS
  
  ###	output makefile and config.h
--AC_OUTPUT(makefile,,,cat)
-+AC_CONFIG_FILES([makefile])
-+AC_OUTPUT
+ AC_CONFIG_FILES([makefile])
+-AC_SETUP_DEFS([cat])
+ AC_OUTPUT
  CF_MAKE_DOCS(diffstat,1)
+diff --git a/configure.in.rej b/configure.in.rej
+new file mode 100644
+index 0000000..2c917a4
+--- /dev/null
++++ b/configure.in.rej
+@@ -0,0 +1,9 @@
++diff a/configure.in b/configure.in	(rejected hunks)
++@@ -83,5 +83,6 @@ CF_WITH_MAN2HTML
++ CF_DISABLE_LEAKS
++ 
++ ###	output makefile and config.h
++-AC_OUTPUT(makefile,,,cat)
+++AC_CONFIG_FILES([makefile])
+++AC_OUTPUT
++ CF_MAKE_DOCS(diffstat,1)
 -- 
-2.43.0
+2.34.1
 
meta/recipes-devtools/diffstat/diffstat_1.69.bb renamed from meta/recipes-devtools/diffstat/diffstat_1.68.bb +2 -2
similarity index 81%
rename from meta/recipes-devtools/diffstat/diffstat_1.68.bb
rename to meta/recipes-devtools/diffstat/diffstat_1.69.bb
index ce1ba79c2d..0c62537e8c 100644
@@ -5,7 +5,7 @@ reviewing large, complex patch files."
 HOMEPAGE = "http://invisible-island.net/diffstat/"
 SECTION = "devel"
 LICENSE = "X11"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0c432d3aeb935855b2ca1ad2a0542ce4"
+LIC_FILES_CHKSUM = "file://COPYING;md5=53d95e97e08db153daa45bfe4e4be37e"
 
 SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
            file://run-ptest \
@@ -13,7 +13,7 @@ SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
            file://avoid-check-user-break-cc.patch \
            "
 
-SRC_URI[sha256sum] = "89f9294a8ac74fcef6f1b9ac408f43ebedf8d208e3efe0b99b4acc16dc6582c7"
+SRC_URI[sha256sum] = "bb02464072f769dd9832fd999526734c90eb4d66fb56d5351540a750c88a77f6"
 
 inherit autotools gettext ptest
 
Signature · 1 line
2.34.1
#1 lore raw

Hi,

Quoted 3 lines · Changqing Li via lists.openembedded.org

License-Update: Lincense Year update

refresg standard-autoconf.patch based on 1.69

Typo in “Lincense” and “refresg”, but looking at the rebased patch I wonder if we can drop it in this upgrade. The problem before was that new autoconf notices and errors on the four-argument AC_OUTPUT call that diffstat does (expecting the autoconf fork is being used). It doesn’t do this now, so we might be able to drop the patch and simply delete config_h.in in a do_configure:prepend().

Ross

#2 lore raw

PATCH v2 1/1 diffstat: upgrade 1.68 -> 1.69

License-Update: License Year update

refresh standard-autoconf.patch based on 1.69

---
 .../diffstat/diffstat/standard-autoconf.patch | 23 +++++++++++--------
 .../{diffstat_1.68.bb => diffstat_1.69.bb}    |  4 ++--
 2 files changed, 15 insertions(+), 12 deletions(-)
 rename meta/recipes-devtools/diffstat/{diffstat_1.68.bb => diffstat_1.69.bb} (81%)
meta/recipes-devtools/diffstat/diffstat/standard-autoconf.patch +13 -10
index b301c2d86d..9359fdcb25 100644
@@ -1,4 +1,4 @@
-From 0069056a23b39f53a05b89b2545a3a5ad1ff070a Mon Sep 17 00:00:00 2001
+From c6a700c79fcfba21b261cfa99e5e78ee3341c7ac Mon Sep 17 00:00:00 2001
 From: Ross Burton <[email protected]>
 Date: Wed, 18 Mar 2026 11:27:24 +0000
 Subject: [PATCH] Use standard autoconf
@@ -11,10 +11,14 @@ form of AC_OUTPUT.
 
 Upstream-Status: Inappropriate
 Signed-off-by: Ross Burton <[email protected]>
+
+Refresh for version 1.69
+Fix configure.in:88: error: undefined or overquoted macro: AC_SETUP_DEFS
+Signed-off-by: Changqing Li <[email protected]>
 ---
  config_h.in  | 8 --------
- configure.in | 2 +-
- 2 files changed, 1 insertion(+), 9 deletions(-)
+ configure.in | 1 -
+ 2 files changed, 9 deletions(-)
  delete mode 100644 config_h.in
 
 diff --git a/config_h.in b/config_h.in
@@ -32,17 +36,16 @@ index ac8ff1d..0000000
 -
 -@DEFS@
 diff --git a/configure.in b/configure.in
-index cb641d4..7042800 100644
+index 24dfbb9..5da5d89 100644
 --- a/configure.in
 +++ b/configure.in
-@@ -83,5 +83,6 @@ CF_WITH_MAN2HTML
- CF_DISABLE_LEAKS
+@@ -85,6 +85,5 @@ CF_DISABLE_LEAKS
  
  ###	output makefile and config.h
--AC_OUTPUT(makefile,,,cat)
-+AC_CONFIG_FILES([makefile])
-+AC_OUTPUT
+ AC_CONFIG_FILES([makefile])
+-AC_SETUP_DEFS([cat])
+ AC_OUTPUT
  CF_MAKE_DOCS(diffstat,1)
 -- 
-2.43.0
+2.53.0
 
meta/recipes-devtools/diffstat/diffstat_1.69.bb renamed from meta/recipes-devtools/diffstat/diffstat_1.68.bb +2 -2
similarity index 81%
rename from meta/recipes-devtools/diffstat/diffstat_1.68.bb
rename to meta/recipes-devtools/diffstat/diffstat_1.69.bb
index ce1ba79c2d..0c62537e8c 100644
@@ -5,7 +5,7 @@ reviewing large, complex patch files."
 HOMEPAGE = "http://invisible-island.net/diffstat/"
 SECTION = "devel"
 LICENSE = "X11"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0c432d3aeb935855b2ca1ad2a0542ce4"
+LIC_FILES_CHKSUM = "file://COPYING;md5=53d95e97e08db153daa45bfe4e4be37e"
 
 SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
            file://run-ptest \
@@ -13,7 +13,7 @@ SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
            file://avoid-check-user-break-cc.patch \
            "
 
-SRC_URI[sha256sum] = "89f9294a8ac74fcef6f1b9ac408f43ebedf8d208e3efe0b99b4acc16dc6582c7"
+SRC_URI[sha256sum] = "bb02464072f769dd9832fd999526734c90eb4d66fb56d5351540a750c88a77f6"
 
 inherit autotools gettext ptest
 
Signature · 1 line
2.34.1
#3 lore raw
In reply to Ross Burton
Quoted 10 lines · Ross Burton

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi,

Quoted 3 lines · Changqing Li via lists.openembedded.org

License-Update: Lincense Year update

refresg standard-autoconf.patch based on 1.69

Typo in “Lincense” and “refresg”, but looking at the rebased patch I wonder if we can drop it in this upgrade. The problem before was that new autoconf notices and errors on the four-argument AC_OUTPUT call that diffstat does (expecting the autoconf fork is being used). It doesn’t do this now, so we might be able to drop the patch and simply delete config_h.in in a do_configure:prepend().

Thanks.  V2 is send,  patch configure.in since failure: configure.in:88: error: undefined or overquoted macro: AC_SETUP_DEFS

//Changqing

Quoted 3 lines

Ross