public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 2a35d6adf9475be6ebdc55230b5bdbc78af14382
Date: Sat, 13 Apr 2013 13:54:40 +0200	[thread overview]
Message-ID: <20130413115441.C13DC20131@argus.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 7024 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 3.x development tree".

The branch, master has been updated
       via  2a35d6adf9475be6ebdc55230b5bdbc78af14382 (commit)
      from  0122c4a758942c210dbae5c6df1be8faf8bc935d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2a35d6adf9475be6ebdc55230b5bdbc78af14382
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Sat Apr 13 11:53:53 2013 +0000

    dtc: New package.
    
    A Device Tree Compiler.

-----------------------------------------------------------------------

Summary of changes:
 dtc/dtc.nm                     | 66 ++++++++++++++++++++++++++++++++++++++++++
 dtc/patches/dtc-check.patch    | 65 +++++++++++++++++++++++++++++++++++++++++
 dtc/patches/dtc-flattree.patch | 52 +++++++++++++++++++++++++++++++++
 3 files changed, 183 insertions(+)
 create mode 100644 dtc/dtc.nm
 create mode 100644 dtc/patches/dtc-check.patch
 create mode 100644 dtc/patches/dtc-flattree.patch

Difference in files:
diff --git a/dtc/dtc.nm b/dtc/dtc.nm
new file mode 100644
index 0000000..bc5d853
--- /dev/null
+++ b/dtc/dtc.nm
@@ -0,0 +1,66 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info(a)ipfire.org>                   #
+###############################################################################
+
+name       = dtc
+version    = 1.3.0
+release    = 1
+thisapp    = %{name}-v%{version}
+
+groups     = Development/Tools
+url        = http://git.jdl.com/gitweb/?p=dtc.git;a=summary
+license    = GPLv2+
+summary    = Device Tree Compiler
+
+description
+	The Device Tree Compiler generates flattened Open Firmware style
+	device trees for use with PowerPC machines that lack an Open Firmware
+	implementation.
+end
+
+sources    = %{thisapp}.tgz
+source_dl  = http://www.jdl.com/software/
+
+build
+	requires
+		bison
+		flex
+	end
+
+	make_install_targets += PREFIX=/usr LIBDIR=%{libdir}
+
+	install_cmds
+		# we don't want or need ftdump and it conflicts with
+		# freetype-demos
+		rm -vf %{BUILDROOT}%{bindir}/ftdump
+	end
+end
+
+packages
+	package %{name}
+
+	package libfdt
+		template LIBS
+
+		files
+			%{libdir}/libfdt-%{version}.so
+			%{libdir}/libfdt.so.1
+		end
+	end
+
+	package libfdt-devel
+		template DEVEL
+
+		requires += libfdt = %{thisver}
+
+		files
+			%{includedir}
+			%{libdir}/libfdt.so
+		end
+	end
+
+	package %{name}-debuginfo
+		template DEBUGINFO
+	end
+end
diff --git a/dtc/patches/dtc-check.patch b/dtc/patches/dtc-check.patch
new file mode 100644
index 0000000..f3560fd
--- /dev/null
+++ b/dtc/patches/dtc-check.patch
@@ -0,0 +1,65 @@
+From jwboyer(a)linux.vnet.ibm.com Tue Jun 28 08:47:09 2011
+Date: Tue, 28 Jun 2011 08:47:09 -0400
+From: Josh Boyer <jwboyer(a)linux.vnet.ibm.com>
+To: Jon Loeliger <jdl(a)jdl.com>
+Cc: linuxppc-dev(a)lists.ozlabs.org
+Subject: [PATCH] dtc: Remove unused check variable
+Message-ID: <20110628124709.GC10237(a)zod.rchland.ibm.com>
+MIME-Version: 1.0
+Content-Type: text/plain; charset=us-ascii
+Content-Disposition: inline
+User-Agent: Mutt/1.5.21 (2010-09-15)
+Status: RO
+Content-Length: 1315
+Lines: 49
+
+Commit 376ab6f2 removed the old style check functionality from DTC,
+however the check option and variable were not removed.  This leads to
+build failures when -Werror=unused-but-set-variable is specified:
+
+	dtc.c: In function 'main':
+	dtc.c:102:17: error: variable 'check' set but not used [-Werror=unused-but-set-variable]
+	cc1: all warnings being treated as errors
+	make: *** [dtc.o] Error 1
+	make: *** Waiting for unfinished jobs....
+
+Remove the check variable.
+
+Signed-off-by: Josh Boyer <jwboyer(a)linux.vnet.ibm.com>
+
+---
+
+t a/dtc.c b/dtc.c
+index cbc0193..15d2fc2 100644
+--- a/dtc.c
++++ b/dtc.c
+@@ -99,7 +99,7 @@ int main(int argc, char *argv[])
+ 	const char *inform = "dts";
+ 	const char *outform = "dts";
+ 	const char *outname = "-";
+-	int force = 0, check = 0, sort = 0;
++	int force = 0, sort = 0;
+ 	const char *arg;
+ 	int opt;
+ 	FILE *outf = NULL;
+@@ -111,7 +111,7 @@ int main(int argc, char *argv[])
+ 	minsize    = 0;
+ 	padsize    = 0;
+ 
+-	while ((opt = getopt(argc, argv, "hI:O:o:V:R:S:p:fcqb:vH:s")) != EOF) {
++	while ((opt = getopt(argc, argv, "hI:O:o:V:R:S:p:fqb:vH:s")) != EOF) {
+ 		switch (opt) {
+ 		case 'I':
+ 			inform = optarg;
+@@ -137,9 +137,6 @@ int main(int argc, char *argv[])
+ 		case 'f':
+ 			force = 1;
+ 			break;
+-		case 'c':
+-			check = 1;
+-			break;
+ 		case 'q':
+ 			quiet++;
+ 			break;
+
+
diff --git a/dtc/patches/dtc-flattree.patch b/dtc/patches/dtc-flattree.patch
new file mode 100644
index 0000000..c8ba010
--- /dev/null
+++ b/dtc/patches/dtc-flattree.patch
@@ -0,0 +1,52 @@
+From jwboyer(a)linux.vnet.ibm.com Tue Jun 28 09:42:53 2011
+Date: Tue, 28 Jun 2011 09:42:53 -0400
+From: Josh Boyer <jwboyer(a)linux.vnet.ibm.com>
+To: jdl(a)jdl.com, david(a)gibson.dropbear.id.au
+Cc: linuxppc-dev(a)lists.ozlabs.org
+Subject: [PATCH] dtc: Remove unused variable in flat_read_mem_reserve
+Message-ID: <20110628134253.GD10237(a)zod.rchland.ibm.com>
+MIME-Version: 1.0
+Content-Type: text/plain; charset=us-ascii
+Content-Disposition: inline
+User-Agent: Mutt/1.5.21 (2010-09-15)
+Status: RO
+Content-Length: 1865
+Lines: 68
+
+The *p variable is declared and used to save inb->ptr, however p is
+later never used.  This has been the case since commit 6c0f3676 and can
+lead to build failures with -Werror=unused-but-set-variable:
+
+	flattree.c: In function 'flat_read_mem_reserve':
+	flattree.c:700:14: error: variable 'p' set but not used [-Werror=unused-but-set-variable]
+	cc1: all warnings being treated as errors
+	make: *** [flattree.o] Error 1
+
+Remove the variable.
+
+Signed-off-by: Josh Boyer <jwboyer(a)linux.vnet.ibm.com>
+
+---
+
+diff --git a/flattree.c b/flattree.c
+index ead0332..28d0b23 100644
+--- a/flattree.c
++++ b/flattree.c
+@@ -697,7 +697,6 @@ static struct reserve_info *flat_read_mem_reserve(struct inbuf *inb)
+ {
+ 	struct reserve_info *reservelist = NULL;
+ 	struct reserve_info *new;
+-	const char *p;
+ 	struct fdt_reserve_entry re;
+ 
+ 	/*
+@@ -706,7 +705,6 @@ static struct reserve_info *flat_read_mem_reserve(struct inbuf *inb)
+ 	 *
+ 	 * First pass, count entries.
+ 	 */
+-	p = inb->ptr;
+ 	while (1) {
+ 		flat_read_chunk(inb, &re, sizeof(re));
+ 		re.address  = fdt64_to_cpu(re.address);
+
+


hooks/post-receive
--
IPFire 3.x development tree

                 reply	other threads:[~2013-04-13 11:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130413115441.C13DC20131@argus.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox