summaryrefslogtreecommitdiff
path: root/packages/curl
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/curl
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/curl')
-rw-r--r--packages/curl/.mtn2git_empty0
-rw-r--r--packages/curl/curl-7.12.2/.mtn2git_empty0
-rw-r--r--packages/curl/curl-7.12.2/m4.patch53
-rw-r--r--packages/curl/curl-7.12.2/pkgconfig.patch47
-rw-r--r--packages/curl/files/.mtn2git_empty0
-rw-r--r--packages/curl/files/uclibc.patch15
6 files changed, 115 insertions, 0 deletions
diff --git a/packages/curl/.mtn2git_empty b/packages/curl/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/curl/.mtn2git_empty
diff --git a/packages/curl/curl-7.12.2/.mtn2git_empty b/packages/curl/curl-7.12.2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/curl/curl-7.12.2/.mtn2git_empty
diff --git a/packages/curl/curl-7.12.2/m4.patch b/packages/curl/curl-7.12.2/m4.patch
index e69de29bb2..c9a9eec28d 100644
--- a/packages/curl/curl-7.12.2/m4.patch
+++ b/packages/curl/curl-7.12.2/m4.patch
@@ -0,0 +1,53 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- curl-7.12.0/acinclude.m4~m4 2004-05-07 20:29:02.000000000 +0200
++++ curl-7.12.0/acinclude.m4 2004-06-07 19:03:47.000000000 +0200
+@@ -409,45 +409,7 @@
+
+ dnl determine if this strerror_r() is glibc or POSIX
+ AC_MSG_CHECKING([for a glibc strerror_r API])
+- AC_TRY_RUN([
+-#include <string.h>
+-#include <errno.h>
+-int
+-main () {
+- char buffer[1024]; /* big enough to play with */
+- char *string =
+- strerror_r(EACCES, buffer, sizeof(buffer));
+- /* this should've returned a string */
+- if(!string || !string[0])
+- return 99;
+- return 0;
+-}
+-],
+- AC_DEFINE(HAVE_GLIBC_STRERROR_R, 1, [we have a glibc-style strerror_r()])
+- AC_MSG_RESULT([yes]),
+- AC_MSG_RESULT([no])
+- )
+-
+ AC_MSG_CHECKING([for a POSIX strerror_r API])
+- AC_TRY_RUN([
+-#include <string.h>
+-#include <errno.h>
+-int
+-main () {
+- char buffer[1024]; /* big enough to play with */
+- int error =
+- strerror_r(EACCES, buffer, sizeof(buffer));
+- /* This should've returned zero, and written an error string in the
+- buffer.*/
+- if(!buffer[0] || error)
+- return 99;
+- return 0;
+-}
+-],
+- AC_DEFINE(HAVE_POSIX_STRERROR_R, 1, [we have a POSIX-style strerror_r()])
+- AC_MSG_RESULT([yes]),
+- AC_MSG_RESULT([no])
+- )
+
+ fi
+
diff --git a/packages/curl/curl-7.12.2/pkgconfig.patch b/packages/curl/curl-7.12.2/pkgconfig.patch
index e69de29bb2..da62b4e44d 100644
--- a/packages/curl/curl-7.12.2/pkgconfig.patch
+++ b/packages/curl/curl-7.12.2/pkgconfig.patch
@@ -0,0 +1,47 @@
+--- tmp/work/curl-7.12.0-r0/curl-7.12.0/configure.ac 2004-05-25 16:43:39.000000000 -0500
++++ curl-7.12.0/configure.ac 2004-07-15 18:13:18.000000000 -0500
+@@ -1389,7 +1389,8 @@
+ packages/EPM/curl.list \
+ packages/EPM/Makefile \
+ packages/vms/Makefile \
+- curl-config
++ curl-config \
++ curl.pc
+ ])
+ AC_OUTPUT
+
+--- tmp/work/curl-7.12.0-r0/curl-7.12.0/Makefile.am 2004-05-17 16:41:02.000000000 -0500
++++ curl-7.12.0/Makefile.am 2004-07-15 18:10:32.000000000 -0500
+@@ -24,10 +24,16 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ EXTRA_DIST = CHANGES COPYING maketgz reconf Makefile.dist \
+- curl-config.in curl-style.el sample.emacs testcurl.sh RELEASE-NOTES
++ curl-config.in curl-style.el sample.emacs testcurl.sh RELEASE-NOTES \
++ curl.pc.in
+
+ bin_SCRIPTS = curl-config
+
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = curl.pc
++
++$(pkgconfig_DATA): config.status
++
+ SUBDIRS = lib src
+ DIST_SUBDIRS = $(SUBDIRS) tests include packages docs
+
+--- tmp/work/curl-7.12.0-r0/curl-7.12.0/curl.pc.in 1969-12-31 18:00:00.000000000 -0600
++++ curl-7.12.0/curl.pc.in 2004-07-15 18:09:14.000000000 -0500
+@@ -0,0 +1,12 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++versionnum=@VERSIONNUM@
++features=@FEATURES@
++
++Name: curl
++Description: a library that groks URLs
++Version: @VERSION@
++Libs: -L${libdir} -lcurl @LDFLAGS@ @LIBS@
++Cflags: -I${includedir}
diff --git a/packages/curl/files/.mtn2git_empty b/packages/curl/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/curl/files/.mtn2git_empty
diff --git a/packages/curl/files/uclibc.patch b/packages/curl/files/uclibc.patch
index e69de29bb2..15a9012705 100644
--- a/packages/curl/files/uclibc.patch
+++ b/packages/curl/files/uclibc.patch
@@ -0,0 +1,15 @@
+Index: curl-7.12.2/lib/mprintf.c
+===================================================================
+--- curl-7.12.2.orig/lib/mprintf.c 2004-06-24 07:54:11.000000000 -0400
++++ curl-7.12.2/lib/mprintf.c 2005-02-02 17:15:45.435748600 -0500
+@@ -1134,8 +1134,10 @@
+ }
+
+ #ifndef WIN32 /* not needed on win32 */
++#ifndef __UCLIBC__ /* not needed for uclibc, and breaks the build */
+ extern int fputc(int, FILE *);
+ #endif
++#endif
+
+ int curl_mprintf(const char *format, ...)
+ {