aboutsummaryrefslogtreecommitdiff
path: root/gptfdisk/abuild
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
commit93a354611e38a6949add5c2e5ccc93ef79b9755f (patch)
tree7fee41752b1047d74c59f8ee046cd62735e7e934 /gptfdisk/abuild
parent35912580b66e9439f91ea441938828ad8aa33b0d (diff)
downloadalicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz
alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'gptfdisk/abuild')
-rw-r--r--gptfdisk/abuild13
1 files changed, 13 insertions, 0 deletions
diff --git a/gptfdisk/abuild b/gptfdisk/abuild
new file mode 100644
index 00000000..3d74c086
--- /dev/null
+++ b/gptfdisk/abuild
@@ -0,0 +1,13 @@
+name=gptfdisk
+version=1.0.10
+release=1
+source="https://downloads.sourceforge.net/$name/$name-$version.tar.gz
+ gptfdisk-1.0.9-convenience-1.patch
+ fix-musl.patch"
+
+prebuild() {
+ sed -i 's|ncursesw/||' gptcurses.cc
+ sed -i 's|sbin|usr/sbin|' Makefile
+ sed -i '/UUID_H/s/^.*$/#if defined (_UUID_UUID_H) || defined (_UL_LIBUUID_UUID_H)/' guid.cc
+ sed -i "/device =/s/= \(.*\);/= strdup(\1);/" gptcl.cc
+}