[packages/wxHexEditor] - fix build with wxWidgets 3.0 - rel 3
baggins
baggins at pld-linux.org
Sat Jan 18 16:48:33 CET 2014
commit 6caa7333efbbb020253051335bb9ad3922a4e5c3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Jan 18 16:47:05 2014 +0100
- fix build with wxWidgets 3.0
- rel 3
wxHexEditor.spec | 4 +++-
wxWidgets3.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/wxHexEditor.spec b/wxHexEditor.spec
index b03a527..be06c76 100644
--- a/wxHexEditor.spec
+++ b/wxHexEditor.spec
@@ -4,11 +4,12 @@ Summary: Hex editor wxHeXEditor
Summary(pl.UTF-8): Hex edytor wxHexEditor
Name: wxHexEditor
Version: 0.22
-Release: 2
+Release: 3
License: GPL v2
Group: X11/Applications/Editors
Source0: http://downloads.sourceforge.net/wxhexeditor/wxHexEditor/v0.22%20Beta/%{name}-v%{version}-src.tar.bz2
# Source0-md5: eb88cfcda0553e23a2a9490197e18552
+Patch0: wxWidgets3.patch
URL: http://wxhexeditor.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -30,6 +31,7 @@ dostosowany do reverse engineringu plików binarnych.
%prep
%setup -q -n %{name}
+%patch0 -p1
%build
cd udis86
diff --git a/wxWidgets3.patch b/wxWidgets3.patch
new file mode 100644
index 0000000..cd754cb
--- /dev/null
+++ b/wxWidgets3.patch
@@ -0,0 +1,11 @@
+--- wxHexEditor/Makefile~ 2014-01-18 16:45:00.000000000 +0100
++++ wxHexEditor/Makefile 2014-01-18 16:45:15.795451816 +0100
+@@ -4,7 +4,7 @@
+ CFLAGS = -O2
+ CXXFLAGS = -O2
+ WXCXXFLAGS= `$(WXCONFIG) --cxxflags` -Iudis86 -Imhash/include -MMD -O2 -c ${OPTFLAGS}
+-WXLDFLAGS = `$(WXCONFIG) --libs`
++WXLDFLAGS = `$(WXCONFIG) --libs` -lwx_gtk2u_aui-3.0
+ RC = `$(WXCONFIG) --rescomp`
+ #RC = x86_64-w64-mingw32-windres --define WX_CPU_AMD64
+ RCFLAGS = `$(WXCONFIG) --cxxflags | sed s/' '-m.*//g;`
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wxHexEditor.git/commitdiff/6caa7333efbbb020253051335bb9ad3922a4e5c3
More information about the pld-cvs-commit
mailing list