Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
sffview
sffview-0.4.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sffview-0.4.diff of Package sffview
Index: sffview-0.4/Makefile =================================================================== --- sffview-0.4.orig/Makefile +++ sffview-0.4/Makefile @@ -19,10 +19,10 @@ PROGRAM = sffview OBJECTS = $(PROGRAM).o common.o codes.o decoder.o sfffile.o sffapp.o sffdoc.o #WXCONFIG_CPP = `wxgtk2-2.5-config --cflags` -WXCONFIG_CPP = `wx-config --cflags` +WXCONFIG_CPP = `wx-config --unicode=yes --cflags` #WXCONFIG_LD = `wxgtk2-2.5-config --libs --static` -WXCONFIG_LD = `wx-config --libs` +WXCONFIG_LD = `wx-config --unicode=yes --libs` # /usr/lib/libglib-2.0.a \ # /usr/lib/libgobject-2.0.a \ @@ -53,7 +53,7 @@ WXCONFIG_LD_STATIC = -L/usr/X11R6/lib \ .SUFFIXES: .o .cpp .cpp.o : - $(CC) -g -march=i686 -Os -c $(WXCONFIG_CPP) -o $@ $< + $(CC) -g $(RPM_OPT_FLAGS) -fno-strict-aliasing -c $(WXCONFIG_CPP) -o $@ $< all: $(PROGRAM) Index: sffview-0.4/sffview.cpp =================================================================== --- sffview-0.4.orig/sffview.cpp +++ sffview-0.4/sffview.cpp @@ -205,7 +205,7 @@ SffCanvas::SffCanvas(wxView *v, wxFrame wxScrolledWindow(frame, -1, pos, size, wxSUNKEN_BORDER) { view = v; - SetBackgroundColour("WHITE"); + SetBackgroundColour(_T("WHITE")); } // Define the repainting behaviour
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor