the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: teknap
Version: 1.3g
Revision: 1015
Maintainer: None
Source: http://www.teknap.com/files/TekNap-%v.tar.gz
SourceDirectory: TekNap
BuildDepends: libncurses5 (>= 5.4-20041023-1006), fink (>= 0.24.12-1)
Depends: libncurses5-shlibs (>= 5.4-20041023-1006)
PatchFile: %n.patch
PatchFile-MD5: 10da052bca7a984c43771f291826902f
PatchScript: <<
%{default_script}
perl -ni.bak -e 'print unless /#if 0/../#endif/' source/irchandler.c
<<
ConfigureParams: --disable-threads --mandir=%i/share/man
InstallScript: <<
make prefix=%i install
cd %i/bin && ln -sf TekNap-1.3g TekNap;
<<
SetCFlags: -I../include -I%p/include
NoSetCPPFlags: true
DocFiles: COPYRIGHT Changelog README TODO
Description: Text napster client
Homepage: http://www.teknap.com
License: OSI-Approved
Source-MD5: 8c1bf4027d9af4767a7a060532831cc9
--- TekNap/source/scott.c.orig 2005-12-16 10:48:15.000000000 +0900
+++ TekNap/source/scott.c 2005-12-16 10:49:09.000000000 +0900
@@ -357,7 +357,9 @@
cleanup();
return;
default:
-#if 0
+#if 1
+ ;
+#else
{
char buf[20];
sprintf(buf, "%d ", cinput);
--- TekNap/source/status.c.orig 2005-12-16 10:53:18.000000000 +0900
+++ TekNap/source/status.c 2005-12-16 10:56:11.000000000 +0900
@@ -38,7 +38,7 @@
* Maximum number of "%" expressions in a status line format. If you change
* this number, you must manually change the sprintf() in make_status
*/
-#define STATUS_FUNCTION(x) static Char * ## x (Window *window, int map, int key)
+#define STATUS_FUNCTION(x) static Char * x (Window *window, int map, int key)
#define MAX_FUNCTIONS 40
#define MAX_STATUS_USER 19
--- TekNap/source/term.c.orig 2005-12-16 10:59:07.000000000 +0900
+++ TekNap/source/term.c 2005-12-16 11:01:14.000000000 +0900
@@ -88,7 +88,7 @@
#endif
extern char *getenv();
-extern char *tparm();
+extern char *tparm(char *str,...);
/*
* The old code assumed termcap. termcap is almost always present, but on
--- TekNap/include/struct.h.orig 2005-12-16 11:06:07.000000000 +0900
+++ TekNap/include/struct.h 2005-12-16 11:06:40.000000000 +0900
@@ -582,7 +582,6 @@
int delete;
} TimerList;
-extern TimerList *PendingTimers;
/* IrcVariable: structure for each variable in the variable table */
typedef struct