the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: libghttp
Version: 1.0.9
Revision: 4
Source: gnome
Source-MD5: 0690e7456f9a15c635f240f3d6d5dab2
BuildDepends: fink (>= 0.24.12-1)
Depends: %N-shlibs (=%v-%r)
BuildDependsOnly: True
UpdateLibtool: true
PatchFile: %n.patch
PatchFile-MD5: 87e4331faddab78d892f0bc5fedbefd4
InstallScript: <<
make install DESTDIR=%d
<<
SplitOff: <<
Package: %N-shlibs
Replaces: %N (<= 1.0.9-2)
Files: lib/libghttp.*.dylib
Shlibs: %p/lib/libghttp.1.dylib 2.0.0 %n (>= 1.0.9-4)
DocFiles: COPYING COPYING.LIB AUTHORS doc/ghttp.html
<<
DocFiles: COPYING COPYING.LIB AUTHORS doc/ghttp.html
#
Description: HTTP protocol client library
DescPort: <<
Small patch needed to compile under gcc3, thanks to Peter O'Gorman and
Alexander Strange.
<<
License: GPL/LGPL
Homepage: http://www.gnome.org/
Maintainer: None
diff -ru libghttp-1.0.9/http_base64.c libghttp-1.0.9-patched/http_base64.c
--- libghttp-1.0.9/http_base64.c Wed Dec 9 15:26:32 1998
+++ libghttp-1.0.9-patched/http_base64.c Sun Jun 30 15:01:27 2002
@@ -27,7 +27,7 @@
const char b64_alphabet[65] = {
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
- "0123456789+/=" };
+ "0123456789+/=\0" };
char *
http_base64_encode(const char *text) {