audacity/audacity-no_buildstamp.patch
Dave Plater 660b1f133e Accepting request 817522 from home:plater
- Update to 2.4.2, now uses cmake to build.
- Remove audacity-implicit-fortify-decl.patch and
  audacity-flacversion.patch, fixed upstream
- Add two more false positives to
  audacity-no_return_in_nonvoid.patch

OBS-URL: https://build.opensuse.org/request/show/817522
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=145
2020-06-28 12:38:12 +00:00

38 lines
1.8 KiB
Diff

Index: audacity-Audacity-2.4.2/lib-src/portaudio-v19/qa/loopback/src/paqa.c
===================================================================
--- audacity-Audacity-2.4.2.orig/lib-src/portaudio-v19/qa/loopback/src/paqa.c 2020-06-19 17:16:47.000000000 +0200
+++ audacity-Audacity-2.4.2/lib-src/portaudio-v19/qa/loopback/src/paqa.c 2020-06-28 09:53:36.618593507 +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:");
Index: audacity-Audacity-2.4.2/src/AboutDialog.cpp
===================================================================
--- audacity-Audacity-2.4.2.orig/src/AboutDialog.cpp 2020-06-19 17:16:47.000000000 +0200
+++ audacity-Audacity-2.4.2/src/AboutDialog.cpp 2020-06-28 09:53:36.618593507 +0200
@@ -70,7 +70,7 @@ hold information about one contributor t
#endif
#ifdef REV_LONG
-#define REV_IDENT wxString( "[[https://github.com/audacity/audacity/commit/" )+ REV_LONG + "|" + wxString( REV_LONG ).Left(6) + "]] of " + REV_TIME
+#define REV_IDENT wxString( "Official openSUSE Build" )+ REV_LONG + "|" + wxString( REV_LONG ).Left(6) + "]] of " + REV_TIME
#else
#define REV_IDENT (XO("No revision identifier was provided").Translation())
#endif
@@ -751,8 +751,8 @@ void AboutDialog::PopulateInformationPag
<< XO("Build Information")
<< wxT("</h3>\n<table>");
- // Current date
- AddBuildinfoRow(&informationStr, XO("Program build date:"), __TDATE__);
+ /*/ Current date
+ AddBuildinfoRow(&informationStr, XO("Program build date:"), __TDATE__);*/
AddBuildinfoRow(&informationStr, XO("Commit Id:"), REV_IDENT );
auto buildType =