summaryrefslogtreecommitdiff
path: root/app-misc/openrgb/files/OpenRGB-0.5-build-system.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/openrgb/files/OpenRGB-0.5-build-system.patch')
-rw-r--r--app-misc/openrgb/files/OpenRGB-0.5-build-system.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-misc/openrgb/files/OpenRGB-0.5-build-system.patch b/app-misc/openrgb/files/OpenRGB-0.5-build-system.patch
new file mode 100644
index 000000000000..fe805988af5d
--- /dev/null
+++ b/app-misc/openrgb/files/OpenRGB-0.5-build-system.patch
@@ -0,0 +1,13 @@
+diff --git a/OpenRGB.pro b/OpenRGB.pro
+index 91e0079..7f279dd 100644
+--- a/OpenRGB.pro
++++ b/OpenRGB.pro
+@@ -26,8 +26,5 @@ TEMPLATE = app
+ win32:BUILDDATE = $$system(date /t)
+ unix:BUILDDATE = $$system(date -R -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}")
+-GIT_COMMIT_ID = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree $$_PRO_FILE_PWD_ rev-parse HEAD)
+-GIT_COMMIT_DATE = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree $$_PRO_FILE_PWD_ show -s --format=%ci HEAD)
+-GIT_BRANCH = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree $$_PRO_FILE_PWD_ rev-parse --abbrev-ref HEAD)
+
+ DEFINES += \
+ VERSION_STRING=\\"\"\"$$VERSION\\"\"\" \