Commit 9ce5d5ae2dc81147de6bd7a7d86bf4789c784d53
1 parent
83927c41
Exists in
master
and in
5 other branches
Corrigindo problemas detectados pelo openSUSE Build Service
Showing
3 changed files
with
7 additions
and
4 deletions
Show diff stats
pw3270.spec.in
| @@ -62,7 +62,7 @@ Source: %{name}-%{version}.tar.gz | @@ -62,7 +62,7 @@ Source: %{name}-%{version}.tar.gz | ||
| 62 | BuildRoot: %{_tmppath}/%{name}-%{version}-build | 62 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
| 63 | Requires: openssl shared-mime-info libgnome libgnomeui %{name}-lib = @PACKAGE_VERSION@ | 63 | Requires: openssl shared-mime-info libgnome libgnomeui %{name}-lib = @PACKAGE_VERSION@ |
| 64 | Distribution: %_distro | 64 | Distribution: %_distro |
| 65 | -BuildRequires: autoconf automake gcc-c++ sed pkgconfig gtk2-devel libgnome-devel gettext-devel | 65 | +BuildRequires: autoconf automake gcc-c++ sed pkgconfig gtk2-devel libgnome-devel gettext-devel libopenssl-devel |
| 66 | 66 | ||
| 67 | %description | 67 | %description |
| 68 | IBM 3270 terminal emulator gtk. It can be used to communicate with | 68 | IBM 3270 terminal emulator gtk. It can be used to communicate with |
| @@ -80,6 +80,10 @@ aclocal | @@ -80,6 +80,10 @@ aclocal | ||
| 80 | autoconf | 80 | autoconf |
| 81 | %configure | 81 | %configure |
| 82 | 82 | ||
| 83 | +%build | ||
| 84 | +make clean | ||
| 85 | +make Release | ||
| 86 | + | ||
| 83 | %install | 87 | %install |
| 84 | rm -rf $RPM_BUILD_ROOT | 88 | rm -rf $RPM_BUILD_ROOT |
| 85 | cd %{_builddir}/%{name}-%{version} | 89 | cd %{_builddir}/%{name}-%{version} |
src/gtk/Makefile.in
| @@ -77,7 +77,8 @@ $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT): $(foreach SRC, $(basename $(SOURC | @@ -77,7 +77,8 @@ $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT): $(foreach SRC, $(basename $(SOURC | ||
| 77 | 77 | ||
| 78 | @echo $@ ... | 78 | @echo $@ ... |
| 79 | @$(MKDIR) `dirname $@` | 79 | @$(MKDIR) `dirname $@` |
| 80 | - @$(LD) -Wl,--rpath,.bin/Debug/lib -o $@ $^ $(LIBS) $(LIB3270_LIBS) | 80 | + ls -l ../../.bin/Release/lib |
| 81 | + $(LD) -o $@ $^ $(LIBS) $(LIB3270_LIBS) | ||
| 81 | 82 | ||
| 82 | #---[ Debug targets ]---------------------------------------------------------- | 83 | #---[ Debug targets ]---------------------------------------------------------- |
| 83 | 84 |
src/lib3270/api.h
| @@ -164,8 +164,6 @@ | @@ -164,8 +164,6 @@ | ||
| 164 | 164 | ||
| 165 | struct lib3270_state_callback; | 165 | struct lib3270_state_callback; |
| 166 | 166 | ||
| 167 | - typedef struct _h3270 H3270; | ||
| 168 | - | ||
| 169 | #include <lib3270/session.h> | 167 | #include <lib3270/session.h> |
| 170 | 168 | ||
| 171 | struct lib3270_state_callback | 169 | struct lib3270_state_callback |