summaryrefslogtreecommitdiff
path: root/package/bitlbee/patches/patch-protocols_msn_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/bitlbee/patches/patch-protocols_msn_Makefile')
-rw-r--r--package/bitlbee/patches/patch-protocols_msn_Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/package/bitlbee/patches/patch-protocols_msn_Makefile b/package/bitlbee/patches/patch-protocols_msn_Makefile
index 8f634c5f6..2d0081117 100644
--- a/package/bitlbee/patches/patch-protocols_msn_Makefile
+++ b/package/bitlbee/patches/patch-protocols_msn_Makefile
@@ -1,19 +1,24 @@
---- bitlbee-1.2.4.orig/protocols/msn/Makefile 2009-10-17 17:26:46.000000000 +0200
-+++ bitlbee-1.2.4/protocols/msn/Makefile 2010-03-07 20:00:17.406036329 +0100
-@@ -12,7 +12,7 @@
- objects = msn.o msn_util.o ns.o passport.o sb.o tables.o
+--- bitlbee-3.0.1.orig/protocols/msn/Makefile 2010-11-24 23:44:00.000000000 +0100
++++ bitlbee-3.0.1/protocols/msn/Makefile 2011-03-03 22:41:12.000000000 +0100
+@@ -14,7 +14,7 @@ endif
+ # [SH] Program variables
+ objects = msn.o msn_util.o ns.o sb.o soap.o tables.o
- CFLAGS += -Wall
-LFLAGS += -r
+LFLAGS += -Wl,-r -nostdlib
# [SH] Phony targets
all: msn_mod.o
-@@ -38,6 +38,6 @@ $(objects): %.o: %.c
+@@ -37,10 +37,10 @@ $(objects): ../../Makefile.settings Make
+
+ $(objects): %.o: $(SRCDIR)%.c
+ @echo '*' Compiling $<
+- @$(CC) -c $(CFLAGS) $< -o $@
++ $(CC) -c $(CFLAGS) $< -o $@
msn_mod.o: $(objects)
@echo '*' Linking msn_mod.o
- @$(LD) $(LFLAGS) $(objects) -o msn_mod.o
-+ @$(CC) $(LFLAGS) $(objects) -o msn_mod.o
-
++ $(CC) $(LFLAGS) $(objects) -o msn_mod.o
+ -include .depend/*.d