ports/126267: [patch] Upgrade net-im/amsn to 0.97.2
Gavin Atkinson
gavin at FreeBSD.org
Tue Aug 5 11:10:02 UTC 2008
>Number: 126267
>Category: ports
>Synopsis: [patch] Upgrade net-im/amsn to 0.97.2
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 05 11:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Gavin Atkinson
>Release: FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 7.0-STABLE FreeBSD 7.0-STABLE #34: Sat Apr 12 11:52:18 UTC 2008 simon at freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386
>Description:
net-im/amsn no longer works for me, apparently due to a MSN protocol
change. AMSN 0.97.2 has recently been released which fixes the issue. Here's
an update to the port
>How-To-Repeat:
Try using the port
>Fix:
Apply the following patch.
Note also that files/patch-Makefile.in can be cvs rm'd - these changes seem to
have been incorporated upstream already.
--- amsn-0.97.2.diff begins here ---
Index: ports/net-im/amsn/Makefile
===================================================================
RCS file: /home/pcvs/ports/net-im/amsn/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- ports/net-im/amsn/Makefile 6 Jun 2008 13:51:41 -0000 1.34
+++ ports/net-im/amsn/Makefile 5 Aug 2008 10:46:10 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= amsn
-PORTVERSION= 0.97
+PORTVERSION= 0.97.2
PORTREVISION= 1
CATEGORIES= net-im
MASTER_SITES= SF
Index: ports/net-im/amsn/distinfo
===================================================================
RCS file: /home/pcvs/ports/net-im/amsn/distinfo,v
retrieving revision 1.14
diff -u -r1.14 distinfo
--- ports/net-im/amsn/distinfo 27 Feb 2008 20:09:04 -0000 1.14
+++ ports/net-im/amsn/distinfo 5 Aug 2008 10:46:10 -0000
@@ -1,3 +1,3 @@
-MD5 (amsn-0.97.tar.bz2) = 493627afc2dc38d94500499e9ec34404
-SHA256 (amsn-0.97.tar.bz2) = 8493d509364ac3825b106b3f38c6b1f096286ce87bf4e5871ac01a2c43b0ef48
-SIZE (amsn-0.97.tar.bz2) = 10131843
+MD5 (amsn-0.97.2.tar.bz2) = 6c494d97b5ab810f1b265ef19bf652b0
+SHA256 (amsn-0.97.2.tar.bz2) = 1026b99a112f840c14b30c161895ac8b6b1b613c9d955eddb07c56d738b8b80b
+SIZE (amsn-0.97.2.tar.bz2) = 3431430
Index: ports/net-im/amsn/files/patch-configure
===================================================================
RCS file: /home/pcvs/ports/net-im/amsn/files/patch-configure,v
retrieving revision 1.2
diff -u -r1.2 patch-configure
--- ports/net-im/amsn/files/patch-configure 26 Jan 2008 03:12:25 -0000 1.2
+++ ports/net-im/amsn/files/patch-configure 5 Aug 2008 10:52:20 -0000
@@ -1,7 +1,7 @@
---- configure.orig Wed Nov 1 09:05:49 2006
-+++ configure Wed Nov 7 13:03:49 2007
-@@ -1334,7 +1334,7 @@
- fi;
+--- ./configure.orig 2008-07-25 15:47:03.000000000 +0100
++++ ./configure 2008-08-05 11:51:42.000000000 +0100
+@@ -1850,7 +1850,7 @@
+ fi
-if test "$enable_debug" == "yes" ; then
@@ -9,8 +9,8 @@
DEBUG="yes"
else
DEBUG="no"
-@@ -1347,7 +1347,7 @@
- fi;
+@@ -1865,7 +1865,7 @@
+ fi
-if test "$enable_static" == "yes" ; then
@@ -18,47 +18,44 @@
STATIC="yes"
else
STATIC="no"
-@@ -1472,7 +1472,7 @@
+@@ -2008,7 +2008,7 @@
fi
-TCLSH=`which tclsh`
+TCLSH=`which tclsh8.4`
VERSION=`echo "puts $::tcl_version ; exit" | ${TCLSH}`
- # Check whether --enable-version-check or --disable-version-check was given.
+ # Check whether --enable-version-check was given.
if test "${enable_version_check+set}" = set; then
-@@ -1484,7 +1484,7 @@
+@@ -2020,7 +2020,7 @@
OLDV=`expr $VERSION \< 8.4`
-if test "x${version_ok}" == "xyes" -a $OLDV == 1; then
-+if test "x${version_ok}" = "xyes" -a "$OLDV" = "1"; then
- { { echo "$as_me:$LINENO: error: Your current Tcl/Tk installation has a version number of $VERSION. The minimal version required for aMSN to run is Tcl/Tk 8.4" >&5
- echo "$as_me: error: Your current Tcl/Tk installation has a version number of $VERSION. The minimal version required for aMSN to run is Tcl/Tk 8.4" >&2;}
++if test "x${version_ok}" = "xyes" -a $OLDV = 1; then
+ { { $as_echo "$as_me:$LINENO: error: Your current Tcl/Tk installation has a version number of $VERSION. The minimal version required for aMSN to run is Tcl/Tk 8.4" >&5
+ $as_echo "$as_me: error: Your current Tcl/Tk installation has a version number of $VERSION. The minimal version required for aMSN to run is Tcl/Tk 8.4" >&2;}
{ (exit 1); exit 1; }; }
-@@ -2425,7 +2425,7 @@
+@@ -2962,7 +2962,7 @@
CC_INSTALLED=`which $CC`
-if test "x${CC_INSTALLED}" == "x"; then
+if test "x${CC_INSTALLED}" = "x"; then
- { { echo "$as_me:$LINENO: error: You need a C compiler (gcc) to compiler aMSN. Please install gcc and try again" >&5
- echo "$as_me: error: You need a C compiler (gcc) to compiler aMSN. Please install gcc and try again" >&2;}
+ { { $as_echo "$as_me:$LINENO: error: You need a C compiler (gcc) to compiler aMSN. Please install gcc and try again" >&5
+ $as_echo "$as_me: error: You need a C compiler (gcc) to compiler aMSN. Please install gcc and try again" >&2;}
{ (exit 1); exit 1; }; }
-@@ -2788,7 +2788,7 @@
+@@ -3346,7 +3346,7 @@
CXX_INSTALLED=`which $CXX`
-if test "x${CXX_INSTALLED}" == "x"; then
+if test "x${CXX_INSTALLED}" = "x"; then
- { { echo "$as_me:$LINENO: error: You need a C++ compiler (g++) to compiler aMSN. Please install g++ and try again" >&5
- echo "$as_me: error: You need a C++ compiler (g++) to compiler aMSN. Please install g++ and try again" >&2;}
+ { { $as_echo "$as_me:$LINENO: error: You need a C++ compiler (g++) to compiler aMSN. Please install g++ and try again" >&5
+ $as_echo "$as_me: error: You need a C++ compiler (g++) to compiler aMSN. Please install g++ and try again" >&2;}
{ (exit 1); exit 1; }; }
-@@ -2864,10 +2864,9 @@
- if test "x${version_ok}" != "xyes"; then
- VERSION=${TCL_VERSION}
- fi
--
+@@ -3425,7 +3425,7 @@
+
if test "x${TCL_INC_DIR}" != "x" -o "x${TCL_INC_SPEC}" != "x" \
-o "x${TCL_INCLUDE_DIR}" != "x" -o "x${TCL_INCLUDE_SPEC}" != "x"; then
- if test "x${TCL_VERSION}" == "x${VERSION}" ; then
@@ -66,7 +63,7 @@
TCL_LIB_DIR=`cd $i; pwd`
break;
fi
-@@ -2924,15 +2923,15 @@
+@@ -3482,15 +3482,15 @@
TCL_INC_DIR=$TCL_INCLUDE_SPEC
fi
@@ -82,10 +79,10 @@
- if test "x${TCL_INC_DIR}" == "x"; then
+ if test "x${TCL_INC_DIR}" = "x"; then
- { { echo "$as_me:$LINENO: error: You dot not have a devel package of Tcl" >&5
- echo "$as_me: error: You dot not have a devel package of Tcl" >&2;}
+ { { $as_echo "$as_me:$LINENO: error: You dot not have a devel package of Tcl" >&5
+ $as_echo "$as_me: error: You dot not have a devel package of Tcl" >&2;}
{ (exit 1); exit 1; }; }
-@@ -2946,7 +2945,7 @@
+@@ -3504,7 +3504,7 @@
TCL_INC_SPEC=$TCL_INC_DIR
framework=`echo "${TCL_BASE}" | grep -- "-framework"`
@@ -94,7 +91,7 @@
TCL_LIB_SPEC="-L${TCL_LIB_DIR} -l${TCL_BASE}"
fi
TCL_STUB_LIB_SPEC="-L${TCL_LIB_DIR} -l${TCL_STUB_BASE}"
-@@ -3016,7 +3015,7 @@
+@@ -3575,7 +3575,7 @@
if test "x${TK_INC_DIR}" != "x" -o "x${TK_INC_SPEC}" != "x" \
-o "x${TK_INCLUDE_DIR}" != "x" -o "x${TK_INCLUDE_SPEC}" != "x"; then
@@ -103,7 +100,7 @@
TK_LIB_DIR=`cd $i; pwd`
break;
fi
-@@ -3060,19 +3059,19 @@
+@@ -3619,19 +3619,19 @@
TK_INC_DIR=$TK_INC_SPEC
fi
@@ -126,11 +123,11 @@
- if test "x${TK_INC_DIR}" == "x"; then
+ if test "x${TK_INC_DIR}" = "x"; then
- { { echo "$as_me:$LINENO: error: You dot not have a devel package of Tk" >&5
- echo "$as_me: error: You dot not have a devel package of Tk" >&2;}
+ { { $as_echo "$as_me:$LINENO: error: You dot not have a devel package of Tk" >&5
+ $as_echo "$as_me: error: You dot not have a devel package of Tk" >&2;}
{ (exit 1); exit 1; }; }
-@@ -3186,7 +3185,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -3748,7 +3748,7 @@
+ $as_echo_n "(cached) " >&6
else
# Double quotes because CPP needs to be expanded
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
@@ -138,5 +135,3 @@
do
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
-
-
--- amsn-0.97.2.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list