1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Update to version 0.14.6b

This commit is contained in:
Markus Brueffer 2006-09-14 12:26:54 +00:00
parent 6fa922027d
commit c1f8756fe4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173035
4 changed files with 16 additions and 13 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= libsynaptics
PORTVERSION= 0.14.4d
PORTVERSION= 0.14.6b
CATEGORIES= x11
MASTER_SITES= http://qsynaptics.sourceforge.net/

View File

@ -1,3 +1,3 @@
MD5 (libsynaptics-0.14.4d.tar.bz2) = 1df76861480200343d7de52237e54249
SHA256 (libsynaptics-0.14.4d.tar.bz2) = b2b7088d58fabba1d8a1be2ab21b8c8290cf91342e2d66bfe8d7ee09a299fe9d
SIZE (libsynaptics-0.14.4d.tar.bz2) = 218980
MD5 (libsynaptics-0.14.6b.tar.bz2) = 6ea2b72829df76138a9a1f03faeda438
SHA256 (libsynaptics-0.14.6b.tar.bz2) = 05fd6d067a735e0534968acdad3276a87b7180f3c118e1cb75301132357c560f
SIZE (libsynaptics-0.14.6b.tar.bz2) = 273936

View File

@ -1,6 +1,6 @@
--- pad.cpp.orig Thu Apr 27 00:53:03 2006
+++ pad.cpp Thu Apr 27 01:26:18 2006
@@ -15,11 +15,13 @@
--- pad.cpp.orig Thu Sep 14 13:51:00 2006
+++ pad.cpp Thu Sep 14 13:53:35 2006
@@ -15,12 +15,14 @@
#include "version.h"
#include <X11/Xdefs.h> // for typedef Bool
@ -8,6 +8,7 @@
#include <sys/shm.h>
#include <stdlib.h>
+#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
-static pthread_mutex_t lock;
@ -15,7 +16,7 @@
#define PAROFF( verId, par ) \
offsetof( SynShm, verId ) + offsetof( ShmSegment##verId, par )
@@ -31,7 +33,7 @@
@@ -32,7 +34,7 @@
p.max_val = max;
#define NODRIVERVER VER( 0, 0, 0 )
@ -24,7 +25,7 @@
//
@@ -81,7 +83,7 @@
@@ -82,7 +84,7 @@
mSelf = new Synaptics::Pad(); // call constructor
else
{
@ -33,7 +34,7 @@
return;
}
@@ -310,7 +312,7 @@
@@ -333,7 +335,7 @@
PadType pt = PT_NONE;
// FIXME: detection just based on the assumption that the driver will register as unknown
@ -42,7 +43,7 @@
pt = PT_UNKNOWN;
else
{
@@ -345,19 +347,19 @@
@@ -368,19 +370,19 @@
{
Param p = mSupportedDriver[ DRIVERSTR ][ param ];
@ -65,7 +66,7 @@
{
rd = *(double*)(((char*)mSynShm) + p.offset );
RETURN( rd );
@@ -376,7 +378,7 @@
@@ -399,7 +401,7 @@
{
Param p = mSupportedDriver[ DRIVERSTR ][ param ];
@ -74,7 +75,7 @@
{
if ( p.type == PT_BOOL )
(*(Bool*)(((char*)mSynShm) + p.offset)) = (Bool)v;
@@ -391,7 +393,7 @@
@@ -414,7 +416,7 @@
}
}
// instead of RETURN(void)

View File

@ -1,4 +1,6 @@
include/synaptics/Shm_0_14_4
include/synaptics/Shm_0_14_5
include/synaptics/Shm_0_14_6
include/synaptics/pad.h
include/synaptics/synaptics.h
include/synaptics/syndebug.h