[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#301266: Always advertises "Debian GNU/Linux"



My apologise, but this patch produces FTBFS due to broken command-line options
in gcc.  I'm working on a fix and will send it RSN.

> diff -ur apache2-2.0.53.old/debian/patches/007_debian_advertising apache2-2.0.53/debian/patches/007_debian_advertising
> --- apache2-2.0.53.old/debian/patches/007_debian_advertising	2005-03-24 12:19:11.000000000 +0100
> +++ apache2-2.0.53/debian/patches/007_debian_advertising	2005-03-24 12:21:57.000000000 +0100
> @@ -5,7 +5,7 @@
>       }
>       else {
>  -        ap_add_version_component(pconf, AP_SERVER_BASEVERSION " (" PLATFORM ")");
> -+        ap_add_version_component(pconf, AP_SERVER_BASEVERSION " (Debian GNU/Linux)");
> ++        ap_add_version_component(pconf, AP_SERVER_BASEVERSION " (Debian GNU/" KERNEL ")");
>       }
>   
>       /*
> diff -ur apache2-2.0.53.old/debian/rules apache2-2.0.53/debian/rules
> --- apache2-2.0.53.old/debian/rules	2005-03-24 12:19:11.000000000 +0100
> +++ apache2-2.0.53/debian/rules	2005-03-24 16:09:17.000000000 +0100
> @@ -55,7 +55,7 @@
>  		--enable-file-cache=shared --enable-cache=shared \
>  		--enable-disk-cache=shared --enable-mem-cache=shared 
>  
> -AP2_CONFLAGS = $(CFLAGS) -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall
> +AP2_CONFLAGS = $(CFLAGS) -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -DKERNEL=`uname -s | sed -e s,GNU/,,g -e s,GNU,Hurd,g`
>  #AP2_CONFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
>  AP2_LDFLAGS = -ldl -lexpat -lcrypt -ldb-4.2

-- 
 .''`.   Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `'    http://www.debian.org/ports/kfreebsd-gnu
  `-



Reply to: