Commit 6de8feb9 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Initial commit

parents
all:
tar xf gptfdisk-1.0.5.tar.gz
patch -Np1 -d gptfdisk-1.0.5 < gptfdisk-1.0.5-convenience-1.patch
patch -Np1 -d gptfdisk-1.0.5 < gptfdisk-1.0.5-ncurses.patch
$(MAKE) -C gptfdisk-1.0.5
$(MAKE) -C gptfdisk-1.0.5 test
$(MAKE) -C gptfdisk-1.0.5 install
rm -rf gptfdisk-1.0.5
Submitted By: Bruce Dubbs <bdubbs_at_linuxfromscratch_dot_org>
Date: 2015-10-19
Initial Package Version: 1.0.1
Upstream Status: None. BLFS specific.
Origin: BLFS
Description: Updates Makefile enabling parameter passing.
Rediffed for version 1.0.1
Updates: Rediffed for version 1.0.3 (P. Labastie)
Patch version 2 for version 1.0.3: Removed ICU
and POPT switches, keeping only the
install target (P. Labastie)
diff -Naur gptfdisk-1.0.3.old/Makefile gptfdisk-1.0.3.new/Makefile
--- gptfdisk-1.0.3.old/Makefile 2017-07-28 03:41:20.000000000 +0200
+++ gptfdisk-1.0.3.new/Makefile 2018-04-20 10:04:18.896802047 +0200
@@ -37,6 +37,11 @@
clean: #no pre-reqs
rm -f core *.o *~ gdisk sgdisk cgdisk fixparts
+install: gdisk cgdisk sgdisk fixparts
+ install -dm 755 $(DESTDIR)/sbin $(DESTDIR)/usr/share/man/man8
+ install -m755 gdisk cgdisk sgdisk fixparts $(DESTDIR)/sbin
+ install -m644 *.8 $(DESTDIR)/usr/share/man/man8
+
# what are the source dependencies
depend: $(SRCS)
$(DEPEND) $(SRCS)
diff -uNr gptfdisk-1.0.5/gptcurses.cc gptfdisk-1.0.5-ncurses/gptcurses.cc
--- gptfdisk-1.0.5/gptcurses.cc 2020-02-18 09:04:11.000000000 +1030
+++ gptfdisk-1.0.5-ncurses/gptcurses.cc 2020-04-22 23:57:45.899081289 +0930
@@ -26,7 +26,7 @@
#ifdef __APPLE__
#include <ncurses.h>
#else
-#include <ncursesw/ncurses.h>
+#include <ncurses.h>
#endif
#include "gptcurses.h"
#include "support.h"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment