summaryrefslogtreecommitdiff
path: root/package/bitlbee/patches/patch-protocols_yahoo_Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-03-23 07:42:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-03-23 07:42:41 +0100
commite3871e103e6f9bf305c8ce2550afb8a23870fac1 (patch)
tree0f0e6b333d944444290a95ea3129e13a4215812c /package/bitlbee/patches/patch-protocols_yahoo_Makefile
parent5266f7d3302b67b349213c8870f8872e2fd1951c (diff)
parent3c8b938f0391f377d91a62236dfe4a3744f81185 (diff)
Merge branch 'master' of git+ssh://wbx@openadk.org/git/openadk
Diffstat (limited to 'package/bitlbee/patches/patch-protocols_yahoo_Makefile')
-rw-r--r--package/bitlbee/patches/patch-protocols_yahoo_Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/bitlbee/patches/patch-protocols_yahoo_Makefile b/package/bitlbee/patches/patch-protocols_yahoo_Makefile
new file mode 100644
index 000000000..4df3cc046
--- /dev/null
+++ b/package/bitlbee/patches/patch-protocols_yahoo_Makefile
@@ -0,0 +1,17 @@
+--- bitlbee-1.2.4.orig/protocols/yahoo/Makefile 2009-10-17 17:26:46.000000000 +0200
++++ bitlbee-1.2.4/protocols/yahoo/Makefile 2010-03-07 20:01:11.066203660 +0100
+@@ -12,7 +12,7 @@
+ objects = yahoo.o crypt.o libyahoo2.o yahoo_fn.o yahoo_httplib.o yahoo_util.o
+
+ CFLAGS += -Wall -DSTDC_HEADERS -DHAVE_STRING_H -DHAVE_STRCHR -DHAVE_MEMCPY -DHAVE_GLIB
+-LFLAGS += -r
++LFLAGS += -Wl,-r -nostdlib
+
+ # [SH] Phony targets
+ all: yahoo_mod.o
+@@ -38,4 +38,4 @@ $(objects): %.o: %.c
+
+ yahoo_mod.o: $(objects)
+ @echo '*' Linking yahoo_mod.o
+- @$(LD) $(LFLAGS) $(objects) -o yahoo_mod.o
++ @$(CC) $(LFLAGS) $(objects) -o yahoo_mod.o