You've already forked termux-packages
mirror of
https://github.com/izzy2lost/termux-packages.git
synced 2026-03-26 17:00:19 -07:00
libmcrypt: Fix implicit int
%ci:no-build
This commit is contained in:
@@ -10,4 +10,3 @@ TERMUX_PKG_BREAKS="libmcrypt-dev"
|
||||
TERMUX_PKG_REPLACES="libmcrypt-dev"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--mandir=$TERMUX_PREFIX/share/man"
|
||||
TERMUX_PKG_ENABLE_CLANG16_PORTING=false
|
||||
|
||||
15
packages/libmcrypt/lib-Makefile.in.patch
Normal file
15
packages/libmcrypt/lib-Makefile.in.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
https://github.com/termux/termux-packages/issues/15852
|
||||
|
||||
--- a/lib/Makefile.in
|
||||
+++ b/lib/Makefile.in
|
||||
@@ -561,8 +561,8 @@
|
||||
@echo "/* This is automatically created. Don't touch... */" >> mcrypt_symb.c
|
||||
@echo "" >> mcrypt_symb.c
|
||||
-@for i in $(EXTRA_ALGOS); do \
|
||||
- if test -f ../modules/algorithms/$$i.c; then cat ../modules/algorithms/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \
|
||||
- if test -f ../modules/modes/$$i.c; then cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \
|
||||
+ if test -f ../modules/algorithms/$$i.c; then cat ../modules/algorithms/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern int "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \
|
||||
+ if test -f ../modules/modes/$$i.c; then cat ../modules/modes/$$i.c 2>/dev/null|grep define|grep LTX|awk '{print "extern int "$$3"();";}' >> mcrypt_symb.c 2>/dev/null; fi; \
|
||||
done
|
||||
@echo "" >> mcrypt_symb.c
|
||||
@echo "const mcrypt_preloaded mps[] = {" >> mcrypt_symb.c
|
||||
Reference in New Issue
Block a user