audacity/audacity-no_buildstamp.patch

36 lines
1.6 KiB
Diff

Index: src/AboutDialog.cpp
===================================================================
--- src/AboutDialog.cpp.orig 2017-03-13 23:02:21.000000000 +0200
+++ src/AboutDialog.cpp 2017-03-18 16:42:02.355788390 +0200
@@ -59,7 +59,7 @@ hold information about one contributor t
#ifdef REV_LONG
#define REV_IDENT wxString( "[[http://github.com/audacity/audacity/commit/" )+ REV_LONG + "|" + wxString( REV_LONG ).Left(6) + "]] of " + REV_TIME
#else
-#define REV_IDENT wxT("No revision identifier was provided")
+#define REV_IDENT wxT("Official openSUSE Build")
#endif
extern wxString FormatHtmlText( const wxString & Text );
@@ -70,7 +70,7 @@ const wxString VerCheckArgs(){
#ifdef REV_LONG
result += wxString("&CommitId=")+wxString(REV_LONG).Left(6);
#endif
- result += wxString("&Time=") + wxString( __DATE__ ) + wxString( __TIME__ );
+ result += wxString("&Time=") + wxString( "17 March 2017" ) + wxString( "23:15" );
result.Replace(" ","");
return result;
}
Index: lib-src/portaudio-v19/qa/loopback/src/paqa.c
===================================================================
--- lib-src/portaudio-v19/qa/loopback/src/paqa.c.orig 2017-03-13 23:02:21.000000000 +0200
+++ lib-src/portaudio-v19/qa/loopback/src/paqa.c 2017-03-18 15:32:00.553429177 +0200
@@ -1460,7 +1460,7 @@ int main( int argc, char **argv )
int justMath = 0;
char *executableName = argv[0];
- printf("PortAudio LoopBack Test built " __DATE__ " at " __TIME__ "\n");
+ printf("PortAudio LoopBack Test built " "17 March 2017" " at " "23:15" "\n");
if( argc > 1 ){
printf("running with arguments:");