aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/mldonkey-devel/files
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-04-17 07:39:33 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-04-17 07:39:33 +0000
commit2fb4cdb284d8ebe4823812e64e1d39613b58a0a7 (patch)
tree7ee3fcf53bea515f5846eb47be50f26472695f4d /net-p2p/mldonkey-devel/files
parenta509198e85b07e08334affb103a888d6ce5cc17b (diff)
downloadports-2fb4cdb284d8ebe4823812e64e1d39613b58a0a7.tar.gz
ports-2fb4cdb284d8ebe4823812e64e1d39613b58a0a7.zip
Notes
Diffstat (limited to 'net-p2p/mldonkey-devel/files')
-rw-r--r--net-p2p/mldonkey-devel/files/patch-Makefile13
-rw-r--r--net-p2p/mldonkey-devel/files/patch-src::utils::lib::charsetstubs.c13
2 files changed, 24 insertions, 2 deletions
diff --git a/net-p2p/mldonkey-devel/files/patch-Makefile b/net-p2p/mldonkey-devel/files/patch-Makefile
index 70a82ad39143..aa3b48d869b4 100644
--- a/net-p2p/mldonkey-devel/files/patch-Makefile
+++ b/net-p2p/mldonkey-devel/files/patch-Makefile
@@ -1,5 +1,14 @@
---- config/Makefile.in.orig Wed Sep 8 22:54:44 2004
-+++ config/Makefile.in Wed Sep 8 22:54:54 2004
+--- config/Makefile.in.orig Wed Apr 13 18:52:02 2005
++++ config/Makefile.in Sun Apr 17 00:44:57 2005
+@@ -150,7 +150,7 @@
+ endif
+
+ ifneq ("$(ICONV_LIB)", "")
+- LIBS_flags += -cclib "$(ICONV_LIB)"
++ LIBS_flags += -ccopt "-I%%LOCALBASE%%/include" -ccopt "-L%%LOCALBASE%%/lib" -cclib "$(ICONV_LIB)"
+ endif
+
+ ifeq ("$(BROOSNET)", "yes")
@@ -280,7 +280,7 @@
all: Makefile config/Makefile.config $(TARGET_TYPE)
diff --git a/net-p2p/mldonkey-devel/files/patch-src::utils::lib::charsetstubs.c b/net-p2p/mldonkey-devel/files/patch-src::utils::lib::charsetstubs.c
new file mode 100644
index 000000000000..dc9871989d61
--- /dev/null
+++ b/net-p2p/mldonkey-devel/files/patch-src::utils::lib::charsetstubs.c
@@ -0,0 +1,13 @@
+--- src/utils/lib/charsetstubs.c.orig Sun Apr 17 04:11:30 2005
++++ src/utils/lib/charsetstubs.c Sun Apr 17 04:14:49 2005
+@@ -44,6 +44,10 @@
+ #endif
+ #include <iconv.h>
+
++#ifdef __FreeBSD__
++#include <locale.h>
++#endif
++
+ #ifdef WIN32
+ #define STRICT /* Strict typing, please */
+ #include <windows.h>