Ticket #22840: dcmtk.diff

File dcmtk.diff, 1.6 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)

fix the fix

  • files/patch-config-configure.in.diff

     
    1 --- config/configure.in.orig    2005-12-14 18:33:38.000000000 +0100
    2 +++ config/configure.in 2009-12-11 02:24:52.000000000 +0100
     1--- config/configure.in.orig    2005-12-14 11:33:38.000000000 -0600
     2+++ config/configure.in 2010-07-05 17:36:10.000000000 -0500
    33@@ -492,9 +492,9 @@
    44          ;;
    55         *-*-netbsdelf2*)
     
    77-       *-*-darwin8.*)
    88-         CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CXXFLAGS"
    99-         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.*)
    1111+         CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS"
    1212+         CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CFLAGS"
    1313          ;;
     
    2020-       *-*-darwin8.*)
    2121-         CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE $CXXFLAGS"
    2222-         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.*)
    2424+         CXXFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CXXFLAGS"
    2525+         CFLAGS="-D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_DARWIN_C_SOURCE $CFLAGS"
    2626          ;;