Package: goaccess
Version: 1:0.4.2-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch
*** /tmp/tmp5uzxE8
In Ubuntu, the attached patch was applied to achieve the following:
You can use this clearer patch too.
Thanks!
* Merge from debian unstable. Remaining changes:
- Fix build failure with ld --as-needed.
Thanks for considering the patch.
-- System Information:
Debian Release: squeeze/sid
APT prefers natty-updates
APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37-8-generic (SMP w/1 CPU core)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru goaccess-0.4.2/debian/patches/ld-as-needed.patch goaccess-0.4.2/debian/patches/ld-as-needed.patch
--- goaccess-0.4.2/debian/patches/ld-as-needed.patch 1970-01-01 01:00:00.000000000 +0100
+++ goaccess-0.4.2/debian/patches/ld-as-needed.patch 2011-02-02 12:15:57.000000000 +0100
@@ -0,0 +1,20 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -107,7 +107,7 @@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LDFLAGS = @LDFLAGS@
+ LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lm
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
+ MKDIR_P = @MKDIR_P@
+@@ -167,7 +167,7 @@
+ top_srcdir = @top_srcdir@
+ goaccess_SOURCES = settings.c settings.h error.c error.h alloc.h commons.c commons.h goaccess.c parser.c parser.h ui.c ui.h util.c util.h goaccess.h
+ AM_CFLAGS = -g -Wall @GLIB2_CFLAGS@
+-AM_LDFLAGS = -lm
++AM_LDFLAGS =
+ dist_man_MANS = goaccess.1
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-am
diff -Nru goaccess-0.4.2/debian/patches/series goaccess-0.4.2/debian/patches/series
--- goaccess-0.4.2/debian/patches/series 2011-01-12 11:22:36.000000000 +0100
+++ goaccess-0.4.2/debian/patches/series 2011-02-02 12:15:05.000000000 +0100
@@ -1 +1,2 @@
+ld-as-needed.patch
01-manpage