tags 522007 +patch
thanks

Patch is attatched, just add it to the dpatch series.

#! /bin/sh /usr/share/dpatch/dpatch-run
## 24_use_gnu_source_for_mpd.dpatch by  <plugw...@p10link.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: with latest glibc _GNU_SOURCE must be defined to use h_addr from
## DP: struct hostent. This patch defines it for stuff in the mpid/mpd
## DP: directory

@DPATCH@
diff -urNad mpich-1.2.7~/mpid/mpd/Makefile.in mpich-1.2.7/mpid/mpd/Makefile.in
--- mpich-1.2.7~/mpid/mpd/Makefile.in   2003-02-04 21:05:59.000000000 +0000
+++ mpich-1.2.7/mpid/mpd/Makefile.in    2009-04-05 23:41:39.000000000 +0100
@@ -16,7 +16,7 @@
 LDFLAGS          = @LDFLAGS@
 LIBS     = @LIBS@ 
 GDB       = @GDB@
-CFLAGS    = @CFLAGS@
+CFLAGS    = @CFLAGS@ -D_GNU_SOURCE
 
 C_COMPILE = ${CC} ${INCLUDES} ${CFLAGS} ${COPTIONS}
 C_LINK   = ${CLINKER} ${CFLAGS} ${COPTIONS} ${LDFLAGS}

Reply via email to