Ticket #22840: dcmtk.diff
File dcmtk.diff, 1.6 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
files/patch-config-configure.in.diff
1 --- config/configure.in.orig 2005-12-14 1 8:33:38.000000000 +01002 +++ config/configure.in 20 09-12-11 02:24:52.000000000 +01001 --- config/configure.in.orig 2005-12-14 11:33:38.000000000 -0600 2 +++ config/configure.in 2010-07-05 17:36:10.000000000 -0500 3 3 @@ -492,9 +492,9 @@ 4 4 ;; 5 5 *-*-netbsdelf2*) … … 7 7 - *-*-darwin8.*) 8 8 - CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CXXFLAGS" 9 9 - CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CFLAGS" 10 + *-*-darwin[ 8-9].*|*-*-darwin10.*)10 + *-*-darwin[[8-9]].*|*-*-darwin10.*) 11 11 + CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS" 12 12 + CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CFLAGS" 13 13 ;; … … 20 20 - *-*-darwin8.*) 21 21 - CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CXXFLAGS" 22 22 - CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CFLAGS" 23 + *-*-darwin[ 8-9].*|*-*-darwin10.*)23 + *-*-darwin[[8-9]].*|*-*-darwin10.*) 24 24 + CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS" 25 25 + CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CFLAGS" 26 26 ;;