Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
alpine
aports
Commits
da07e62d
Commit
da07e62d
authored
Jun 29, 2011
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/xmlrpc-c: remove *.la and build fix for curl-7.21.7
parent
a27df9d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
5 deletions
+54
-5
testing/xmlrpc-c/APKBUILD
testing/xmlrpc-c/APKBUILD
+18
-5
testing/xmlrpc-c/xmlrpc-c-curl.patch
testing/xmlrpc-c/xmlrpc-c-curl.patch
+36
-0
No files found.
testing/xmlrpc-c/APKBUILD
View file @
da07e62d
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
xmlrpc-c
pkgver
=
1.
0
6.
40
pkgrel
=
0
pkgver
=
1.
1
6.
35
pkgrel
=
1
pkgdesc
=
"This library provides a modular implementation of XML-RPC for C and C++"
url
=
"http://xmlrpc-c.sourceforge.net/"
arch
=
"x86"
...
...
@@ -9,9 +9,20 @@ license="custom:xmlrpc-c"
depends
=
makedepends
=
"libtool curl-dev libxml2-dev zlib-dev"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc xmlrpc-c++:cxx"
source
=
"http://downloads.sourceforge.net/sourceforge/
$pkgname
/
$pkgname
-
$pkgver
.tgz"
source
=
"http://downloads.sourceforge.net/sourceforge/
$pkgname
/
$pkgname
-
$pkgver
.tgz
xmlrpc-c-curl.patch"
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
build
()
{
cd
"
$_builddir
"
./configure
--prefix
=
/usr
\
...
...
@@ -30,8 +41,9 @@ build() {
package
()
{
cd
"
$_builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
install
-m
644
-D
doc/COPYING
"
$pkgdir
"
/usr/share/licenses/
$pkgname
/COPYING
rm
-f
"
$pkgdir
"
/usr/lib/
*
.la
}
cxx
()
{
...
...
@@ -40,4 +52,5 @@ cxx() {
mv
"
$pkgdir
"
/usr/lib/
*
++
*
"
$subpkgdir
"
/usr/lib/
}
md5sums
=
"684fd8b9edda6da55a58d2a18e5056c5 xmlrpc-c-1.06.40.tgz"
md5sums
=
"eed7ef8078800e4822d753bac9d2fa1c xmlrpc-c-1.16.35.tgz
101c2224b2338247097f96b03e206261 xmlrpc-c-curl.patch"
testing/xmlrpc-c/xmlrpc-c-curl.patch
0 → 100644
View file @
da07e62d
diff --git a/lib/curl_transport/curlmulti.c b/lib/curl_transport/curlmulti.c
index 526a4db..5503b9f 100644
--- a/lib/curl_transport/curlmulti.c
+++ b/lib/curl_transport/curlmulti.c
@@ -17,7 +17,6 @@
#endif
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include <curl/multi.h>
diff --git a/lib/curl_transport/curltransaction.c b/lib/curl_transport/curltransaction.c
index 37ec02b..8fa4fb2 100644
--- a/lib/curl_transport/curltransaction.c
+++ b/lib/curl_transport/curltransaction.c
@@ -15,7 +15,6 @@
#include "version.h"
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include "curlversion.h"
diff --git a/lib/curl_transport/xmlrpc_curl_transport.c b/lib/curl_transport/xmlrpc_curl_transport.c
index 526381d..9b7b530 100644
--- a/lib/curl_transport/xmlrpc_curl_transport.c
+++ b/lib/curl_transport/xmlrpc_curl_transport.c
@@ -83,7 +83,6 @@
#include "xmlrpc-c/time_int.h"
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#include <curl/multi.h>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment