mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Update to 0.9.3
This commit is contained in:
parent
c79c0e1c8c
commit
4724b4194b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183314
@ -5,10 +5,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= synce-librapi2
|
||||
PORTVERSION= 0.9.1
|
||||
PORTVERSION= 0.9.3
|
||||
CATEGORIES= palm
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= synce
|
||||
DISTNAME= synce-librapi-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Utilities/libraries to make RAPI calls on WinCE devices
|
||||
@ -21,9 +22,11 @@ MAN1= pcp.1 pls.1 pmkdir.1 pmv.1 prm.1 prmdir.1 prun.1 pstatus.1 rapiconfig.1 s
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_ICONV= yes
|
||||
WRKSRC= ${WRKDIR}/librapi-${PORTVERSION}
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ARGS+= --with-libiconv=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --with-libsynce=${LOCALBASE}
|
||||
CONFIGURE_ARGS+= --with-libiconv=${LOCALBASE} \
|
||||
--with-libsynce=${LOCALBASE} \
|
||||
--mandir=${MANPREFIX}/man
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (synce-librapi2-0.9.1.tar.gz) = 6ab07aa21dfbdb1047348b3a47071a3a
|
||||
SHA256 (synce-librapi2-0.9.1.tar.gz) = cb2b8448f42ec536b552d0221a4449cf9608793976ffa0d9770b33f669ad9f66
|
||||
SIZE (synce-librapi2-0.9.1.tar.gz) = 386579
|
||||
MD5 (synce-librapi-0.9.3.tar.gz) = 1dcb43bbbb43688839c3b19de77b7b4e
|
||||
SHA256 (synce-librapi-0.9.3.tar.gz) = 9e0b68fea0592a7cf8379676c389b6bace796a291f24ac21744e5977c6081f45
|
||||
SIZE (synce-librapi-0.9.3.tar.gz) = 425329
|
||||
|
11
palm/synce-librapi2/files/patch-Makefile.in
Normal file
11
palm/synce-librapi2/files/patch-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Fri Jan 26 02:04:18 2007
|
||||
+++ Makefile.in Fri Jan 26 02:06:21 2007
|
||||
@@ -194,7 +194,7 @@
|
||||
target_vendor = @target_vendor@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
pcfiles = librapi2.pc
|
||||
-pkgconfigdir = $(libdir)/pkgconfig
|
||||
+pkgconfigdir = $(prefix)/libdata/pkgconfig
|
||||
pkgconfig_DATA = $(pcfiles)
|
||||
EXTRA_DIST = librapi2.pc.in
|
||||
CLEANFILES = $(pcfiles)
|
15
palm/synce-librapi2/files/patch-src-connection.c
Normal file
15
palm/synce-librapi2/files/patch-src-connection.c
Normal file
@ -0,0 +1,15 @@
|
||||
--- src/connection.c.orig Fri Jan 26 02:16:40 2007
|
||||
+++ src/connection.c Fri Jan 26 02:17:25 2007
|
||||
@@ -14,10 +14,11 @@
|
||||
|
||||
RapiConnection* rapi_connection_from_path(const char* path)
|
||||
{
|
||||
+ RapiConnection* result;
|
||||
SynceInfo* info = synce_info_new(path);
|
||||
if (info == NULL)
|
||||
return NULL;
|
||||
- RapiConnection* result = rapi_connection_from_info(info);
|
||||
+ result = rapi_connection_from_info(info);
|
||||
if (result)
|
||||
result->owned_info = info;
|
||||
|
19
palm/synce-librapi2/files/patch-src-rapi2-file_management2.c
Normal file
19
palm/synce-librapi2/files/patch-src-rapi2-file_management2.c
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/rapi2/file_management2.c.orig Fri Jan 26 02:12:41 2007
|
||||
+++ src/rapi2/file_management2.c Fri Jan 26 02:13:40 2007
|
||||
@@ -40,6 +40,7 @@
|
||||
{
|
||||
RapiContext* context = rapi_context_current();
|
||||
uint32_t count = 0;
|
||||
+ uint32_t unknown;
|
||||
|
||||
rapi_context_begin_command(context, 0x1a);
|
||||
rapi2_buffer_write_string(context->send_buffer, szPath);
|
||||
@@ -50,7 +51,7 @@
|
||||
|
||||
/* TODO Don't know this two uint32_t fields */
|
||||
rapi_buffer_read_uint32(context->recv_buffer, &context->last_error);
|
||||
- uint32_t unknown;
|
||||
+
|
||||
rapi_buffer_read_uint32(context->recv_buffer, &unknown);
|
||||
|
||||
rapi_buffer_read_uint32(context->recv_buffer, &count);
|
10
palm/synce-librapi2/files/patch-src_rapi_invoke.c
Normal file
10
palm/synce-librapi2/files/patch-src_rapi_invoke.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/rapi/invoke.c.orig Fri Jan 26 01:58:51 2007
|
||||
+++ src/rapi/invoke.c Fri Jan 26 01:59:15 2007
|
||||
@@ -1,6 +1,7 @@
|
||||
/* $Id: invoke.c 2355 2006-04-07 18:47:20Z voc $ */
|
||||
#include "rapi_api.h"
|
||||
#include "rapi_context.h"
|
||||
+#include <sys/socket.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
11
palm/synce-librapi2/files/patch-tools-pcp.c
Normal file
11
palm/synce-librapi2/files/patch-tools-pcp.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- tools/pcp.c.orig Wed Apr 5 17:58:44 2006
|
||||
+++ tools/pcp.c Fri Jan 26 02:34:34 2007
|
||||
@@ -278,7 +278,7 @@
|
||||
printf("File copy took less than one second!\n");
|
||||
else
|
||||
printf("File copy of %i bytes took %li minutes and %li seconds, that's %li bytes/s.\n",
|
||||
- bytes_copied, duration / 60, duration % 60, bytes_copied / duration);
|
||||
+ bytes_copied, (long)duration / 60, (long)duration % 60, (long)bytes_copied / duration);
|
||||
|
||||
}
|
||||
|
19
palm/synce-librapi2/files/patch-tools-pshortcut.c
Normal file
19
palm/synce-librapi2/files/patch-tools-pshortcut.c
Normal file
@ -0,0 +1,19 @@
|
||||
--- tools/pshortcut.c.orig Fri Jan 26 02:19:29 2007
|
||||
+++ tools/pshortcut.c Fri Jan 26 02:21:07 2007
|
||||
@@ -77,6 +77,7 @@
|
||||
WCHAR* wide_target = NULL;
|
||||
WCHAR *tmp, *tmp_quote;
|
||||
int tmpsize;
|
||||
+ BOOL res;
|
||||
|
||||
if (!handle_parameters(argc, argv, &shortcut, &target))
|
||||
goto exit;
|
||||
@@ -123,7 +124,7 @@
|
||||
wstr_free_string(tmp_quote);
|
||||
wide_target = tmp;
|
||||
|
||||
- BOOL res = CeSHCreateShortcut(wide_shortcut, wide_target);
|
||||
+ res = CeSHCreateShortcut(wide_shortcut, wide_target);
|
||||
if (!res)
|
||||
{
|
||||
fprintf(stderr, "%s: Unable to create shortcut to '%s' at '%s': %s\n",
|
@ -16,4 +16,4 @@ lib/librapi.a
|
||||
lib/librapi.la
|
||||
lib/librapi.so
|
||||
lib/librapi.so.2
|
||||
share/aclocal/librapi2.m4
|
||||
libdata/pkgconfig/librapi2.pc
|
||||
|
Loading…
Reference in New Issue
Block a user