diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/sleepyhead/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/sleepyhead/files')
-rw-r--r-- | app-misc/sleepyhead/files/common_gui.patch | 12 | ||||
-rw-r--r-- | app-misc/sleepyhead/files/gitfix.patch | 15 | ||||
-rw-r--r-- | app-misc/sleepyhead/files/prs1-64fix.patch | 13 | ||||
-rw-r--r-- | app-misc/sleepyhead/files/prs1-code8fix.patch | 12 |
4 files changed, 52 insertions, 0 deletions
diff --git a/app-misc/sleepyhead/files/common_gui.patch b/app-misc/sleepyhead/files/common_gui.patch new file mode 100644 index 000000000000..6e41e0ac4ce9 --- /dev/null +++ b/app-misc/sleepyhead/files/common_gui.patch @@ -0,0 +1,12 @@ +diff --git a/common_gui.cpp b/common_gui.cpp +index 0f38ce8..36b0b9e 100644 +--- a/common_gui.cpp ++++ b/common_gui.cpp +@@ -6,6 +6,7 @@ + + #include "common_gui.h" + #include "qglobal.h" ++#include <unistd.h> + + #ifdef Q_WS_WIN32 + #include "windows.h" diff --git a/app-misc/sleepyhead/files/gitfix.patch b/app-misc/sleepyhead/files/gitfix.patch new file mode 100644 index 000000000000..46cbef0a4530 --- /dev/null +++ b/app-misc/sleepyhead/files/gitfix.patch @@ -0,0 +1,15 @@ +--- a/SleepyHeadQT.pro ++++ b/SleepyHeadQT.pro +@@ -31,10 +31,10 @@ TEMPLATE = app + + #exists(.git):DEFINES += GIT_BRANCH=\\\"$$system(git rev-parse --symbolic-full-name --abbrev-ref HEAD)\\\" + exists(.git):DEFINES += GIT_BRANCH=\\\"$$system(git rev-parse --abbrev-ref HEAD)\\\" +-else:DEFINES += GIT_BRANCH=\\\"NOT BUILT FROM GIT SOURCE\\\" ++else:DEFINES += GIT_BRANCH=\\\"UNKNOWN\\\" + + exists(.git):DEFINES += GIT_REVISION=\\\"$$system(git rev-parse HEAD)\\\" +-else:DEFINES += GIT_BRANCH=\\\"UNKNOWN\\\" ++else:DEFINES += GIT_REVISION=\\\"UNKNOWN\\\" + + SOURCES += main.cpp\ + SleepLib/machine.cpp \ diff --git a/app-misc/sleepyhead/files/prs1-64fix.patch b/app-misc/sleepyhead/files/prs1-64fix.patch new file mode 100644 index 000000000000..a7b1070eeb4c --- /dev/null +++ b/app-misc/sleepyhead/files/prs1-64fix.patch @@ -0,0 +1,13 @@ +diff --git a/SleepLib/loader_plugins/prs1_loader.cpp b/SleepLib/loader_plugins/prs1_loader.cpp +index d7f102c..61f2d34 100644 +--- a/SleepLib/loader_plugins/prs1_loader.cpp ++++ b/SleepLib/loader_plugins/prs1_loader.cpp +@@ -597,7 +597,7 @@ bool PRS1Loader::Parse002v5(qint32 sequence, quint32 timestamp, unsigned char *b + CPAP_LeakTotal, PRS1_12 + }; + +- int ncodes=sizeof(Codes)/sizeof(QString); ++ int ncodes=sizeof(Codes)/sizeof(ChannelID); + EventList * Code[0x20]={NULL}; + + diff --git a/app-misc/sleepyhead/files/prs1-code8fix.patch b/app-misc/sleepyhead/files/prs1-code8fix.patch new file mode 100644 index 000000000000..ec7a121674be --- /dev/null +++ b/app-misc/sleepyhead/files/prs1-code8fix.patch @@ -0,0 +1,12 @@ +diff --git a/SleepLib/loader_plugins/prs1_loader.cpp b/SleepLib/loader_plugins/prs1_loader.cpp +index d7f102c..95de13b 100644 +--- a/SleepLib/loader_plugins/prs1_loader.cpp ++++ b/SleepLib/loader_plugins/prs1_loader.cpp +@@ -722,6 +722,7 @@ bool PRS1Loader::Parse002v5(qint32 sequence, quint32 timestamp, unsigned char *b + if (!(Code[10]=session->AddEventList(cpapcode,EVL_Event))) return false; + } + Code[10]->AddEvent(tt,data[0]); ++ pos++; + break; + case 0x09: // ASV Codes + //code=CPAP_FlowLimit; |