aboutsummaryrefslogtreecommitdiff
path: root/www/elinks/files
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-02-16 18:44:17 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-02-16 18:44:17 +0000
commit5a3576967b3fda848384d9ba0fafd26e4a40c205 (patch)
treeddf70a7e4e26e933778be936e71708b8f0495579 /www/elinks/files
parentc99981dc58d88344a829c805ed4252d38b040a13 (diff)
downloadports-5a3576967b3fda848384d9ba0fafd26e4a40c205.tar.gz
ports-5a3576967b3fda848384d9ba0fafd26e4a40c205.zip
Notes
Diffstat (limited to 'www/elinks/files')
-rw-r--r--www/elinks/files/patch-src_cache_cache.c12
-rw-r--r--www/elinks/files/patch-src_cache_dialogs.c13
-rw-r--r--www/elinks/files/patch-src_dialogs_document.c12
-rw-r--r--www/elinks/files/patch-src_intl_gettext_Makefile25
4 files changed, 62 insertions, 0 deletions
diff --git a/www/elinks/files/patch-src_cache_cache.c b/www/elinks/files/patch-src_cache_cache.c
new file mode 100644
index 000000000000..9904b37f87d6
--- /dev/null
+++ b/www/elinks/files/patch-src_cache_cache.c
@@ -0,0 +1,12 @@
+--- src/cache/cache.c.orig Tue Feb 14 13:41:35 2006
++++ src/cache/cache.c Tue Feb 14 13:41:49 2006
+@@ -1,5 +1,9 @@
+ /* Cache subsystem */
+
++#if defined(__FreeBSD__) && __FreeBSD_version < 500000
++#define PRId64 "lld"
++#endif
++
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
diff --git a/www/elinks/files/patch-src_cache_dialogs.c b/www/elinks/files/patch-src_cache_dialogs.c
new file mode 100644
index 000000000000..42f0a4f5680e
--- /dev/null
+++ b/www/elinks/files/patch-src_cache_dialogs.c
@@ -0,0 +1,13 @@
+--- src/cache/dialogs.c.orig Tue Feb 14 13:38:58 2006
++++ src/cache/dialogs.c Tue Feb 14 13:39:53 2006
+@@ -4,6 +4,10 @@
+ #define _GNU_SOURCE /* XXX: we _WANT_ strcasestr() ! */
+ #endif
+
++#if defined(__FreeBSD__) && __FreeBSD_version < 500000
++#define PRId64 "lld"
++#endif
++
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
diff --git a/www/elinks/files/patch-src_dialogs_document.c b/www/elinks/files/patch-src_dialogs_document.c
new file mode 100644
index 000000000000..62cb76c714a3
--- /dev/null
+++ b/www/elinks/files/patch-src_dialogs_document.c
@@ -0,0 +1,12 @@
+--- src/dialogs/document.c.orig Tue Feb 14 13:42:17 2006
++++ src/dialogs/document.c Tue Feb 14 13:43:00 2006
+@@ -1,5 +1,9 @@
+ /* Information about current document and current link */
+
++#if defined(__FreeBSD__) && __FreeBSD_version < 500000
++#define PRId64 "lld"
++#endif
++
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
diff --git a/www/elinks/files/patch-src_intl_gettext_Makefile b/www/elinks/files/patch-src_intl_gettext_Makefile
new file mode 100644
index 000000000000..b046fff67e69
--- /dev/null
+++ b/www/elinks/files/patch-src_intl_gettext_Makefile
@@ -0,0 +1,25 @@
+--- src/intl/gettext/Makefile.orig Thu Feb 16 07:41:10 2006
++++ src/intl/gettext/Makefile Thu Feb 16 07:48:45 2006
+@@ -47,14 +47,12 @@
+ if test -f $(DESTDIR)$(libdir)/charset.alias; then \
+ orig=$(DESTDIR)$(libdir)/charset.alias; \
+ sed -f ref-add.sed $$orig > $$temp; \
+- $(INSTALL_DATA) $$temp $$dest; \
+ rm -f $$temp; \
+ else \
+ if test $(GLIBC21) = no; then \
+ $(MKINSTALLDIRS) $(DESTDIR)$(libdir); \
+ orig=charset.alias; \
+ sed -f ref-add.sed $$orig > $$temp; \
+- $(INSTALL_DATA) $$temp $$dest; \
+ rm -f $$temp; \
+ fi; \
+ fi; \
+@@ -65,7 +63,6 @@
+ temp=$(DESTDIR)$(localedir)/t-locale.alias; \
+ dest=$(DESTDIR)$(localedir)/locale.alias; \
+ sed -f ref-add.sed $$orig > $$temp; \
+- $(INSTALL_DATA) $$temp $$dest; \
+ rm -f $$temp; \
+ else \
+ : ; \