OBS User unknown 2007-02-15 17:13:22 +00:00 committed by Git OBS Bridge
parent 2983d978cf
commit abba76629d
6 changed files with 17 additions and 7 deletions

View File

@ -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;
}

View File

@ -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 <math.h>
+ 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@ \

View File

@ -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

View File

@ -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 \

View File

@ -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

View File

@ -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)