* [Buildroot] [PATCH] Update gdisk (gptfdisk) to version 0.8.5.
@ 2012-06-06 18:57 Justin Maggard
2012-06-06 20:09 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Justin Maggard @ 2012-06-06 18:57 UTC (permalink / raw)
To: buildroot
Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
---
package/gdisk/gdisk-0.6.14-uuid.h.patch | 22 ------------------
package/gdisk/gdisk-0.8.5-no-utf16.patch | 37 ++++++++++++++++++++++++++++++
package/gdisk/gdisk.mk | 4 ++--
3 files changed, 39 insertions(+), 24 deletions(-)
delete mode 100644 package/gdisk/gdisk-0.6.14-uuid.h.patch
create mode 100644 package/gdisk/gdisk-0.8.5-no-utf16.patch
diff --git a/package/gdisk/gdisk-0.6.14-uuid.h.patch b/package/gdisk/gdisk-0.6.14-uuid.h.patch
deleted file mode 100644
index ba447a1..0000000
--- a/package/gdisk/gdisk-0.6.14-uuid.h.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-[PATCH] Don't hardcode uuid.h location
-
-Breaks cross compilation.
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- guid.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: gdisk-0.6.14/guid.h
-===================================================================
---- gdisk-0.6.14.orig/guid.h
-+++ gdisk-0.6.14/guid.h
-@@ -22,7 +22,7 @@
- #ifdef _WIN32
- typedef unsigned char my_uuid_t[16];
- #else
--#include </usr/include/uuid/uuid.h>
-+#include <uuid/uuid.h>
- typedef uuid_t my_uuid_t;
- #endif
-
diff --git a/package/gdisk/gdisk-0.8.5-no-utf16.patch b/package/gdisk/gdisk-0.8.5-no-utf16.patch
new file mode 100644
index 0000000..54e55f6
--- /dev/null
+++ b/package/gdisk/gdisk-0.8.5-no-utf16.patch
@@ -0,0 +1,37 @@
+diff -ur gdisk-0.8.5/Makefile gptfdisk-0.8.5/Makefile
+--- gdisk-0.8.5/Makefile 2012-05-30 08:38:43.000000000 -0700
++++ gptfdisk-0.8.5/Makefile 2012-06-05 11:38:23.710597974 -0700
+@@ -1,8 +1,8 @@
+ CC=gcc
+ CXX=g++
+ CFLAGS+=-D_FILE_OFFSET_BITS=64
+-CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16
+-#CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64
++#CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16
++CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64
+ LDFLAGS+=
+ LIB_NAMES=crc32 support guid gptpart mbrpart basicmbr mbr gpt bsd parttypes attributes diskio diskio-unix
+ MBR_LIBS=support diskio diskio-unix basicmbr mbrpart
+@@ -14,16 +14,16 @@
+ all: cgdisk gdisk sgdisk fixparts
+
+ gdisk: $(LIB_OBJS) gdisk.o gpttext.o
+-# $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid -o gdisk
+- $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -licuio -licuuc -luuid -o gdisk
++ $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid -o gdisk
++# $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -licuio -licuuc -luuid -o gdisk
+
+ cgdisk: $(LIB_OBJS) cgdisk.o gptcurses.o
+-# $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncurses -o cgdisk
+- $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licuio -licuuc -luuid -lncurses -o cgdisk
++ $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncurses -o cgdisk
++# $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licuio -licuuc -luuid -lncurses -o cgdisk
+
+ sgdisk: $(LIB_OBJS) sgdisk.o gptcl.o
+-# $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -luuid -lpopt -o sgdisk
+- $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -licuio -licuuc -luuid -lpopt -o sgdisk
++ $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -luuid -lpopt -o sgdisk
++# $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -licuio -licuuc -luuid -lpopt -o sgdisk
+
+ fixparts: $(MBR_LIB_OBJS) fixparts.o
+ $(CXX) $(MBR_LIB_OBJS) fixparts.o $(LDFLAGS) -o fixparts
diff --git a/package/gdisk/gdisk.mk b/package/gdisk/gdisk.mk
index a53ee83..619a32d 100644
--- a/package/gdisk/gdisk.mk
+++ b/package/gdisk/gdisk.mk
@@ -4,9 +4,9 @@
#
#############################################################
-GDISK_VERSION = 0.6.14
+GDISK_VERSION = 0.8.5
GDISK_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/gptfdisk
-GDISK_SOURCE = gdisk-$(GDISK_VERSION).tgz
+GDISK_SOURCE = gptfdisk-$(GDISK_VERSION).tar.gz
GDISK_TARGETS_$(BR2_PACKAGE_GDISK_GDISK) += gdisk
GDISK_TARGETS_$(BR2_PACKAGE_GDISK_SGDISK) += sgdisk
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] Update gdisk (gptfdisk) to version 0.8.5.
@ 2012-06-06 20:43 Justin Maggard
2012-06-13 21:48 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Justin Maggard @ 2012-06-06 20:43 UTC (permalink / raw)
To: buildroot
Update GPT fdisk utility to upstream version 0.8.5.
Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
---
package/gdisk/gdisk-0.6.14-uuid.h.patch | 22 ------------------
package/gdisk/gdisk-0.8.5-no-utf16.patch | 37 ++++++++++++++++++++++++++++++
package/gdisk/gdisk.mk | 4 ++--
3 files changed, 39 insertions(+), 24 deletions(-)
delete mode 100644 package/gdisk/gdisk-0.6.14-uuid.h.patch
create mode 100644 package/gdisk/gdisk-0.8.5-no-utf16.patch
diff --git a/package/gdisk/gdisk-0.6.14-uuid.h.patch b/package/gdisk/gdisk-0.6.14-uuid.h.patch
deleted file mode 100644
index ba447a1..0000000
--- a/package/gdisk/gdisk-0.6.14-uuid.h.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-[PATCH] Don't hardcode uuid.h location
-
-Breaks cross compilation.
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- guid.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: gdisk-0.6.14/guid.h
-===================================================================
---- gdisk-0.6.14.orig/guid.h
-+++ gdisk-0.6.14/guid.h
-@@ -22,7 +22,7 @@
- #ifdef _WIN32
- typedef unsigned char my_uuid_t[16];
- #else
--#include </usr/include/uuid/uuid.h>
-+#include <uuid/uuid.h>
- typedef uuid_t my_uuid_t;
- #endif
-
diff --git a/package/gdisk/gdisk-0.8.5-no-utf16.patch b/package/gdisk/gdisk-0.8.5-no-utf16.patch
new file mode 100644
index 0000000..54e55f6
--- /dev/null
+++ b/package/gdisk/gdisk-0.8.5-no-utf16.patch
@@ -0,0 +1,37 @@
+diff -ur gdisk-0.8.5/Makefile gptfdisk-0.8.5/Makefile
+--- gdisk-0.8.5/Makefile 2012-05-30 08:38:43.000000000 -0700
++++ gptfdisk-0.8.5/Makefile 2012-06-05 11:38:23.710597974 -0700
+@@ -1,8 +1,8 @@
+ CC=gcc
+ CXX=g++
+ CFLAGS+=-D_FILE_OFFSET_BITS=64
+-CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16
+-#CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64
++#CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16
++CXXFLAGS+=-Wall -D_FILE_OFFSET_BITS=64
+ LDFLAGS+=
+ LIB_NAMES=crc32 support guid gptpart mbrpart basicmbr mbr gpt bsd parttypes attributes diskio diskio-unix
+ MBR_LIBS=support diskio diskio-unix basicmbr mbrpart
+@@ -14,16 +14,16 @@
+ all: cgdisk gdisk sgdisk fixparts
+
+ gdisk: $(LIB_OBJS) gdisk.o gpttext.o
+-# $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid -o gdisk
+- $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -licuio -licuuc -luuid -o gdisk
++ $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid -o gdisk
++# $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -licuio -licuuc -luuid -o gdisk
+
+ cgdisk: $(LIB_OBJS) cgdisk.o gptcurses.o
+-# $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncurses -o cgdisk
+- $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licuio -licuuc -luuid -lncurses -o cgdisk
++ $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncurses -o cgdisk
++# $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licuio -licuuc -luuid -lncurses -o cgdisk
+
+ sgdisk: $(LIB_OBJS) sgdisk.o gptcl.o
+-# $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -luuid -lpopt -o sgdisk
+- $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -licuio -licuuc -luuid -lpopt -o sgdisk
++ $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -luuid -lpopt -o sgdisk
++# $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -licuio -licuuc -luuid -lpopt -o sgdisk
+
+ fixparts: $(MBR_LIB_OBJS) fixparts.o
+ $(CXX) $(MBR_LIB_OBJS) fixparts.o $(LDFLAGS) -o fixparts
diff --git a/package/gdisk/gdisk.mk b/package/gdisk/gdisk.mk
index a53ee83..619a32d 100644
--- a/package/gdisk/gdisk.mk
+++ b/package/gdisk/gdisk.mk
@@ -4,9 +4,9 @@
#
#############################################################
-GDISK_VERSION = 0.6.14
+GDISK_VERSION = 0.8.5
GDISK_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/gptfdisk
-GDISK_SOURCE = gdisk-$(GDISK_VERSION).tgz
+GDISK_SOURCE = gptfdisk-$(GDISK_VERSION).tar.gz
GDISK_TARGETS_$(BR2_PACKAGE_GDISK_GDISK) += gdisk
GDISK_TARGETS_$(BR2_PACKAGE_GDISK_SGDISK) += sgdisk
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] Update gdisk (gptfdisk) to version 0.8.5.
2012-06-06 20:43 Justin Maggard
@ 2012-06-13 21:48 ` Peter Korsgaard
2012-06-13 22:22 ` Justin Maggard
0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2012-06-13 21:48 UTC (permalink / raw)
To: buildroot
>>>>> "Justin" == Justin Maggard <jmaggard10@gmail.com> writes:
Justin> Update GPT fdisk utility to upstream version 0.8.5.
Justin> Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
Justin> ---
Justin> package/gdisk/gdisk-0.6.14-uuid.h.patch | 22 ------------------
Justin> package/gdisk/gdisk-0.8.5-no-utf16.patch | 37 ++++++++++++++++++++++++++++++
Justin> diff --git a/package/gdisk/gdisk-0.8.5-no-utf16.patch b/package/gdisk/gdisk-0.8.5-no-utf16.patch
Justin> new file mode 100644
Justin> index 0000000..54e55f6
Justin> --- /dev/null
Justin> +++ b/package/gdisk/gdisk-0.8.5-no-utf16.patch
Justin> @@ -0,0 +1,37 @@
Justin> +diff -ur gdisk-0.8.5/Makefile gptfdisk-0.8.5/Makefile
Did you miss Thomas' review feedback?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] Update gdisk (gptfdisk) to version 0.8.5.
2012-06-13 21:48 ` Peter Korsgaard
@ 2012-06-13 22:22 ` Justin Maggard
0 siblings, 0 replies; 5+ messages in thread
From: Justin Maggard @ 2012-06-13 22:22 UTC (permalink / raw)
To: buildroot
On Wed, Jun 13, 2012 at 2:48 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Justin" == Justin Maggard <jmaggard10@gmail.com> writes:
>
> ?Justin> Update GPT fdisk utility to upstream version 0.8.5.
>
>
> ?Justin> Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
> ?Justin> ---
> ?Justin> ?package/gdisk/gdisk-0.6.14-uuid.h.patch ?| ? 22 ------------------
> ?Justin> ?package/gdisk/gdisk-0.8.5-no-utf16.patch | ? 37 ++++++++++++++++++++++++++++++
>
> ?Justin> diff --git a/package/gdisk/gdisk-0.8.5-no-utf16.patch b/package/gdisk/gdisk-0.8.5-no-utf16.patch
> ?Justin> new file mode 100644
> ?Justin> index 0000000..54e55f6
> ?Justin> --- /dev/null
> ?Justin> +++ b/package/gdisk/gdisk-0.8.5-no-utf16.patch
> ?Justin> @@ -0,0 +1,37 @@
> ?Justin> +diff -ur gdisk-0.8.5/Makefile gptfdisk-0.8.5/Makefile
>
> Did you miss Thomas' review feedback?
No, but I think I misunderstood it. Hopefully v2 is better.
-Justin
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-06-13 22:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-06 18:57 [Buildroot] [PATCH] Update gdisk (gptfdisk) to version 0.8.5 Justin Maggard
2012-06-06 20:09 ` Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2012-06-06 20:43 Justin Maggard
2012-06-13 21:48 ` Peter Korsgaard
2012-06-13 22:22 ` Justin Maggard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox