Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2010 02:38:35 GMT
From:      Kuan-Chung Chiu <buganini@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/151484: [patch][update+unbreak] chinese/pcmanx 0.3.9
Message-ID:  <201010160238.o9G2cZsH022362@www.freebsd.org>
Resent-Message-ID: <201010160240.o9G2e6xS001413@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         151484
>Category:       ports
>Synopsis:       [patch][update+unbreak] chinese/pcmanx 0.3.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 16 02:40:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Kuan-Chung Chiu
>Release:        9.0-CURRENT
>Organization:
N/A
>Environment:
FreeBSD Elizabeth.twbbs.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r213813M: Thu Oct 14 09:30:56 CST 2010     root@Elizabeth.twbbs.org:/usr/obj/usr/src/sys/ELIZABETH  amd64

>Description:
Unbreak and update chinese/pcmanx to 0.3.9
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN pcmanx.orig/Makefile pcmanx/Makefile
--- pcmanx.orig/Makefile	2010-10-12 21:07:57.000000000 +0800
+++ pcmanx/Makefile	2010-10-13 23:02:20.000000000 +0800
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=	pcmanx
-PORTVERSION=	0.3.8
-PORTREVISION=	4
+PORTVERSION=	0.3.9
+PORTREVISION=	0
 CATEGORIES=	chinese net gnome
-MASTER_SITES=	http://pcmanx.csie.net/release/ \
-		LOCAL/chinsan
+MASTER_SITES=	http://pcmanx-gtk2.googlecode.com/svn/website/release/
 DISTNAME=	${PORTNAME}-gtk2-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
@@ -27,10 +26,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} > 900007
-BROKEN=		fails to build with new utmpx
-.endif
-
 .if !defined(WITHOUT_WGET)
 RUN_DEPENDS+=	${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
 CONFIGURE_ARGS+=--enable-wget
diff -ruN pcmanx.orig/distinfo pcmanx/distinfo
--- pcmanx.orig/distinfo	2010-10-12 21:07:57.000000000 +0800
+++ pcmanx/distinfo	2010-10-13 23:02:20.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (pcmanx-gtk2-0.3.8.tar.bz2) = 95f1d74e7cd130f4f146444ffa91d1fc
-SHA256 (pcmanx-gtk2-0.3.8.tar.bz2) = ae631081c02a1d4b9c058f55e665d4328fe38df78ad1f078c35e6d0d56f2dd75
-SIZE (pcmanx-gtk2-0.3.8.tar.bz2) = 514098
+MD5 (pcmanx-gtk2-0.3.9.tar.bz2) = 45d3853bba52982d80983ccea5527177
+SHA256 (pcmanx-gtk2-0.3.9.tar.bz2) = 774fb06b48ac773243ce57b87eba4429f4cb05ef1febb87ee489ea6d7c3937b3
+SIZE (pcmanx-gtk2-0.3.9.tar.bz2) = 485014
diff -ruN pcmanx.orig/files/patch-src-core-pcmanx_utils.h pcmanx/files/patch-src-core-pcmanx_utils.h
--- pcmanx.orig/files/patch-src-core-pcmanx_utils.h	1970-01-01 08:00:00.000000000 +0800
+++ pcmanx/files/patch-src-core-pcmanx_utils.h	2010-10-13 23:02:20.000000000 +0800
@@ -0,0 +1,10 @@
+--- src/core/pcmanx_utils.h.orig	2010-10-12 21:10:55.000000000 +0800
++++ src/core/pcmanx_utils.h	2010-10-12 21:11:00.000000000 +0800
+@@ -5,7 +5,6 @@
+ #include <config.h>
+ #endif
+ 
+-#include <bits/wordsize.h>
+ #if __WORDSIZE == 64
+ typedef unsigned long int word_t;
+ #else
diff -ruN pcmanx.orig/files/patch-src-view-telnetcon.cpp pcmanx/files/patch-src-view-telnetcon.cpp
--- pcmanx.orig/files/patch-src-view-telnetcon.cpp	1970-01-01 08:00:00.000000000 +0800
+++ pcmanx/files/patch-src-view-telnetcon.cpp	2010-10-13 23:02:20.000000000 +0800
@@ -0,0 +1,10 @@
+--- src/view/telnetcon.cpp.orig	2010-10-12 21:12:03.000000000 +0800
++++ src/view/telnetcon.cpp	2010-10-12 21:12:09.000000000 +0800
+@@ -72,7 +72,6 @@
+ #ifdef USING_LINUX
+ #include <pty.h>
+ #endif
+-#include <utmp.h>
+ 
+ #include <signal.h>
+ #include <sys/wait.h>
diff -ruN pcmanx.orig/pkg-descr pcmanx/pkg-descr
--- pcmanx.orig/pkg-descr	2010-10-12 21:07:57.000000000 +0800
+++ pcmanx/pkg-descr	2010-10-13 23:02:20.000000000 +0800
@@ -1,3 +1,3 @@
 PCManX is a BBS client for X Window System using GTK+ 2.x.
 
-WWW: http://pcmanx.csie.net/
+WWW: http://code.google.com/p/pcmanx-gtk2/
diff -ruN pcmanx.orig/pkg-plist pcmanx/pkg-plist
--- pcmanx.orig/pkg-plist	2010-10-12 21:07:57.000000000 +0800
+++ pcmanx/pkg-plist	2010-10-13 23:03:08.000000000 +0800
@@ -2,19 +2,19 @@
 lib/libpcmanx_core.la
 lib/libpcmanx_core.so
 lib/libpcmanx_core.so.3
-%%NLS%%share/locale/zh_TW/LC_MESSAGES/pcmanx.mo
+share/applications/pcmanx.desktop
+share/pixmaps/pcmanx.png
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/pcmanx.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/pcmanx.mo
 %%DATADIR%%/emoticons
-%%DATADIR%%/sitelist
 %%DATADIR%%/nancy_bot/default.conf
 %%DATADIR%%/nancy_bot/default_msg.data
 %%DATADIR%%/nancy_bot/default_usages.data
 %%DATADIR%%/nancy_bot/example.conf
 %%DATADIR%%/nancy_bot/example_msg.data
 %%DATADIR%%/nancy_bot/example_usages.data
-share/applications/pcmanx.desktop
-share/pixmaps/pcmanx.png
-@dirrmtry share/applications
-@dirrmtry %%DATADIR%%/nancy_bot
+%%DATADIR%%/sitelist
 @dirrmtry %%DATADIR%%/script
-@dirrm %%DATADIR%%
+@dirrmtry %%DATADIR%%/nancy_bot
+@dirrmtry %%DATADIR%%
+@dirrmtry share/applications


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010160238.o9G2cZsH022362>