diff -pruN 1.23-1/debian/changelog 1.23-1ubuntu1/debian/changelog
--- 1.23-1/debian/changelog	2009-10-21 16:10:12.000000000 +0100
+++ 1.23-1ubuntu1/debian/changelog	2009-10-21 16:10:12.000000000 +0100
@@ -1,3 +1,10 @@
+libnids (1.23-1ubuntu1) karmic; urgency=low
+
+  * Change unneeded #elif to #else in src/killtcp.c to fix FTBFS with GCC 4.4
+    - Change from Debian bug 504824
+
+ -- Scott Kitterman <scott@kitterman.com>  Wed, 30 Sep 2009 00:58:36 -0400
+
 libnids (1.23-1) unstable; urgency=low
 
   * New upstream release. Closes: #474575.
diff -pruN 1.23-1/debian/control 1.23-1ubuntu1/debian/control
--- 1.23-1/debian/control	2009-10-21 16:10:12.000000000 +0100
+++ 1.23-1ubuntu1/debian/control	2009-10-21 16:10:12.000000000 +0100
@@ -1,7 +1,8 @@
 Source: libnids
 Section: libdevel
 Priority: optional
-Maintainer: Vasilis Pappas <vpappas@ics.forth.gr>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Vasilis Pappas <vpappas@ics.forth.gr>
 Build-Depends: libpcap0.8-dev, libnet1-dev (>= 1.1.2.1), debhelper (>= 5), autotools-dev, pkg-config, libglib2.0-dev
 Standards-Version: 3.8.0
 
diff -pruN 1.23-1/src/killtcp.c 1.23-1ubuntu1/src/killtcp.c
--- 1.23-1/src/killtcp.c	2006-05-08 21:05:51.000000000 +0100
+++ 1.23-1ubuntu1/src/killtcp.c	2009-10-21 16:10:12.000000000 +0100
@@ -118,6 +118,6 @@ void nids_killtcp(struct tcp_stream *a_t
     if (initialized)
 	abort();
 }
-#elif
+#else
 #error Something wrong with LIBNET_VER
 #endif
