tags 518439 squeeze sid patch
This issue does not affect lenny. It does not presently affect squeeze
but probablly does need to be fixed for squeeze (since it will probablly
affect it once the new glibc gets in).
Patch is attatched.
diff -ur tetradraw-2.0.3/debian/rules tetradraw-2.0.3.new/debian/rules
--- tetradraw-2.0.3/debian/rules 2009-03-06 17:37:35.000000000 +0000
+++ tetradraw-2.0.3.new/debian/rules 2009-03-06 17:32:14.000000000 +0000
@@ -16,6 +16,10 @@
else
CFLAGS += -O2
endif
+
+#needed for h_addr in struct hostent
+CFLAGS += -D_GNU_SOURCE
+
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif