termux-packages/packages/arj/integr.patch
Leonid Pliushch 47df9e73c1 move some packages from unstable repo
* algernon
* apg
* aptly
* arj
* codecrypt
* crunch
* cryptopp
* diskus
* google-glog
* hexyl
* jp2a
* libgfshare
* libmcrypt
* libmhash
* libmicrohttpd
* libnftnl
* libsigsegv
* lua-lpeg
* morse2ascii
* seccure
* secure-delete
* ssss
* steghide
* taglib
* unicorn
* vegeta
* vis
* wren
* wuzz
* zsync
2019-09-08 16:44:36 +03:00

17 lines
447 B
Diff

Declare arj_integrity_identifier as global.
Without this it's not added to resulting binary
and we need it.
--- src-orig/integr.c 2017-09-08 21:45:38.422802558 +0200
+++ src/integr.c 2017-09-08 22:25:22.853785365 +0200
@@ -5,7 +5,7 @@
*
*/
-static volatile const char intergrity_identifier[] = {
+volatile const char arj_intergrity_identifier[] = {
0xB0, 0x03, 0xB0, 0x02, 0xB0, 0x03,
0xB0, 0x04, 0xB0, 0x05,
0x90, 0x90, 0x90, 0x90,