diff options
Diffstat (limited to 'app-crypt/aescrypt')
-rw-r--r-- | app-crypt/aescrypt/Manifest | 3 | ||||
-rw-r--r-- | app-crypt/aescrypt/aescrypt-3.14.ebuild | 5 | ||||
-rw-r--r-- | app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch | 20 |
3 files changed, 26 insertions, 2 deletions
diff --git a/app-crypt/aescrypt/Manifest b/app-crypt/aescrypt/Manifest index bebc7430d9c0..3e56c15826ad 100644 --- a/app-crypt/aescrypt/Manifest +++ b/app-crypt/aescrypt/Manifest @@ -1,4 +1,5 @@ AUX aescrypt-3.14-iconv.patch 1104 BLAKE2B a6b9a8f41e86c9ac6fe16427752ae20da7177e5c1aec9f42373f94606954732632d84dc06a1425508115b3fc94f54f895c671eca691442c4d3d3b9163a27934e SHA512 fb3dd6a459e1378c44ffcd6a5b109f4bd178ee2e3190eed334bbfa4387fb11c4d070105598b4f0b989428f00a28f2064cf5f5064b71c49db269f4f4b55283960 +AUX aescrypt-3.14-ldflags.patch 632 BLAKE2B 76f47200abc65e747a60e28d5870296d0bbf0292ed34143afc0e4a9afd9ce75225f321dba92c71bf67fd9fe95b72d572080e97a6e1f6bca50604995634584351 SHA512 8ad8c9454b3865f8fcbab9463713bd7e6638a09df792a5d001e0fc2d0d11cc1f50235206d363300e977f6ce6f512c3911e02c9b706ac85069e1536c2734b73ac DIST aescrypt-3.14.tgz 38742 BLAKE2B 7122cb0246e28fd1301c58c13145c47ea3e20c8af61efc4115eec8a7ade720ecf2093f2e0156c05eb6cbb6e403bbeb3624745609f0ec1f2fd477edbd876e3373 SHA512 ac06604e2121f0c0f098e87d43c493b7285c58ac7419c284e6a93218dfa7381d4ca69ee775842fde89226092e05978d662eddefe734afe38f67b28df68d87b68 -EBUILD aescrypt-3.14.ebuild 1605 BLAKE2B 1464d3609f29b7d468b5419691d917fa52847cbb734a7eaf771a2ccb9cf47111445e4080855edc5e2b95d828445003eacad75abc0d5ca8acf88a385149a1ce31 SHA512 0743249ceede209664999891de2f5652970d08d7b7bfea2fb703555ea036a0d71c36fc2c7c0f661e9bfe767ccd11716971dc8f66b841963971a201411b461189 +EBUILD aescrypt-3.14.ebuild 1640 BLAKE2B 0a93b28537ca729fef75787a17549d1b6e9cfa4b6ac5458f336916e7013ece2deb3a47768b5cf794043d499e9e5047e8265e5bb4303c28651a3e4e8412fd0f11 SHA512 986a09e671d1eb8aa559728bbcb04f6edf158999d771b48753bdbda58165c879258acb36c11779522daca63eff83fa1593764e6f4b5fad4072ca7cb434d4bfc4 MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 diff --git a/app-crypt/aescrypt/aescrypt-3.14.ebuild b/app-crypt/aescrypt/aescrypt-3.14.ebuild index c40e124664a5..51a5d8403d18 100644 --- a/app-crypt/aescrypt/aescrypt-3.14.ebuild +++ b/app-crypt/aescrypt/aescrypt-3.14.ebuild @@ -18,7 +18,10 @@ RDEPEND="X? ( ) " -PATCHES=( "${FILESDIR}/${P}-iconv.patch" ) +PATCHES=( + "${FILESDIR}/${P}-iconv.patch" + "${FILESDIR}/${P}-ldflags.patch" +) src_prepare() { xdg_src_prepare diff --git a/app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch b/app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch new file mode 100644 index 000000000000..757f0e4e7fcb --- /dev/null +++ b/app-crypt/aescrypt/files/aescrypt-3.14-ldflags.patch @@ -0,0 +1,20 @@ +diff -Naru a/src/Makefile b/src/Makefile +--- a/src/Makefile 2021-07-14 09:25:15.509797042 +0200 ++++ b/src/Makefile 2021-07-14 09:25:46.689797121 +0200 +@@ -27,13 +27,13 @@ + all: aescrypt aescrypt_keygen + + aescrypt: $(AESCRYPT_OBJS) +- $(CC) $(CFLAGS) $(LIBS) -o $@ $(AESCRYPT_OBJS) ++ $(CC) $(CFLAGS) $(LIBS) $(LDFLAGS) -o $@ $(AESCRYPT_OBJS) + + aescrypt_keygen: $(KEYGEN_OBJS) +- $(CC) $(CFLAGS) $(LIBS) -o $@ $(KEYGEN_OBJS) ++ $(CC) $(CFLAGS) $(LIBS) $(LDFLAGS) -o $@ $(KEYGEN_OBJS) + + %.o: %.c %.h +- $(CC) $(CFLAGS) -c $*.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -c $*.c + + install: aescrypt + install -o root -g root -m 755 aescrypt /usr/bin |