Browse Source

Update 'wxwabbitemu.patch'

Nathaniel van Diepen 4 years ago
parent
commit
e19f1d77ae
1 changed files with 19 additions and 15 deletions
  1. 19 15
      wxwabbitemu.patch

+ 19 - 15
wxwabbitemu.patch

@@ -1,22 +1,26 @@
-From 6618a03efcf99f0602fc9e821d5e9352db375e74 Mon Sep 17 00:00:00 2001
-From: Nathaniel van Diepen <[email protected]>
-Date: Tue, 19 May 2020 13:48:43 -0600
-Subject: [PATCH] Fix quotes
+diff --git a/Makefile b/Makefile
+index 6a567b6..dace986 100644
+--- a/Makefile
++++ b/Makefile
+@@ -4,6 +4,8 @@
 
----
- gui/gui.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ PREFIX = $(DESTDIR)/usr/local
+ BINDIR = $(PREFIX)/bin
++CCFLAGS=-fPIC
++CXXFLAGS=-fPIC
+
+ .PHONY: all help install uninstall distclean distclean-real
 
 diff --git a/gui/gui.cpp b/gui/gui.cpp
 index 1fd819e..33982d6 100644
 --- a/gui/gui.cpp
 +++ b/gui/gui.cpp
 @@ -498,7 +498,7 @@ WabbitemuFrame::WabbitemuFrame(LPCALC lpCalc) : wxFrame(NULL, wxID_ANY, wxT("Wab
- 	}
- 	
- 	#if (defined(__WXMSW__) && BIG_WINDOWS_ICON == 1)
--	wxBitmap bitmap(wxT(“wabbiticon.png”), wxBITMAP_TYPE_PNG);
-+	wxBitmap bitmap(wxT("wabbiticon.png"), wxBITMAP_TYPE_PNG);
- 	icon.CopyFromBitmap(bitmap);
- 	#else
- 	wxIcon icon = wxIcon(wxICON(wabbiticon));
+        }
+
+        #if (defined(__WXMSW__) && BIG_WINDOWS_ICON == 1)
+-       wxBitmap bitmap(wxT(“wabbiticon.png”), wxBITMAP_TYPE_PNG);
++       wxBitmap bitmap(wxT("wabbiticon.png"), wxBITMAP_TYPE_PNG);
+        icon.CopyFromBitmap(bitmap);
+        #else
+        wxIcon icon = wxIcon(wxICON(wabbiticon));