Hello community,

here is the log from the commit of package wxhexeditor for openSUSE:Factory 
checked in at 2017-01-24 10:34:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wxhexeditor (Old)
 and      /work/SRC/openSUSE:Factory/.wxhexeditor.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wxhexeditor"

Changes:
--------
--- /work/SRC/openSUSE:Factory/wxhexeditor/wxhexeditor.changes  2016-11-28 
15:09:00.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.wxhexeditor.new/wxhexeditor.changes     
2017-01-24 10:34:20.290428959 +0100
@@ -1,0 +2,6 @@
+Sat Jan  7 13:09:46 UTC 2017 - zai...@opensuse.org
+
+- Add wxhexeditor-remove-debug.patch: Remove some debug printed on
+  stdout, patch taken from debian.
+
+-------------------------------------------------------------------

New:
----
  wxhexeditor-remove-debug.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ wxhexeditor.spec ++++++
--- /var/tmp/diff_new_pack.kGyj7g/_old  2017-01-24 10:34:20.906341639 +0100
+++ /var/tmp/diff_new_pack.kGyj7g/_new  2017-01-24 10:34:20.906341639 +0100
@@ -29,6 +29,8 @@
 Patch0:         %{name}-0.23-mhash.patch
 # PATCH-FIX-OPENSUSE wxhexeditor-0.23-func-return.patch sor.ale...@meowr.ru -- 
Fix no-return-in-nonvoid-function.
 Patch1:         %{name}-0.23-func-return.patch
+# PATCH-FIX-OPENSUSE wxhexeditor-remove-debug.patch zai...@opensuse.org -- 
Remove debug msg that include nonsense.
+Patch2:         wxhexeditor-remove-debug.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -57,6 +59,7 @@
 %setup -q -n %{_name}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 chmod -x docs/*
 
 %build

++++++ wxhexeditor-remove-debug.patch ++++++
Description: Remove some debug printed on stdout.

--- a/src/HexEditor.cpp
+++ b/src/HexEditor.cpp
@@ -42,9 +42,11 @@
        tagpanel(tagpanel_),
        dasmpanel(dasmpanel_) {
        ComparatorHexEditor=NULL;
+    #if 0
        // Here, code praying to the GOD for protecting our open file from 
wxHexEditor's bugs and other things.
        // This is really crucial step! Be adviced to not remove it, even if 
you don't believer.
        printf("Rahman ve Rahim olan Allah'ın adıyla.\n");
+    #endif
        myfile = NULL;
        if( myfilename_ != NULL ) {
                if( !FileOpen( *myfilename_ ) ) {
--- a/src/HexEditorCtrl/HexEditorCtrl.h
+++ b/src/HexEditorCtrl/HexEditorCtrl.h
@@ -64,7 +64,9 @@
                void SetState( bool new_state ){
                        state = new_state;
 
+                       #if 0
                        std::cout << "Send UpdateUI Event" << std::endl;
+                       #endif
                        wxUpdateUIEvent event;
                        if( new_state )
                                event.SetString( wxT("Selected") );
--- a/src/HexEditorFrame.cpp
+++ b/src/HexEditorFrame.cpp
@@ -481,7 +481,9 @@
        }
 
 void HexEditorFrame::OnMenuEvent( wxCommandEvent& event ){
+    #if 0
        std::cout << "OnMenuEvent: "  << event.GetId() << std::endl;
+    #endif
        if( event.GetId() == wxID_NEW ){        //GetFile Lenght, Save file as, 
Create file, Open file as RW
                wxString lngt;
                long unsigned int size=0;

Reply via email to