Skip to content

Commit

Permalink
Merge pull request #2227 from mariux64/update-sharutils-4152
Browse files Browse the repository at this point in the history
sharutils: update 4.15 to 4.15.2
  • Loading branch information
wwwutz authored Sep 6, 2021
2 parents 77e2f2b + 5107a86 commit b8ae583
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions sharutils.be0
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env beesh

# BEE_VERSION sharutils-4.15-0
# BEE_VERSION sharutils-4.15.2-0

# SRCURL[0]="ftp://ftp.gnu.org/gnu/sharutils/sharutils-4.15.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/45c3d2b9820bb6bc7208940637b8fa70/sharutils-4.15.tar.gz"
# ftp://ftp.gnu.org/gnu/sharutils/sharutils-4.15.2.tar.gz
SRCURL[0]="https://beehive.molgen.mpg.de/32a51b23e25ad5e6af4b89f228be1800/sharutils-4.15.2.tar.gz"

# PATCHURL+=()

Expand All @@ -15,9 +15,14 @@ SRCURL[0]="https://beehive.molgen.mpg.de/45c3d2b9820bb6bc7208940637b8fa70/sharut
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}
mee_patch() {
bee_patch "${@}"
# see https://www.linuxfromscratch.org/blfs/view/cvs/general/sharutils.html
sed -i 's/BUFSIZ/rw_base_size/' src/unshar.c
sed -i '/program_name/s/^/extern /' src/*opts.h
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
}

mee_configure() {
bee_configure \
Expand Down

0 comments on commit b8ae583

Please sign in to comment.