summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-07-26 16:32:38 +0000
committerUlrich Müller <ulm@gentoo.org>2012-07-26 16:32:38 +0000
commita9e78591a57fa887f43ff8d33a915491e62cd44e (patch)
tree1daa0eca7657759aa0b67fffb3e8938904f824e5
parentRun paxctl only if the toolchain supports PT_PAX_FLAGS, bug 426394. (diff)
downloademacs-patches-a9e78591a57fa887f43ff8d33a915491e62cd44e.tar.gz
emacs-patches-a9e78591a57fa887f43ff8d33a915491e62cd44e.tar.bz2
emacs-patches-a9e78591a57fa887f43ff8d33a915491e62cd44e.zip
Fix building on FreeBSD.emacs-24.1-patches-4
-rw-r--r--emacs/24.1/05_all_freebsd.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/emacs/24.1/05_all_freebsd.patch b/emacs/24.1/05_all_freebsd.patch
new file mode 100644
index 0000000..8b275bc
--- /dev/null
+++ b/emacs/24.1/05_all_freebsd.patch
@@ -0,0 +1,13 @@
+--- emacs-24.1-orig/configure.in
++++ emacs-24.1/configure.in
+@@ -1009,8 +1009,8 @@
+ START_FILES='pre-crt0.o'
+ ;;
+ freebsd )
+- LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o'
+- START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o'
++ LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtn.o'
++ START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o'
+ ;;
+ gnu-linux | gnu-kfreebsd )
+ LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtn.o'