summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMihail Konev <k.mvc@ya.ru>2017-03-02 17:04:36 +0900
committerMichel Dänzer <michel@daenzer.net>2017-03-03 16:09:26 +0900
commit45a8ec6257c370eecf43b6b8010863e37b704872 (patch)
tree7b39d1920ce323ce57c4e3236bd446ab0ce38fae /autogen.sh
parentba2aa0a8c12a2bea1e8be01ca3134b518d4cb0f2 (diff)
autogen: add default patch prefix
(Ported from radeon commit 8e6a4e96b7b27559e186f71b5547abb0a80b96dd) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 0006de8..c814d5c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,6 +9,9 @@ cd "$srcdir"
autoreconf -v --install || exit 1
cd "$ORIGDIR" || exit $?
+git config --local --get format.subjectPrefix >/dev/null 2>&1 ||
+ git config --local format.subjectPrefix "PATCH xf86-video-amdgpu"
+
if test -z "$NOCONFIGURE"; then
exec "$srcdir"/configure "$@"
fi