tags 646147 + patch
thanks
On 2011-10-21 20:09 +0200, Sven Joachim wrote:
> Package: lie
> Version: 2.2.2+dfsg-1.1
> Severity: serious
>
> From my pbuilder log:
>
> ,----
> | gcc -ansi -c date.c
> | gcc -o Lie.exe lexer.o parser.o non-ANSI.o bigint.o binmat.o
> | creatop.o gettype.o getvalue.o init.o learn.o main.o mem.o node.o
> | onoff.o output.o poly.o sym.o print.o getl.o date.o static/*.o
> | box/*.o -lreadline -lncurses
> | /usr/bin/ld: cannot find -lncurses
> | collect2: ld returned 1 exit status
> | make[2]: *** [Lie.exe] Error 1
> `----
>
> You probably want to undo the following change to the upstream source:
>
> ,----
> | lie (2.2.2+dfsg-1) unstable; urgency=low
> | [...]
> | * Added -lncurses to the link command; -lreadline is not enough.
> | [...]
> | -- Kasper Peeters <[email protected]> Sun, 29 Apr 2006 19:07:13
> +0100
> `----
>
> since it is not correct (at least today, don't know about the situation
> 5½ years ago).
Debdiff that undoes the change to the Makefile is attached.
Cheers,
Sven
reverted:
--- lie-2.2.2+dfsg/Makefile
+++ lie-2.2.2+dfsg.orig/Makefile
@@ -88,7 +88,7 @@
$(CC) -ansi -c -o gapdate.o date.c
Lie.exe: date.o
+ $(CC) -o Lie.exe $(objects) date.o static/*.o box/*.o -lreadline
- $(CC) -o Lie.exe $(objects) date.o static/*.o box/*.o -lreadline
-lncurses
chmod g+w Lie.exe
Liegap.exe: gapdate.o
$(CC) -o Liegap.exe $(GAP_objects) gapdate.o static/*.o box/*.o
diff -u lie-2.2.2+dfsg/debian/changelog lie-2.2.2+dfsg/debian/changelog
--- lie-2.2.2+dfsg/debian/changelog
+++ lie-2.2.2+dfsg/debian/changelog
@@ -1,3 +1,10 @@
+lie (2.2.2+dfsg-1.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Do not link against ncurses (Closes: #646147).
+
+ -- Sven Joachim <[email protected]> Sun, 30 Oct 2011 21:44:13 +0100
+
lie (2.2.2+dfsg-1.1) unstable; urgency=low
* Non-maintainer upload.