--- Makefile.orig 2007-11-12 15:39:03.000000000 +0100 +++ Makefile 2007-11-12 15:46:47.000000000 +0100 @@ -35,10 +35,6 @@ .include -.if ${OSVERSION} >= 700042 -BROKEN= Does not compile with GCC 4.2 -.endif - .if ${HAVE_GNOME:Mgtk12}!="" USE_GNOME+= gtk12 CONFIGURE_ARGS+=--with-gtk @@ -67,7 +63,7 @@ post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/TekNap - ${TAR} --directory ${WRKSRC}/teknap-help -cf - . --exclude CVS | \ + ${TAR} --directory ${WRKSRC}/teknap-help -cf - . | \ ${TAR} --directory ${PREFIX}/share/TekNap/help -xf - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/TekNap @${ECHO} --- /dev/null 2007-11-12 15:47:50.000000000 +0100 +++ files/patch-source_share.c 2007-11-12 15:45:30.000000000 +0100 @@ -0,0 +1,11 @@ +--- source/share.c.orig 2007-11-12 15:41:18.000000000 +0100 ++++ source/share.c 2007-11-12 15:43:42.000000000 +0100 +@@ -38,7 +38,7 @@ + + static pthread_mutex_t quit_mutex = PTHREAD_MUTEX_INITIALIZER; + +-static pthread_mutex_t fserv_struct_mutex = PTHREAD_MUTEX_INITIALIZER; ++pthread_mutex_t fserv_struct_mutex = PTHREAD_MUTEX_INITIALIZER; + pthread_mutex_t shared_count_mutex = PTHREAD_MUTEX_INITIALIZER; + static void share_thread_signal_setup(void); + --- /dev/null 2007-11-12 15:47:50.000000000 +0100 +++ files/patch-source_timer.c 2007-11-12 15:45:44.000000000 +0100 @@ -0,0 +1,11 @@ +--- source/timer.c.orig 2007-11-12 15:43:52.000000000 +0100 ++++ source/timer.c 2007-11-12 15:44:47.000000000 +0100 +@@ -145,7 +145,7 @@ + * This is put here on purpose -- we dont want any of the above functions + * to have any knowledge of this struct. + */ +-static TimerList *PendingTimers; ++TimerList *PendingTimers; + static char *schedule_timer (TimerList *ntimer); + + static char *current_exec_timer = empty_string;