summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/libc-client/files/.mtn2git_empty0
-rw-r--r--packages/libc-client/files/quote_cctype.patch12
-rw-r--r--packages/libc-client/libc-client_2007.bb4
3 files changed, 15 insertions, 1 deletions
diff --git a/packages/libc-client/files/.mtn2git_empty b/packages/libc-client/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libc-client/files/.mtn2git_empty
diff --git a/packages/libc-client/files/quote_cctype.patch b/packages/libc-client/files/quote_cctype.patch
new file mode 100644
index 0000000000..f729ee2074
--- /dev/null
+++ b/packages/libc-client/files/quote_cctype.patch
@@ -0,0 +1,12 @@
+diff -urN imap-2007.orig/Makefile imap-2007/Makefile
+--- imap-2007.orig/Makefile 2007-12-20 23:11:10.000000000 +0100
++++ imap-2007/Makefile 2008-03-19 14:08:47.000000000 +0100
+@@ -690,7 +690,7 @@
+ @$(SH) -c '(test $(BUILDTYPE) = rebuild -o $(BUILDTYPE) = `$(CAT) OSTYPE`) || (echo Already built for `$(CAT) OSTYPE` -- you must do \"make clean\" first && exit 1)'
+ @echo Rebuilding c-client for `$(CAT) OSTYPE`...
+ @$(TOUCH) SPECIALS
+- $(CD) c-client;$(MAKE) all CC=`$(CAT) CCTYPE` \
++ $(CD) c-client;$(MAKE) all CC="`$(CAT) CCTYPE`" \
+ CFLAGS="`$(CAT) CFLAGS`" `$(CAT) SPECIALS`
+
+ rebuildclean:
diff --git a/packages/libc-client/libc-client_2007.bb b/packages/libc-client/libc-client_2007.bb
index 87035afec4..cdfeca0b2b 100644
--- a/packages/libc-client/libc-client_2007.bb
+++ b/packages/libc-client/libc-client_2007.bb
@@ -3,8 +3,10 @@ SECTION = "devel"
PRIORITY = "optional"
LICENSE = "University of Washington's Free-Fork License"
DEPENDS = "libpam openssl"
+PR = "r1"
-SRC_URI = "ftp://ftp.cac.washington.edu/imap/c-client.tar.Z"
+SRC_URI = "ftp://ftp.cac.washington.edu/imap/c-client.tar.Z \
+ file://quote_cctype.patch;patch=1"
S = "${WORKDIR}/imap-2007"