tags 244162 + patch
thanks
Hi,
Here's a patch to fix this bug. I took the liberty to whip the autotools
usage into a more modern shape (though it could use some extra
improvements still); if you want to have those too, make sure you
* have automake 1.7 or above installed,
* run 'autoreconf -i' after applying the patch
Enjoy!
diff -u fkiss-0.33a.patch/fkiss.c fkiss-0.33a.patch/fkiss.c
--- fkiss-0.33a.patch/fkiss.c
+++ fkiss-0.33a.patch/fkiss.c
@@ -3051,6 +3051,11 @@
Bool button_pressed;
char msgbuf[1024];
+ /* set pgid */
+ if(setpgrp()) {
+ perror(Could not set process group id);
+ exit(EXIT_FAILURE);
+ }
/* Get user's prefered editor */
if ( (doc_command = getenv(EDITOR)) == NULL)
if ( (doc_command = getenv(VISUAL)) == NULL)
diff -u fkiss-0.33a.patch/debian/changelog fkiss-0.33a.patch/debian/changelog
--- fkiss-0.33a.patch/debian/changelog
+++ fkiss-0.33a.patch/debian/changelog
@@ -1,3 +1,15 @@
+fkiss (0.33a.patch-6) unstable; urgency=low
+
+ [ Wouter Verhelst ]
+ * Add AM_MAINTAINER_MODE to configure.in, to avoid automagically
+rebuilding configure friends. Remove autotools-dev and automake
+from build-deps (you _really_really_ do not want that running on a
+buildd host, believe me).
+ * Update Makefile.am to like more recent versions of automake.
+ * Set PGID at start of program. Closes: #244162.
+
+ -- Wouter Verhelst [EMAIL PROTECTED] Thu, 16 Mar 2006 20:22:22 +0100
+
fkiss (0.33a.patch-5) unstable; urgency=low
* Re-run autoconf to reall really get rid of xlibs-dev depends.
diff -u fkiss-0.33a.patch/debian/control fkiss-0.33a.patch/debian/control
--- fkiss-0.33a.patch/debian/control
+++ fkiss-0.33a.patch/debian/control
@@ -2,7 +2,7 @@
Section: games
Priority: optional
Maintainer: Amaya Rodrigo Sastre [EMAIL PROTECTED]
-Build-Depends: debhelper (=4), autotools-dev, automake, libx11-dev, x-dev
+Build-Depends: debhelper (=4), libx11-dev, x-dev
Standards-Version: 3.6.2.0
Package: fkiss
--- fkiss-0.33a.patch.orig/Makefile.am
+++ fkiss-0.33a.patch/Makefile.am
@@ -6,7 +6,7 @@
extern.h fkiss.h headers.h kiss.h timer.h ulaw.h version.h work.h\
grip0.xbm grip1.xbm hand0.xbm hand1.xbm icon.xbm\
coptions
-LDFLAGS = @X_LIBS@
+AM_LDFLAGS = @X_LIBS@
LDADD = -lX11
INCLUDES = [EMAIL PROTECTED]@
--- fkiss-0.33a.patch.orig/configure.in
+++ fkiss-0.33a.patch/configure.in
@@ -2,6 +2,7 @@
AC_INIT(fkiss.c)
AM_INIT_AUTOMAKE(fkiss,0.33a,notdef)
AM_CONFIG_HEADER(config.h)
+AM_MAINTAINER_MODE
dnl Checks for programs.
AC_PROG_AWK
--
Fun will now commence
-- Seven Of Nine, Ashes to Ashes, stardate 53679.4
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]