summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-07-05 13:46:13 +0000
committerryoon <ryoon@pkgsrc.org>2013-07-05 13:46:13 +0000
commit12dd83ca68748c43cabf062fde6117c5ba6c791a (patch)
treee4197697ac489660b01db22fd3d785b42a5bfba9 /editors
parentd1e313a33ee2f4ca9ceb881a306a8d9168c325ee (diff)
downloadpkgsrc-12dd83ca68748c43cabf062fde6117c5ba6c791a.tar.gz
Fix x11 option build.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs20/distinfo4
-rw-r--r--editors/emacs20/patches/patch-ab48
2 files changed, 37 insertions, 15 deletions
diff --git a/editors/emacs20/distinfo b/editors/emacs20/distinfo
index 32e1bdc273a..e798ab9706d 100644
--- a/editors/emacs20/distinfo
+++ b/editors/emacs20/distinfo
@@ -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 @@ SHA1 (emacs20-xim-20000713.diff) = 5bed39e7b8a52941f77088529566aaa3bcf06670
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 --git a/editors/emacs20/patches/patch-ab b/editors/emacs20/patches/patch-ab
index d74b77063a8..7cf0508ef65 100644
--- a/editors/emacs20/patches/patch-ab
+++ b/editors/emacs20/patches/patch-ab
@@ -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 @@ started doing regrettable things with backslash-escaped newlines.
*-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 @@ started doing regrettable things with backslash-escaped newlines.
#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 @@ started doing regrettable things with backslash-escaped newlines.
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 @@ started doing regrettable things with backslash-escaped newlines.
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 @@ started doing regrettable things with backslash-escaped newlines.
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 @@ started doing regrettable things with backslash-escaped newlines.
LIBS="$OLDLIBS"
fi
-@@ -4906,6 +4981,64 @@ EOF
+@@ -4906,6 +4978,64 @@ EOF
fi
@@ -238,7 +242,7 @@ started doing regrettable things with backslash-escaped newlines.
# 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 @@ started doing regrettable things with backslash-escaped newlines.
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