OBS User unknown
2007-03-07 00:52:06 +00:00
committed by Git OBS Bridge
parent ffefae3d1d
commit 9c23b7dbef
3 changed files with 30 additions and 8 deletions

View File

@@ -1,6 +1,8 @@
--- sffview-0.4/Makefile.org 2006-10-30 17:41:52.000000000 +0100
+++ sffview-0.4/Makefile 2006-10-30 17:41:52.000000000 +0100
@@ -19,10 +19,10 @@
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`
@@ -13,12 +15,25 @@
# /usr/lib/libglib-2.0.a \
# /usr/lib/libgobject-2.0.a \
@@ -53,7 +53,7 @@
@@ -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) -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

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 6 00:58:44 CET 2007 - kkeil@suse.de
- fix string type issue for gcc42
-------------------------------------------------------------------
Mon Oct 30 18:05:43 CET 2006 - kkeil@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package sffview (Version 0.4)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -16,7 +16,7 @@ License: X11/MIT
Group: Hardware/ISDN
Autoreqprov: on
Version: 0.4
Release: 1
Release: 29
Summary: Simple viewer for Structured Fax Files (.sff) used by ISDN applications
Source: %{name}-%{version}.tar.bz2
URL: http://sfftools.sourceforge.net/
@@ -59,7 +59,9 @@ rm -rf $RPM_BUILD_ROOT
/usr/bin/sffview
%doc %{_defaultdocdir}/sffview
%changelog -n sffview
%changelog
* Tue Mar 06 2007 - kkeil@suse.de
- fix string type issue for gcc42
* Mon Oct 30 2006 - kkeil@suse.de
- update to 0.4
* include all our fixes