pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/emacs20 Fix x11 option build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1122b9d488bc
branches:  trunk
changeset: 621149:1122b9d488bc
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Jul 05 13:46:13 2013 +0000

description:
Fix x11 option build.

diffstat:

 editors/emacs20/distinfo         |   4 +-
 editors/emacs20/patches/patch-ab |  48 +++++++++++++++++++++++++++++----------
 2 files changed, 37 insertions(+), 15 deletions(-)

diffs (132 lines):

diff -r d72003aaa18b -r 1122b9d488bc editors/emacs20/distinfo
--- a/editors/emacs20/distinfo  Fri Jul 05 13:44:07 2013 +0000
+++ b/editors/emacs20/distinfo  Fri Jul 05 13:46:13 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.25 2012/12/11 04:54:43 dholland Exp $
+$NetBSD: distinfo,v 1.26 2013/07/05 13:46:13 ryoon Exp $
 
 SHA1 (emacs-20.7-mule-4.1b-elc.tar.gz) = 3894fb2b81bb326545f6ccc3bf0a8405c23004ff
 RMD160 (emacs-20.7-mule-4.1b-elc.tar.gz) = c675b31dafaa4321a453af9d87eddf051ee71b1f
@@ -16,7 +16,7 @@
 RMD160 (emacs20-xim-20000713.diff) = 5887a4d43ee92e8cad65d6412c9ecbce08e781da
 Size (emacs20-xim-20000713.diff) = 21296 bytes
 SHA1 (patch-aa) = 3b3fd76c058a0a46e0458338ce4c2327a238fb3d
-SHA1 (patch-ab) = ef808bd29242e1a2471103d9b66cbec56a0368b9
+SHA1 (patch-ab) = 8d44e22ef5486669a35cb14082b5cec90853299b
 SHA1 (patch-ac) = abf5971279a8d875504be4c17b8d36cb8cc24885
 SHA1 (patch-ad) = dd21028a6360ccfb442ecced4c67717f60ea78a6
 SHA1 (patch-ae) = 465c7aff1fbb23d08ff8100993041291a9502f34
diff -r d72003aaa18b -r 1122b9d488bc editors/emacs20/patches/patch-ab
--- a/editors/emacs20/patches/patch-ab  Fri Jul 05 13:44:07 2013 +0000
+++ b/editors/emacs20/patches/patch-ab  Fri Jul 05 13:46:13 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.5 2012/03/05 07:29:36 dholland Exp $
+$NetBSD: patch-ab,v 1.6 2013/07/05 13:46:13 ryoon Exp $
 
 Caution: the extra cpp checking (the three hunks containing "Should be
 one line") is manually hacked and not reflected in configure.in; do
@@ -61,7 +61,7 @@
        *-nextstep* )             opsys=nextstep ;;
        ## Otherwise, we'll fall through to the generic opsys code at the bottom.
      esac
-@@ -1916,15 +1930,21 @@ else
+@@ -1916,15 +1930,20 @@ else
    CPP="${CC-cc} -E"
    # On the NeXT, cc -E runs the code through the compiler's parser,
    # not just through cpp.
@@ -72,8 +72,7 @@
  #include "confdefs.h"
  #include <assert.h>
  Syntax Error
-+Should \\
-+be one line.
++Should be one line.
  EOF
 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 +ac_try="$ac_cpp conftest.$ac_ext >conftest2.out 2>conftest.out"
@@ -85,12 +84,18 @@
  if test -z "$ac_err"; then
    :
  else
-@@ -1938,10 +1958,14 @@ else
+@@ -1932,16 +1951,19 @@ else
+   echo "configure: failed program was:" >&5
+   cat conftest.$ac_ext >&5
+   rm -rf conftest*
+-  CPP="${CC-cc} -E -traditional-cpp"
++  CPP="${CC-cc} -E"
+   cat > conftest.$ac_ext <<EOF
+ #line 1938 "configure"
  #include "confdefs.h"
  #include <assert.h>
  Syntax Error
-+Should \\
-+be one line.
++Should be one line.
  EOF
 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 +ac_try="$ac_cpp conftest.$ac_ext >conftest2.out 2>conftest.out"
@@ -102,12 +107,11 @@
  if test -z "$ac_err"; then
    :
  else
-@@ -1955,10 +1979,14 @@ else
+@@ -1955,10 +1977,13 @@ else
  #include "confdefs.h"
  #include <assert.h>
  Syntax Error
-+Should \\
-+be one line.
++Should be one line.
  EOF
 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 +ac_try="$ac_cpp conftest.$ac_ext >conftest2.out 2>conftest.out"
@@ -119,7 +123,7 @@
  if test -z "$ac_err"; then
    :
  else
-@@ -3823,6 +3851,53 @@ else
+@@ -3823,6 +3848,53 @@ else
    echo "$ac_t""no" 1>&6
  fi
  
@@ -173,7 +177,7 @@
    LIBS="$OLDLIBS"
  fi
  
-@@ -4906,6 +4981,64 @@ EOF
+@@ -4906,6 +4978,64 @@ EOF
  
  fi
  
@@ -238,7 +242,7 @@
  # Set up the CFLAGS for real compilation, so we can substitute it.
  CFLAGS="$REAL_CFLAGS"
  
-@@ -5211,6 +5344,7 @@ s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
+@@ -5211,6 +5345,7 @@ s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
  s%@INSTALL_DATA@%$INSTALL_DATA%g
  s%@YACC@%$YACC%g
  s%@SET_MAKE@%$SET_MAKE%g
@@ -246,3 +250,21 @@
  s%@ALLOCA@%$ALLOCA%g
  s%@version@%$version%g
  s%@configuration@%$configuration%g
+@@ -5480,7 +5615,7 @@ echo creating lib-src/Makefile
+   sed -e '1,/start of cpp stuff/d'\
+       -e 's@/\*\*/#\(.*\)$@/* \1 */@' \
+       < Makefile.c > junk.c
+-  $CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c | \
++  $CPP -traditional-cpp $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c | \
+       sed -e 's/^ /   /' -e '/^#/d' -e '/^[   ]*$/d' > junk2.c
+   cat junk1.c junk2.c > Makefile.new
+   rm -f junk.c junk1.c junk2.c
+@@ -5496,7 +5631,7 @@ echo creating src/Makefile
+   sed -e '1,/start of cpp stuff/d'\
+       -e 's@/\*\*/#\(.*\)$@/* \1 */@' \
+       < Makefile.c > junk.c
+-  $CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c | \
++  $CPP -traditional-cpp $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c | \
+       sed -e 's/^ /   /' -e '/^#/d' -e '/^[   ]*$/d' > junk2.c
+   cat junk1.c junk2.c > Makefile.new
+   rm -f junk.c junk1.c junk2.c



Home | Main Index | Thread Index | Old Index