diff --git a/gpm-1.20.1-Gpm_Open.patch b/gpm-1.20.1-Gpm_Open.patch index 9449139..047fe74 100644 --- a/gpm-1.20.1-Gpm_Open.patch +++ b/gpm-1.20.1-Gpm_Open.patch @@ -9,7 +9,7 @@ gpm_report(GPM_PR_DEBUG,"VC: %d",flag); -@@ -259,6 +257,10 @@ int Gpm_Open(Gpm_Connect *conn, int flag +@@ -257,6 +257,10 @@ gpm_report(GPM_PR_ERR,"checking tty name failed"); goto err; } diff --git a/gpm-1.20.1-ceil.patch b/gpm-1.20.1-ceil.patch index 8719cd0..f2e92da 100644 --- a/gpm-1.20.1-ceil.patch +++ b/gpm-1.20.1-ceil.patch @@ -1,6 +1,7 @@ Note that GCC 4.0 will optimize ceil (constant), we therefore have to make the argument non-constant. +================================================================================ --- configure.in +++ configure.in @@ -91,6 +91,25 @@ @@ -9,7 +10,6 @@ have to make the argument non-constant. +AC_MSG_CHECKING(for ceil) +AC_TRY_LINK([#define __NO_MATH_INLINES 1 -#include + double d;], + [d = ceil(1.0*d);], + SYNLDFLAGS="" @@ -48,7 +48,7 @@ have to make the argument non-constant. # construct dependings of sourcefiles and link sourcefiles $(DEPFILE) dep: prog/gpm-root.c -@@ -154,7 +155,7 @@ +@@ -155,7 +156,7 @@ lib/libgpm.so.@abi_full@: $(PICS) $(CC) @SOLDFLAGS@libgpm.so.@abi_lev@ \ diff --git a/gpm-1.20.1-silitek.patch b/gpm-1.20.1-silitek.patch index e2d901c..725296f 100644 --- a/gpm-1.20.1-silitek.patch +++ b/gpm-1.20.1-silitek.patch @@ -257,7 +257,7 @@ PSRC = prog/mev.c prog/hltest.c prog/mouse-test.c prog/disable-paste.c -@@ -143,7 +143,7 @@ +@@ -144,7 +144,7 @@ $(CC) -I. @CPPFLAGS@ $(CPPFLAGS) @CFLAGS@ $(CFLAGS) -c -o $@.o $< $(CC) @LDFLAGS@ $(LDFLAGS) -o $@ $@.o @LIBS@ $(LIBS) lib/libgpm.a diff --git a/gpm-1.20.1.patch b/gpm-1.20.1.patch index e48f73c..9cacc21 100644 --- a/gpm-1.20.1.patch +++ b/gpm-1.20.1.patch @@ -70,7 +70,7 @@ # e.g. /var/cache/man/cat1/mev.1.gz. Deleting these is not our job, --- src/Makefile.in +++ src/Makefile.in -@@ -91,15 +91,15 @@ +@@ -91,15 +91,16 @@ installdirs: install: check @@ -88,10 +88,11 @@ - cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so ;\ + $(INSTALL_DATA) -m 755 lib/libgpm.so.@abi_full@ $(DESTDIR)$(libdir)/libgpm.so.@abi_full@ ;\ + cd $(DESTDIR)$(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so ;\ ++ cd $(DESTDIR)$(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so.@abi_lev@;\ echo "WARNING: We installed a lib, you should now call ldconfig" ; \ echo "f.i.: ldconfig -n -l $(libdir)/libgpm.so.@abi_full@" ;\ echo "Or to update everything just type ldconfig"; \ -@@ -107,7 +107,7 @@ +@@ -107,7 +108,7 @@ # prog/ for i in $(PROG); do \ diff --git a/gpm.changes b/gpm.changes index ac220a0..05336be 100644 --- a/gpm.changes +++ b/gpm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 13 14:03:56 CET 2007 - anosek@suse.cz + +- fixed libgpm.so.1 is not owned by any package [#244447] + (gpm-1.20.1.patch) + ------------------------------------------------------------------- Thu Jan 4 12:00:46 CET 2007 - anosek@suse.cz diff --git a/gpm.spec b/gpm.spec index d31bbe0..6cf348e 100644 --- a/gpm.spec +++ b/gpm.spec @@ -18,7 +18,7 @@ Provides: select PreReq: /bin/sed %insserv_prereq %fillup_prereq Autoreqprov: on Version: 1.20.1 -Release: 341 +Release: 346 Summary: Console Mouse Support Source0: http://arcana.linux.it/pub/gpm/gpm-%{version}.tar.bz2 Source1: rcgpm @@ -162,6 +162,9 @@ rm -rf $RPM_BUILD_ROOT /var/adm/fillup-templates/* %changelog -n gpm +* Tue Feb 13 2007 - anosek@suse.cz +- fixed libgpm.so.1 is not owned by any package [#244447] + (gpm-1.20.1.patch) * Thu Jan 04 2007 - anosek@suse.cz - fixed twiddler.c:334: warning: operation on 'ptr' may be undefined (warnings.patch)