From 284b7b24de6d8f957c6aba9d2010bed9eda98efe Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 12 Sep 2016 22:58:29 +0200 Subject: gptfdisk: add new package --- package/gptfdisk/patches/patch-Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/gptfdisk/patches/patch-Makefile (limited to 'package/gptfdisk/patches') diff --git a/package/gptfdisk/patches/patch-Makefile b/package/gptfdisk/patches/patch-Makefile new file mode 100644 index 000000000..da0377261 --- /dev/null +++ b/package/gptfdisk/patches/patch-Makefile @@ -0,0 +1,19 @@ +--- gptfdisk-1.0.1.orig/Makefile 2015-10-19 00:35:18.000000000 +0200 ++++ gptfdisk-1.0.1/Makefile 2016-09-12 22:33:25.606675951 +0200 +@@ -1,5 +1,5 @@ +-CC=gcc +-CXX=g++ ++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 +@@ -18,7 +18,7 @@ gdisk: $(LIB_OBJS) gdisk.o gpttext.o + # $(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 -lncursesw -o cgdisk ++ $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncurses -ltinfo -o cgdisk + # $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licuio -licuuc -luuid -lncurses -o cgdisk + + sgdisk: $(LIB_OBJS) sgdisk.o gptcl.o -- cgit v1.2.3