pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/emacs20/files Fix build with gcc41 on DragonFl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65b88cebebf2
branches:  trunk
changeset: 543996:65b88cebebf2
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Jul 01 13:22:06 2008 +0000

description:
Fix build with gcc41 on DragonFly BSD.
emacs20 part of PR pkg/38633 from Hasso Tepper.

diffstat:

 editors/emacs20/files/dragonfly.h |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 0370e6e1ba00 -r 65b88cebebf2 editors/emacs20/files/dragonfly.h
--- a/editors/emacs20/files/dragonfly.h Tue Jul 01 09:23:32 2008 +0000
+++ b/editors/emacs20/files/dragonfly.h Tue Jul 01 13:22:06 2008 +0000
@@ -49,6 +49,9 @@
 #define START_FILES pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o
 #define LIB_STANDARD -L/usr/lib/gcc34 -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
 #  endif
+#elif defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ == 1
+#define START_FILES pre-crt0.o /usr/lib/gcc41/crt1.o /usr/lib/gcc41/crti.o /usr/lib/gcc41/crtbegin.o
+#define LIB_STANDARD -L/usr/lib/gcc41 -lgcc -lc -lgcc /usr/lib/gcc41/crtend.o /usr/lib/gcc41/crtn.o
 #else
 #error "Add compiler version magic"
 #endif



Home | Main Index | Thread Index | Old Index