diff --git a/app-mobilephone/dfu-util/dfu_util-0.7.recipe b/app-mobilephone/dfu-util/dfu_util-0.8.recipe similarity index 86% rename from app-mobilephone/dfu-util/dfu_util-0.7.recipe rename to app-mobilephone/dfu-util/dfu_util-0.8.recipe index 25d636301..6d8e57578 100644 --- a/app-mobilephone/dfu-util/dfu_util-0.7.recipe +++ b/app-mobilephone/dfu-util/dfu_util-0.8.recipe @@ -5,16 +5,18 @@ firmware to/from devices connected over USB. It ranges from small devices like \ micro-controller boards to mobile phones. Using dfu-util you can download \ firmware to your DFU-enabled device or upload firmware from it. dfu-util has \ been tested with the Openmoko Neo1973 and Freerunner and many other devices." -HOMEPAGE="http://dfu-util.gnumonks.org" +HOMEPAGE="http://dfu-util.sourceforge.net" ARCHITECTURES="x86_gcc2" REVISION="1" LICENSE="GNU GPL v2" COPYRIGHT="2010-2012 Stefan Schmidt" SRC_URI="${HOMEPAGE}/releases/dfu-util-$portVersion.tar.gz" -CHECKSUM_SHA256="f52a2a5489fbf9f3204a6ada05e0b47ee322e19d81c712e0c58a332d80ec3eab" +CHECKSUM_SHA256="55cbde9be12a212bd84bce9d1e63941d9a16139ed0d4912401367eba1502f058" SOURCE_DIR="dfu-util-$portVersion" +PATCHES="dfu_util-$portVersion.patchset" + PROVIDES=" dfu_util = $portVersion cmd:dfu_suffix diff --git a/app-mobilephone/dfu-util/patches/dfu_util-0.8.patchset b/app-mobilephone/dfu-util/patches/dfu_util-0.8.patchset new file mode 100644 index 000000000..8c928b4d2 --- /dev/null +++ b/app-mobilephone/dfu-util/patches/dfu_util-0.8.patchset @@ -0,0 +1,32 @@ +From 816414b551b15fe63bdbe06d58eaf1a6f2719ccb Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Thu, 27 Nov 2014 16:58:10 +0000 +Subject: remove unrecognized gcc option + + +diff --git a/src/Makefile.am b/src/Makefile.am +index 70179c4..bc6ccf6 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,4 +1,4 @@ +-AM_CFLAGS = -Wall -Wextra ++AM_CFLAGS = -Wall + + bin_PROGRAMS = dfu-util dfu-suffix dfu-prefix + dfu_util_SOURCES = main.c \ +diff --git a/src/Makefile.in b/src/Makefile.in +index 1542812..597e0d8 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -198,7 +198,7 @@ target_alias = @target_alias@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-AM_CFLAGS = -Wall -Wextra ++AM_CFLAGS = -Wall + dfu_util_SOURCES = main.c \ + portable.h \ + dfu_load.c \ +-- +1.8.3.4 +