void-packages/srcpkgs/transmission/patches/fix-makefiles.patch
Đoàn Trần Công Danh 4f75cf25fd srcpkgs/t*: convert patches to -Np1
```sh
git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
	for p in ${template%/template}/patches/*; do
		sed -i '
			\,^[+-][+-][+-] /dev/null,b
			/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
			s,^[*][*][*] ,&a/,
			/^--- /{
				s,\(^--- \)\(./\)*,\1a/,
				s,[.-][Oo][Rr][Ii][Gg]\([	/]\),\1,
				s/[.-][Oo][Rr][Ii][Gg]$//
				s/[.]patched[.]\([^.]\)/.\1/
				h
			}
			/^+++ -/{
				g
				s/^--- a/+++ b/
				b
			}
			s,\(^+++ \)\(./\)*,\1b/,
		' "$p"
	done
	sed -i '/^patch_args=/d' $template
done
```
2021-06-20 13:17:29 +07:00

62 lines
1.7 KiB
Diff

From 642db5762b1f8e9d2bb8527b153b6c47d856cb9d Mon Sep 17 00:00:00 2001
From: Mike Gelfand <mikedld@mikedld.com>
Date: Sat, 23 May 2020 01:39:36 +0300
Subject: [PATCH] Add missing files that fail build from tarball
Fixes: #1246
---
libtransmission/Makefile.am | 3 +++
macosx/Makefile.am | 2 ++
po/LINGUAS | 1 +
third-party/Makefile.am | 3 +++
4 files changed, 9 insertions(+)
diff --git a/libtransmission/Makefile.am b/libtransmission/Makefile.am
index 0885fab0d..d9a61c12f 100644
--- a/libtransmission/Makefile.am
+++ b/libtransmission/Makefile.am
@@ -316,3 +316,6 @@ watchdir_generic_test_CPPFLAGS = -DWATCHDIR_TEST_FORCE_GENERIC $(AM_CPPFLAGS)
rename_test_SOURCES = rename-test.c $(TEST_SOURCES)
rename_test_LDADD = ${apps_ldadd}
rename_test_LDFLAGS = ${apps_ldflags}
+
+EXTRA_DIST = \
+ subprocess-test.cmd
diff --git a/macosx/Makefile.am b/macosx/Makefile.am
index 27abb77b6..5a6fec9ef 100644
--- a/macosx/Makefile.am
+++ b/macosx/Makefile.am
@@ -95,6 +95,8 @@ EXTRA_DIST = \
InfoTabButtonBack.m \
InfoTabButtonCell.h \
InfoTabButtonCell.m \
+ InfoTabMatrix.h \
+ InfoTabMatrix.m \
InfoTextField.h \
InfoTextField.m \
InfoActivityViewController.h \
diff --git a/po/LINGUAS b/po/LINGUAS
index 08629cd1b..6b3145a37 100644
--- a/po/LINGUAS
+++ b/po/LINGUAS
@@ -68,6 +68,7 @@ pa
pl
pt
pt_BR
+pt_PT
ro
ru
si
diff --git a/third-party/Makefile.am b/third-party/Makefile.am
index 9f66878d9..33df96d42 100644
--- a/third-party/Makefile.am
+++ b/third-party/Makefile.am
@@ -22,5 +22,8 @@ SUBDIRS = \
$(UTP_DIR)
EXTRA_DIST = \
+ curl \
+ libevent \
+ openssl \
macosx-libevent-config.h \
macosx-libevent-event-config.h