office/gnokii: Fixed download link and added pcsc-lite 1.6.x patch.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2011-04-01 23:42:58 -04:00 committed by Robby Workman
parent 39ffc89b32
commit fa47ca4e68
3 changed files with 20 additions and 3 deletions

View file

@ -0,0 +1,14 @@
diff -rupN gnokii-0.6.29.orig/common/phones/pcsc.c gnokii-0.6.29new/common/phones/pcsc.c
--- gnokii-0.6.29.orig/common/phones/pcsc.c 2010-07-29 08:38:28.000000000 +1000
+++ gnokii-0.6.29/common/phones/pcsc.c 2010-07-29 08:51:29.000000000 +1000
@@ -199,8 +199,8 @@ static gn_error get_gn_error(PCSC_IOSTRU
case SCARD_W_UNPOWERED_CARD:
case SCARD_W_RESET_CARD:
case SCARD_W_REMOVED_CARD:
- case SCARD_W_INSERTED_CARD:
- return GN_ERR_SIMPROBLEM;
+ /* removed in pscc case SCARD_W_INSERTED_CARD:
+ return GN_ERR_SIMPROBLEM; */
case SCARD_E_NO_MEMORY:
return GN_ERR_MEMORYFULL;
case SCARD_F_WAITED_TOO_LONG:

View file

@ -28,7 +28,7 @@
PRGNAM=gnokii
VERSION=${VERSION:-0.6.29}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@ -75,6 +75,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=3dac96714fba1f06445c15e34af3a0c3ad7eb1ce
patch -p1 < $CWD/gnokii-0.6.29-pcsc.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \

View file

@ -1,10 +1,10 @@
PRGNAM="gnokii"
VERSION="0.6.29"
HOMEPAGE="http://www.gnokii.org/"
DOWNLOAD="http://www.gnokii.org/download/gnokii/gnokii-0.6.29.tar.bz2"
DOWNLOAD="http://www.gnokii.org/download/gnokii/0.6.x/gnokii-0.6.29.tar.bz2"
MD5SUM="6111e0158a1129062bda6420db67c313"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Andrzej Telszewski"
EMAIL="atelszewski@gmail.com"
APPROVED="rworkman"
APPROVED="dsomero"