audacity/audacity-no_buildstamp.patch
Dave Plater 911d4c0f83 Accepting request 769492 from home:plater
- Download 2.3.3 tarball again to fix incorrect release info.
- Use autopatch and refresh patches.
- Fix boo#1162418, caused by wxWidgets.

OBS-URL: https://build.opensuse.org/request/show/769492
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=136
2020-02-03 09:50:34 +00:00

38 lines
1.8 KiB
Diff

Index: audacity-Audacity-2.3.3/src/AboutDialog.cpp
===================================================================
--- audacity-Audacity-2.3.3.orig/src/AboutDialog.cpp 2019-11-15 13:14:55.000000000 +0200
+++ audacity-Audacity-2.3.3/src/AboutDialog.cpp 2020-02-02 15:40:57.718746982 +0200
@@ -65,7 +65,7 @@ hold information about one contributor t
#ifdef REV_LONG
#define REV_IDENT wxString( "[[https://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 );
@@ -604,8 +604,8 @@ void AboutDialog::PopulateInformationPag
informationStr += _("Build Information");
informationStr += wxT("</h3>\n<table>");
- // Current date
- AddBuildinfoRow(&informationStr, _("Program build date: "), __TDATE__);
+ /*/ Current date
+ AddBuildinfoRow(&informationStr, _("Program build date: "), __TDATE__);*/
AddBuildinfoRow(&informationStr, _("Commit Id:"), REV_IDENT );
// Not translated in 2.3.1.
Index: audacity-Audacity-2.3.3/lib-src/portaudio-v19/qa/loopback/src/paqa.c
===================================================================
--- audacity-Audacity-2.3.3.orig/lib-src/portaudio-v19/qa/loopback/src/paqa.c 2019-11-15 13:14:55.000000000 +0200
+++ audacity-Audacity-2.3.3/lib-src/portaudio-v19/qa/loopback/src/paqa.c 2020-02-02 15:40:57.718746982 +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:");