It's 2015, remove pilot-link...
This commit is contained in:
parent
4924fa9ed4
commit
dc34861c75
@ -1,68 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.76 2015/07/18 15:31:16 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= tools to connect your PalmOS(R) compatible handheld
|
||||
|
||||
DISTNAME= pilot-link-0.12.5
|
||||
REVISION= 8
|
||||
|
||||
SHARED_LIBS += pisock 11.0 # 9.2
|
||||
SHARED_LIBS += pisync 2.0 # 1.3
|
||||
|
||||
CATEGORIES= comms
|
||||
|
||||
MASTER_SITES= http://downloads.pilot-link.org/ \
|
||||
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/distfiles/ \
|
||||
http://gentoo.oregonstate.edu/distfiles/
|
||||
|
||||
HOMEPAGE= http://www.pilot-link.org/
|
||||
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
# GPLv2 - LGPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB += c m png popt pthread readline termcap z
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
LIB_DEPENDS= graphics/png \
|
||||
devel/popt
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
ac_cv_lib_png_main=yes
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
||||
--with-libiconv=${LOCALBASE} \
|
||||
--with-libpng=${LOCALBASE} \
|
||||
--with-perl=/usr/bin/perl \
|
||||
--with-readline \
|
||||
--enable-conduits \
|
||||
--enable-threads \
|
||||
--without-bluez \
|
||||
--without-efence \
|
||||
--without-java \
|
||||
--without-python \
|
||||
--without-tcl
|
||||
|
||||
post-extract:
|
||||
rm ${WRKSRC}/bindings/Perl/Pilot.xs.orig
|
||||
|
||||
pre-configure:
|
||||
sed -i "s,!!CFLAGS!!,${CFLAGS},g" ${WRKSRC}/bindings/Perl/Makefile.PL.in
|
||||
sed -i "s,Libs: ,Libs: -pthread ,g" \
|
||||
${WRKSRC}/pilot-link.pc.in ${WRKSRC}/pilot-link-pp.pc.in
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pilot-link
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/README.debugging ${PREFIX}/share/doc/pilot-link
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/README.usb ${PREFIX}/share/doc/pilot-link
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/man/*.7 ${PREFIX}/man/man7
|
||||
rm -rf ${PREFIX}/share/pilot-link/udev/
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (pilot-link-0.12.5.tar.bz2) = 0/mewEAWs4mV+zcCZSACVHEDGBBceSwBfTqsz7l6hLI=
|
||||
SIZE (pilot-link-0.12.5.tar.bz2) = 1578735
|
@ -1,21 +0,0 @@
|
||||
$OpenBSD: patch-bindings_Perl_Makefile_PL_in,v 1.3 2013/03/18 22:13:42 sthen Exp $
|
||||
|
||||
PERL_POLLUTE removal :-
|
||||
Allow pilot-link's perl bindings to build with newer Perl.
|
||||
From Debian ticket 628510
|
||||
|
||||
--- bindings/Perl/Makefile.PL.in.orig Sat Mar 17 19:03:45 2007
|
||||
+++ bindings/Perl/Makefile.PL.in Mon Mar 18 22:07:45 2013
|
||||
@@ -39,10 +39,10 @@ WriteMakefile(
|
||||
'VERSION' => '@PILOT_LINK_VERS@.@PILOT_LINK_MAJOR@.@PILOT_LINK_MINOR@@PILOT_LINK_PATCH@',
|
||||
'XSPROTOARG' => '-noprototypes',
|
||||
'INC' => "-I$plincdir",
|
||||
- 'DEFINE' => '-DPERL_POLLUTE',
|
||||
'PREFIX' => "$prefix",
|
||||
- 'INSTALLDIRS'=> 'vendor',
|
||||
+ 'INSTALLDIRS'=> 'site',
|
||||
'dynamic_lib'=> {'OTHERLDFLAGS' => $lib},
|
||||
'depend' => {'Pilot.c' => 'const-c.inc const-xs.inc'},
|
||||
'clean' => {'FILES' => 'const-c.inc const-xs.inc'},
|
||||
+ 'OPTIMIZE' => "!!CFLAGS!!",
|
||||
);
|
@ -1,577 +0,0 @@
|
||||
$OpenBSD: patch-bindings_Perl_Pilot_xs,v 1.1 2013/03/18 22:13:42 sthen Exp $
|
||||
|
||||
Allow pilot-link's perl bindings to build with newer Perl.
|
||||
From Debian ticket 628510
|
||||
|
||||
--- bindings/Perl/Pilot.xs.orig Mon Nov 12 17:49:54 2007
|
||||
+++ bindings/Perl/Pilot.xs Mon Mar 18 22:07:45 2013
|
||||
@@ -160,7 +160,7 @@ SvChar4(arg)
|
||||
|
||||
#define pack_dbinfo(arg, var, failure) { \
|
||||
if (failure < 0) { \
|
||||
- arg = &sv_undef; \
|
||||
+ arg = &PL_sv_undef; \
|
||||
self->errnop = failure; \
|
||||
} else { \
|
||||
HV * i = newHV(); \
|
||||
@@ -214,15 +214,15 @@ SvChar4(arg)
|
||||
var.createDate = (s = hv_fetch(i, "createDate", 10, 0)) ? SvIV(*s) : 0;\
|
||||
var.modifyDate = (s = hv_fetch(i, "modifyDate", 10, 0)) ? SvIV(*s) : 0;\
|
||||
var.backupDate = (s = hv_fetch(i, "backupDate", 10, 0)) ? SvIV(*s) : 0;\
|
||||
- if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV(*s,na) : 0) \
|
||||
- strncpy(var.name, SvPV(*s, na), sizeof(var.name)); \
|
||||
+ if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV(*s,PL_na) : 0) \
|
||||
+ strncpy(var.name, SvPV(*s, PL_na), sizeof(var.name)); \
|
||||
} else {\
|
||||
croak("argument is not a hash reference"); \
|
||||
}
|
||||
|
||||
#define pack_userinfo(arg, var, failure) { \
|
||||
if (failure < 0) { \
|
||||
- arg = &sv_undef; \
|
||||
+ arg = &PL_sv_undef; \
|
||||
self->errnop = failure; \
|
||||
} else { \
|
||||
HV * i = newHV(); \
|
||||
@@ -246,8 +246,8 @@ SvChar4(arg)
|
||||
var.lastSyncPC = (s = hv_fetch(i, "lastSyncPC", 10, 0)) ? SvIV(*s) : 0;\
|
||||
var.lastSyncDate = (s = hv_fetch(i, "lastSyncDate", 12, 0)) ? SvIV(*s) : 0;\
|
||||
var.successfulSyncDate = (s = hv_fetch(i, "successfulSyncDate", 18, 0)) ? SvIV(*s) : 0;\
|
||||
- if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV(*s,na) : 0)\
|
||||
- strncpy(var.username, SvPV(*s, na), sizeof(var.username));\
|
||||
+ if ((s = hv_fetch(i, "name", 4, 0)) ? SvPV(*s,PL_na) : 0)\
|
||||
+ strncpy(var.username, SvPV(*s, PL_na), sizeof(var.username));\
|
||||
} else {\
|
||||
croak("argument is not a hash reference");\
|
||||
}
|
||||
@@ -287,7 +287,7 @@ SvChar4(arg)
|
||||
}\
|
||||
} else {\
|
||||
self->errnop = result;\
|
||||
- PUSHs(&sv_undef);\
|
||||
+ PUSHs(&PL_sv_undef);\
|
||||
}
|
||||
|
||||
#define PackSI\
|
||||
@@ -329,7 +329,7 @@ SvChar4(arg)
|
||||
}\
|
||||
} else {\
|
||||
self->errnop = result;\
|
||||
- PUSHs(&sv_undef);\
|
||||
+ PUSHs(&PL_sv_undef);\
|
||||
}
|
||||
|
||||
#define PackRecord {\
|
||||
@@ -421,7 +421,7 @@ SvChar4(arg)
|
||||
}\
|
||||
} else {\
|
||||
self->errnop = result;\
|
||||
- PUSHs(&sv_undef);\
|
||||
+ PUSHs(&PL_sv_undef);\
|
||||
}
|
||||
|
||||
#define PackResource\
|
||||
@@ -473,7 +473,7 @@ SvChar4(arg)
|
||||
}\
|
||||
} else {\
|
||||
self->errnop = result;\
|
||||
- PUSHs(&sv_undef);\
|
||||
+ PUSHs(&PL_sv_undef);\
|
||||
}
|
||||
|
||||
#define PackPref\
|
||||
@@ -536,7 +536,7 @@ SvChar4(arg)
|
||||
croak("Unable to create resource");\
|
||||
} else {\
|
||||
self->errnop = result;\
|
||||
- PUSHs(&sv_undef);\
|
||||
+ PUSHs(&PL_sv_undef);\
|
||||
}
|
||||
|
||||
void doUnpackCategory(HV * self, struct CategoryAppInfo * c)
|
||||
@@ -576,7 +576,7 @@ void doPackCategory(HV * self, struct CategoryAppInfo
|
||||
|
||||
if ((s = hv_fetch(self, "categoryName", 12, 0)) && SvOK(*s) && SvRV(*s) && (SvTYPE(av=(AV*)SvRV(*s))==SVt_PVAV))
|
||||
for (i=0;i<16;i++)
|
||||
- strncpy(c->name[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,na) : "", 16);
|
||||
+ strncpy(c->name[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,PL_na) : "", 16);
|
||||
else
|
||||
for (i=0;i<16;i++)
|
||||
strcpy(c->name[i], "");
|
||||
@@ -602,7 +602,7 @@ void doPackCategory(HV * self, struct CategoryAppInfo
|
||||
int SvList(SV * arg, char **list)
|
||||
{
|
||||
int i;
|
||||
- char * str = SvPV(arg, na);
|
||||
+ char * str = SvPV(arg, PL_na);
|
||||
for (i=0;list[i];i++)
|
||||
if (strcasecmp(list[i], str)==0)
|
||||
return i;
|
||||
@@ -781,11 +781,11 @@ Pack(record)
|
||||
croak("Invalid advance unit %d encountered", u);
|
||||
}
|
||||
} else {
|
||||
- if (strEQ(SvPV(*s, na), "minutes"))
|
||||
+ if (strEQ(SvPV(*s, PL_na), "minutes"))
|
||||
u = 0;
|
||||
- else if (strEQ(SvPV(*s, na), "hours"))
|
||||
+ else if (strEQ(SvPV(*s, PL_na), "hours"))
|
||||
u = 1;
|
||||
- else if (strEQ(SvPV(*s, na), "days"))
|
||||
+ else if (strEQ(SvPV(*s, PL_na), "days"))
|
||||
u = 2;
|
||||
else
|
||||
croak("Invalid advance unit %d encountered", u);
|
||||
@@ -850,10 +850,10 @@ Pack(record)
|
||||
}
|
||||
}
|
||||
|
||||
- a.description = (s = hv_fetch(h, "description", 11, 0)) ? SvPV(*s,na) : 0;
|
||||
+ a.description = (s = hv_fetch(h, "description", 11, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
if (!a.description)
|
||||
croak("appointments must contain a description");
|
||||
- a.note = (s = hv_fetch(h, "note", 4, 0)) ? SvPV(*s,na) : 0;
|
||||
+ a.note = (s = hv_fetch(h, "note", 4, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
|
||||
if (pack_Appointment(&a, &pibuf, datebook_v1) < 0) {
|
||||
croak("pack_Appointment failed");
|
||||
@@ -897,7 +897,7 @@ UnpackAppBlock(record)
|
||||
}
|
||||
|
||||
SvPV(record,len);
|
||||
- if (unpack_AppointmentAppInfo(&a, (CPTR)SvPV(record, na), len)>0) {
|
||||
+ if (unpack_AppointmentAppInfo(&a, (CPTR)SvPV(record, PL_na), len)>0) {
|
||||
|
||||
doUnpackCategory(ret, &a.category);
|
||||
|
||||
@@ -1023,8 +1023,8 @@ Pack(record)
|
||||
a.indefinite = 1;
|
||||
}
|
||||
|
||||
- a.description = (s = hv_fetch(h, "description", 11, 0)) ? SvPV(*s,na) : 0;
|
||||
- a.note = (s = hv_fetch(h, "note", 4, 0)) ? SvPV(*s,na) : 0;
|
||||
+ a.description = (s = hv_fetch(h, "description", 11, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
+ a.note = (s = hv_fetch(h, "note", 4, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
|
||||
if (pack_ToDo(&a, &pibuf, todo_v1) < 0) {
|
||||
croak("pack_ToDo failed");
|
||||
@@ -1065,7 +1065,7 @@ UnpackAppBlock(record)
|
||||
}
|
||||
|
||||
SvPV(record,len);
|
||||
- if (unpack_ToDoAppInfo(&a, (CPTR)SvPV(record, na), len)>0) {
|
||||
+ if (unpack_ToDoAppInfo(&a, (CPTR)SvPV(record, PL_na), len)>0) {
|
||||
|
||||
doUnpackCategory(ret, &a.category);
|
||||
|
||||
@@ -1160,7 +1160,7 @@ Unpack(record)
|
||||
hv_store(ret, "entry", 5, newRV_noinc((SV*)e), 0);
|
||||
|
||||
for (i=0;i<19;i++) {
|
||||
- av_push(e, a.entry[i] ? newSVpv(a.entry[i],0) : &sv_undef);
|
||||
+ av_push(e, a.entry[i] ? newSVpv(a.entry[i],0) : &PL_sv_undef);
|
||||
}
|
||||
|
||||
hv_store(ret, "showPhone", 9, newSViv(a.showPhone), 0);
|
||||
@@ -1200,7 +1200,7 @@ Pack(record)
|
||||
|
||||
if ((s = hv_fetch(h, "entry", 5, 0)) && SvOK(*s) && SvRV(*s) && (SvTYPE(av=(AV*)SvRV(*s))==SVt_PVAV))
|
||||
for (i=0;i<19;i++)
|
||||
- a.entry[i] = ((s=av_fetch(av, i, 0)) && SvOK(*s)) ? SvPV(*s,na) : 0;
|
||||
+ a.entry[i] = ((s=av_fetch(av, i, 0)) && SvOK(*s)) ? SvPV(*s,PL_na) : 0;
|
||||
else
|
||||
for (i=0;i<19;i++)
|
||||
a.entry[i] = 0;
|
||||
@@ -1249,7 +1249,7 @@ UnpackAppBlock(record)
|
||||
}
|
||||
|
||||
SvPV(record,len);
|
||||
- if (unpack_AddressAppInfo(&a, (CPTR)SvPV(record, na), len)>0) {
|
||||
+ if (unpack_AddressAppInfo(&a, (CPTR)SvPV(record, PL_na), len)>0) {
|
||||
|
||||
doUnpackCategory(ret, &a.category);
|
||||
|
||||
@@ -1309,13 +1309,13 @@ PackAppBlock(record)
|
||||
a.sortByCompany = (s = hv_fetch(h, "sortByCompany", 13, 0)) ? SvIV(*s) : 0;
|
||||
|
||||
if ((s = hv_fetch(h, "label", 5, 0)) && SvOK(*s) && SvRV(*s) && (SvTYPE(av=(AV*)SvRV(*s))==SVt_PVAV))
|
||||
- for (i=0;i<22;i++) strncpy(a.labels[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,na) : "", 16);
|
||||
+ for (i=0;i<22;i++) strncpy(a.labels[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,PL_na) : "", 16);
|
||||
else
|
||||
for (i=0;i<22;i++) a.labels[i][0] = 0;
|
||||
for (i=0;i<22;i++) a.labels[i][15] = 0;
|
||||
|
||||
if ((s = hv_fetch(h, "phoneLabel", 10, 0)) && SvOK(*s) && SvRV(*s) && (SvTYPE(av=(AV*)SvRV(*s))==SVt_PVAV))
|
||||
- for (i=0;i<8;i++) strncpy(a.phoneLabels[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,na) : "", 16);
|
||||
+ for (i=0;i<8;i++) strncpy(a.phoneLabels[i], (s=av_fetch(av, i, 0)) ? SvPV(*s,PL_na) : "", 16);
|
||||
else
|
||||
for (i=0;i<8;i++) a.phoneLabels[i][0] = 0;
|
||||
for (i=0;i<8;i++) a.phoneLabels[i][15] = 0;
|
||||
@@ -1396,7 +1396,7 @@ Pack(record)
|
||||
else {
|
||||
|
||||
if ((s = hv_fetch(h, "text", 4, 0)))
|
||||
- a.text = SvPV(*s,na);
|
||||
+ a.text = SvPV(*s,PL_na);
|
||||
else
|
||||
a.text = 0;
|
||||
|
||||
@@ -1438,7 +1438,7 @@ UnpackAppBlock(record)
|
||||
}
|
||||
|
||||
SvPV(record,len);
|
||||
- if (unpack_MemoAppInfo(&a, (CPTR)SvPV(record, na), len)>0) {
|
||||
+ if (unpack_MemoAppInfo(&a, (CPTR)SvPV(record, PL_na), len)>0) {
|
||||
|
||||
doUnpackCategory(ret, &a.category);
|
||||
|
||||
@@ -1510,7 +1510,7 @@ Unpack(record)
|
||||
|
||||
SvPV(record,len);
|
||||
if (len > 0) { /* len == 0 if deleted flag is set */
|
||||
- if (unpack_Expense(&e, (CPTR)SvPV(record, na), len)>0) {
|
||||
+ if (unpack_Expense(&e, (CPTR)SvPV(record, PL_na), len)>0) {
|
||||
|
||||
hv_store(ret, "date", 4, newRV_noinc((SV*)tmtoav(&e.date)), 0);
|
||||
hv_store(ret, "type", 4, newSVlist(e.type,ExpenseTypeNames),0);
|
||||
@@ -1570,15 +1570,15 @@ Pack(record)
|
||||
avtotm((AV*)SvRV(*s), &e.date);
|
||||
else
|
||||
croak("expense record must contain date");
|
||||
- if ((s = hv_fetch(h, "amount", 6, 0))) e.amount = SvPV(*s,na);
|
||||
+ if ((s = hv_fetch(h, "amount", 6, 0))) e.amount = SvPV(*s,PL_na);
|
||||
else e.amount = 0;
|
||||
- if ((s = hv_fetch(h, "vendor", 6, 0))) e.vendor = SvPV(*s,na);
|
||||
+ if ((s = hv_fetch(h, "vendor", 6, 0))) e.vendor = SvPV(*s,PL_na);
|
||||
else e.vendor = 0;
|
||||
- if ((s = hv_fetch(h, "city", 4, 0))) e.city = SvPV(*s,na);
|
||||
+ if ((s = hv_fetch(h, "city", 4, 0))) e.city = SvPV(*s,PL_na);
|
||||
else e.city = 0;
|
||||
- if ((s = hv_fetch(h, "attendess", 9, 0))) e.attendees = SvPV(*s,na);
|
||||
+ if ((s = hv_fetch(h, "attendess", 9, 0))) e.attendees = SvPV(*s,PL_na);
|
||||
else e.attendees = 0;
|
||||
- if ((s = hv_fetch(h, "note", 4, 0))) e.note = SvPV(*s,na);
|
||||
+ if ((s = hv_fetch(h, "note", 4, 0))) e.note = SvPV(*s,PL_na);
|
||||
else e.note = 0;
|
||||
|
||||
len = pack_Expense(&e, mybuf, 0xffff);
|
||||
@@ -1619,7 +1619,7 @@ UnpackAppBlock(record)
|
||||
}
|
||||
|
||||
SvPV(record,len);
|
||||
- if (unpack_ExpenseAppInfo(&e, (CPTR)SvPV(record, na), len)>0) {
|
||||
+ if (unpack_ExpenseAppInfo(&e, (CPTR)SvPV(record, PL_na), len)>0) {
|
||||
|
||||
hv_store(ret, "sortOrder", 9, newSVlist(e.sortOrder,ExpenseSortNames),0);
|
||||
a = newAV();
|
||||
@@ -1662,15 +1662,15 @@ PackAppBlock(record)
|
||||
HV * hv;
|
||||
if ((s=av_fetch(av, i, 0)) && SvOK(*s) && SvRV(*s) && (SvTYPE(hv=(HV*)SvRV(*s))==SVt_PVHV)) {
|
||||
if (s = hv_fetch(hv, "name", 4, 0)) {
|
||||
- strncpy(e.currencies[i].name, SvPV(*s, na), 16);
|
||||
+ strncpy(e.currencies[i].name, SvPV(*s, PL_na), 16);
|
||||
e.currencies[i].name[15] = 0;
|
||||
}
|
||||
if (s = hv_fetch(hv, "symbol", 6, 0)) {
|
||||
- strncpy(e.currencies[i].symbol, SvPV(*s, na), 4);
|
||||
+ strncpy(e.currencies[i].symbol, SvPV(*s, PL_na), 4);
|
||||
e.currencies[i].symbol[3] = 0;
|
||||
}
|
||||
if (s = hv_fetch(hv, "rate", 4, 0)) {
|
||||
- strncpy(e.currencies[i].rate, SvPV(*s, na), 8);
|
||||
+ strncpy(e.currencies[i].rate, SvPV(*s, PL_na), 8);
|
||||
e.currencies[i].rate[7] = 0;
|
||||
}
|
||||
}
|
||||
@@ -1718,7 +1718,7 @@ UnpackPref(record)
|
||||
}
|
||||
|
||||
SvPV(record,len);
|
||||
- if (unpack_ExpensePref(&a, (CPTR)SvPV(record, na), len)>0) {
|
||||
+ if (unpack_ExpensePref(&a, (CPTR)SvPV(record, PL_na), len)>0) {
|
||||
|
||||
hv_store(ret, "unitOfDistance", 14, newSVlist(a.unitOfDistance, ExpenseDistanceNames), 0);
|
||||
hv_store(ret, "currentCategory", 15, newSViv(a.currentCategory), 0);
|
||||
@@ -1811,7 +1811,7 @@ Unpack(record)
|
||||
|
||||
SvPV(record,len);
|
||||
if (len > 0) { /* len == 0 if deleted flag is set */
|
||||
- if (unpack_Mail(&a, (CPTR)SvPV(record, na), len)>0) {
|
||||
+ if (unpack_Mail(&a, (CPTR)SvPV(record, PL_na), len)>0) {
|
||||
|
||||
if (a.subject) hv_store(ret, "subject", 7, newSVpv(a.subject,0), 0);
|
||||
if (a.from) hv_store(ret, "from", 4, newSVpv(a.from,0), 0);
|
||||
@@ -1858,14 +1858,14 @@ Pack(record)
|
||||
}
|
||||
else {
|
||||
|
||||
- a.subject = (s = hv_fetch(h, "subject", 7, 0)) ? SvPV(*s,na) : 0;
|
||||
- a.from = (s = hv_fetch(h, "from", 4, 0)) ? SvPV(*s,na) : 0;
|
||||
- a.to = (s = hv_fetch(h, "to", 2, 0)) ? SvPV(*s,na) : 0;
|
||||
- a.cc = (s = hv_fetch(h, "cc", 2, 0)) ? SvPV(*s,na) : 0;
|
||||
- a.bcc = (s = hv_fetch(h, "bcc", 3, 0)) ? SvPV(*s,na) : 0;
|
||||
- a.replyTo = (s = hv_fetch(h, "replyTo", 7, 0)) ? SvPV(*s,na) : 0;
|
||||
- a.sentTo = (s = hv_fetch(h, "sentTo", 6, 0)) ? SvPV(*s,na) : 0;
|
||||
- a.body = (s = hv_fetch(h, "body", 4, 0)) ? SvPV(*s,na) : 0;
|
||||
+ a.subject = (s = hv_fetch(h, "subject", 7, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
+ a.from = (s = hv_fetch(h, "from", 4, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
+ a.to = (s = hv_fetch(h, "to", 2, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
+ a.cc = (s = hv_fetch(h, "cc", 2, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
+ a.bcc = (s = hv_fetch(h, "bcc", 3, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
+ a.replyTo = (s = hv_fetch(h, "replyTo", 7, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
+ a.sentTo = (s = hv_fetch(h, "sentTo", 6, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
+ a.body = (s = hv_fetch(h, "body", 4, 0)) ? SvPV(*s,PL_na) : 0;
|
||||
|
||||
a.read = (s = hv_fetch(h, "read", 4, 0)) ? SvIV(*s) : 0;
|
||||
a.signature = (s = hv_fetch(h, "signature", 9, 0)) ? SvIV(*s) : 0;
|
||||
@@ -1913,7 +1913,7 @@ UnpackAppBlock(record)
|
||||
}
|
||||
|
||||
SvPV(record,len);
|
||||
- if (unpack_MailAppInfo(&a, (CPTR)SvPV(record, na), len)>0) {
|
||||
+ if (unpack_MailAppInfo(&a, (CPTR)SvPV(record, PL_na), len)>0) {
|
||||
|
||||
doUnpackCategory(ret, &a.category);
|
||||
|
||||
@@ -1989,7 +1989,7 @@ UnpackSyncPref(record)
|
||||
}
|
||||
|
||||
SvPV(record,len);
|
||||
- if (unpack_MailSyncPref(&a, (CPTR)SvPV(record, na), len)>0) {
|
||||
+ if (unpack_MailSyncPref(&a, (CPTR)SvPV(record, PL_na), len)>0) {
|
||||
|
||||
hv_store(ret, "syncType", 8, newSVlist(a.syncType, MailSyncTypeNames), 0);
|
||||
hv_store(ret, "getHigh", 7, newSViv(a.getHigh), 0);
|
||||
@@ -2033,9 +2033,9 @@ PackSyncPref(record, id)
|
||||
a.getContaining = (s=hv_fetch(h,"getContaining",13,0)) ? SvIV(*s) : 0;
|
||||
a.truncate = (s=hv_fetch(h,"truncate",8,0)) ? SvIV(*s) : 0;
|
||||
|
||||
- a.filterTo = (s=hv_fetch(h,"filterTo",8,0)) ? SvPV(*s,na) : 0;
|
||||
- a.filterFrom = (s=hv_fetch(h,"filterFrom",10,0)) ? SvPV(*s,na) : 0;
|
||||
- a.filterSubject = (s=hv_fetch(h,"filterSubject",13,0)) ? SvPV(*s,na) : 0;
|
||||
+ a.filterTo = (s=hv_fetch(h,"filterTo",8,0)) ? SvPV(*s,PL_na) : 0;
|
||||
+ a.filterFrom = (s=hv_fetch(h,"filterFrom",10,0)) ? SvPV(*s,PL_na) : 0;
|
||||
+ a.filterSubject = (s=hv_fetch(h,"filterSubject",13,0)) ? SvPV(*s,PL_na) : 0;
|
||||
|
||||
len = pack_MailSyncPref(&a, mybuf, 0xffff);
|
||||
|
||||
@@ -2073,7 +2073,7 @@ UnpackSignaturePref(record)
|
||||
}
|
||||
|
||||
SvPV(record,len);
|
||||
- if (unpack_MailSignaturePref(&a, (CPTR)SvPV(record, na), len)>0) {
|
||||
+ if (unpack_MailSignaturePref(&a, (CPTR)SvPV(record, PL_na), len)>0) {
|
||||
|
||||
if (a.signature)
|
||||
hv_store(ret, "signature", 9, newSVpv(a.signature, 0), 0);
|
||||
@@ -2099,7 +2099,7 @@ PackSignaturePref(record, id)
|
||||
RETVAL = record;
|
||||
else {
|
||||
|
||||
- a.signature = (s=hv_fetch(h,"signature",9,0)) ? SvPV(*s,na) : 0;
|
||||
+ a.signature = (s=hv_fetch(h,"signature",9,0)) ? SvPV(*s,PL_na) : 0;
|
||||
|
||||
len = pack_MailSignaturePref(&a, mybuf, 0xffff);
|
||||
|
||||
@@ -2129,7 +2129,7 @@ write(socket, msg)
|
||||
{
|
||||
STRLEN len;
|
||||
SvPV(msg, len);
|
||||
- RETVAL = pi_write(socket,SvPV(msg,na),len);
|
||||
+ RETVAL = pi_write(socket,SvPV(msg,PL_na),len);
|
||||
}
|
||||
|
||||
SV *
|
||||
@@ -2146,7 +2146,7 @@ read(socket, len)
|
||||
if (result >=0)
|
||||
RETVAL = newSVpvn((char *) pibuf.data, result);
|
||||
else
|
||||
- RETVAL = &sv_undef;
|
||||
+ RETVAL = &PL_sv_undef;
|
||||
}
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
@@ -2282,7 +2282,7 @@ class(self, name=0)
|
||||
croak("DBClasses doesn't exist");
|
||||
if (SvOK(name)) {
|
||||
(void)SvPV(name,len);
|
||||
- s = hv_fetch(h, SvPV(name,na), len, 0);
|
||||
+ s = hv_fetch(h, SvPV(name,PL_na), len, 0);
|
||||
}
|
||||
if (!s)
|
||||
s = hv_fetch(h, "", 0, 0);
|
||||
@@ -2577,7 +2577,7 @@ getRecords(self)
|
||||
{
|
||||
int result = dlp_ReadOpenDBInfo(self->socket, self->handle, &RETVAL);
|
||||
if (result < 0) {
|
||||
- RETVAL = newSVsv(&sv_undef);
|
||||
+ RETVAL = newSVsv(&PL_sv_undef);
|
||||
self->errnop = result;
|
||||
}
|
||||
}
|
||||
@@ -2745,7 +2745,7 @@ setResource(self, data)
|
||||
result = dlp_WriteResource(self->socket, self->handle, type, id, c, len);
|
||||
if (result < 0) {
|
||||
self->errnop = result;
|
||||
- RETVAL = newSVsv(&sv_undef);
|
||||
+ RETVAL = newSVsv(&PL_sv_undef);
|
||||
} else
|
||||
RETVAL = newSViv(result);
|
||||
}
|
||||
@@ -2798,7 +2798,7 @@ getPref(self, id=0, backup=1)
|
||||
r = dlp_CloseDB(self->socket, self->handle);
|
||||
result = dlp_ReadAppPreference(self->socket, creator, id, backup, 0xFFFF, mybuf, &len, &version);
|
||||
if (pi_version(self->socket)< 0x101)
|
||||
- r = dlp_OpenDB(self->socket, self->dbcard, self->dbmode, SvPV(self->dbname,na), &self->handle);
|
||||
+ r = dlp_OpenDB(self->socket, self->dbcard, self->dbmode, SvPV(self->dbname,PL_na), &self->handle);
|
||||
ReturnReadPref(mybuf, len);
|
||||
}
|
||||
|
||||
@@ -2822,10 +2822,10 @@ setPref(self, data)
|
||||
r = dlp_CloseDB(self->socket, self->handle);
|
||||
result = dlp_WriteAppPreference(self->socket, creator, id, backup, version, buf, len);
|
||||
if (pi_version(self->socket)< 0x101)
|
||||
- r = dlp_OpenDB(self->socket, self->dbcard, self->dbmode, SvPV(self->dbname,na), &self->handle);
|
||||
+ r = dlp_OpenDB(self->socket, self->dbcard, self->dbmode, SvPV(self->dbname,PL_na), &self->handle);
|
||||
if (result < 0) {
|
||||
self->errnop = result;
|
||||
- RETVAL = newSVsv(&sv_undef);
|
||||
+ RETVAL = newSVsv(&PL_sv_undef);
|
||||
} else {
|
||||
RETVAL = newSViv(result);
|
||||
}
|
||||
@@ -2861,7 +2861,7 @@ setPrefRaw(self, data, number, version, backup=1)
|
||||
result = dlp_WriteAppPreference(self->socket, creator, number, backup, version, buf, len);
|
||||
if (result < 0) {
|
||||
self->errnop = result;
|
||||
- RETVAL = newSVsv(&sv_undef);
|
||||
+ RETVAL = newSVsv(&PL_sv_undef);
|
||||
} else {
|
||||
RETVAL = newSViv(result);
|
||||
}
|
||||
@@ -2904,7 +2904,7 @@ getTime(self)
|
||||
int result = dlp_GetSysDateTime(self->socket, &t);
|
||||
if (result < 0) {
|
||||
self->errnop = result;
|
||||
- RETVAL = newSVsv(&sv_undef);
|
||||
+ RETVAL = newSVsv(&PL_sv_undef);
|
||||
} else
|
||||
RETVAL = newSViv(t);
|
||||
}
|
||||
@@ -2929,7 +2929,7 @@ getSysInfo(self)
|
||||
int result = dlp_ReadSysInfo(self->socket, &si);
|
||||
if (result < 0) {
|
||||
self->errnop = result;
|
||||
- RETVAL = newSVsv(&sv_undef);
|
||||
+ RETVAL = newSVsv(&PL_sv_undef);
|
||||
} else {
|
||||
HV * i = newHV();
|
||||
hv_store(i, "romVersion", 10, newSViv(si.romVersion), 0);\
|
||||
@@ -2951,7 +2951,7 @@ getCardInfo(self, cardno=0)
|
||||
int result = dlp_ReadStorageInfo(self->socket, cardno, &c);
|
||||
if (result < 0) {
|
||||
self->errnop = result;
|
||||
- RETVAL = newSVsv(&sv_undef);
|
||||
+ RETVAL = newSVsv(&PL_sv_undef);
|
||||
} else {
|
||||
HV * i = newHV();
|
||||
hv_store(i, "card", 6, newSViv(c.card), 0);\
|
||||
@@ -3037,7 +3037,7 @@ newPref(self, creator, id=0, version=0, backup=0)
|
||||
croak("Default PrefClass not defined");
|
||||
PUSHMARK(sp);
|
||||
XPUSHs(newSVsv(*s));
|
||||
- XPUSHs(&sv_undef);
|
||||
+ XPUSHs(&PL_sv_undef);
|
||||
XPUSHs(sv_2mortal(newSVChar4(creator)));
|
||||
if (id)
|
||||
XPUSHs(id);
|
||||
@@ -3107,7 +3107,7 @@ open(self, name, mode=0, cardno=0)
|
||||
result = dlp_OpenDB(self->socket, cardno, nummode, name, &handle);
|
||||
if (result<0) {
|
||||
self->errnop = result;
|
||||
- RETVAL = &sv_undef;
|
||||
+ RETVAL = &PL_sv_undef;
|
||||
} else {
|
||||
int type;
|
||||
PDA__Pilot__DLP__DB * x = malloc(sizeof(PDA__Pilot__DLP__DB));
|
||||
@@ -3156,7 +3156,7 @@ create(self, name, creator, type, flags, version, card
|
||||
int result = dlp_CreateDB(self->socket, creator, type, cardno, flags, version, name, &handle);
|
||||
if (result<0) {
|
||||
self->errnop = result;
|
||||
- RETVAL = &sv_undef;
|
||||
+ RETVAL = &PL_sv_undef;
|
||||
} else {
|
||||
PDA__Pilot__DLP__DB * x = malloc(sizeof(PDA__Pilot__DLP__DB));
|
||||
SV * sv = newSViv((IV)(void*)x);
|
||||
@@ -3224,7 +3224,7 @@ setPref(self, data)
|
||||
result = dlp_WriteAppPreference(self->socket, creator, id, backup, version, buf, len);
|
||||
if (result < 0) {
|
||||
self->errnop = result;
|
||||
- RETVAL = newSVsv(&sv_undef);
|
||||
+ RETVAL = newSVsv(&PL_sv_undef);
|
||||
} else {
|
||||
RETVAL = newSViv(result);
|
||||
}
|
||||
@@ -3248,7 +3248,7 @@ setPrefRaw(self, data, creator, number, version, backu
|
||||
result = dlp_WriteAppPreference(self->socket, creator, number, backup, version, buf, len);
|
||||
if (result < 0) {
|
||||
self->errnop = result;
|
||||
- RETVAL = newSVsv(&sv_undef);
|
||||
+ RETVAL = newSVsv(&PL_sv_undef);
|
||||
} else {
|
||||
RETVAL = newSViv(result);
|
||||
}
|
||||
@@ -3350,7 +3350,7 @@ findDBInfo(self, start, name, creator, type, cardno=0)
|
||||
else
|
||||
t = 0;
|
||||
result = dlp_FindDBInfo(self->socket, cardno, start,
|
||||
- SvOK(name) ? SvPV(name,na) : 0,
|
||||
+ SvOK(name) ? SvPV(name,PL_na) : 0,
|
||||
t, c, &info);
|
||||
pack_dbinfo(RETVAL, info, result);
|
||||
}
|
||||
@@ -3367,7 +3367,7 @@ getFeature(self, creator, number)
|
||||
unsigned long f;
|
||||
int result;
|
||||
if ((result = dlp_ReadFeature(self->socket, creator, number, &f))<0) {
|
||||
- RETVAL = newSVsv(&sv_undef);
|
||||
+ RETVAL = newSVsv(&PL_sv_undef);
|
||||
self->errnop = result;
|
||||
} else {
|
||||
RETVAL = newSViv(f);
|
||||
@@ -3397,7 +3397,7 @@ getROMToken(self,token)
|
||||
}
|
||||
|
||||
void
|
||||
-callApplication(self, creator, type, action, data=&sv_undef)
|
||||
+callApplication(self, creator, type, action, data=&PL_sv_undef)
|
||||
PDA::Pilot::DLP *self
|
||||
Char4 creator
|
||||
Char4 type
|
||||
@@ -3410,7 +3410,7 @@ callApplication(self, creator, type, action, data=&sv_
|
||||
int result;
|
||||
(void)SvPV(data,len);
|
||||
result = dlp_CallApplication(self->socket, creator,
|
||||
- type, action, len, SvPV(data,na),
|
||||
+ type, action, len, SvPV(data,PL_na),
|
||||
&retcode, &pibuf);
|
||||
EXTEND(sp, 2);
|
||||
if (result >= 0) {
|
||||
@@ -3419,7 +3419,7 @@ callApplication(self, creator, type, action, data=&sv_
|
||||
PUSHs(sv_2mortal(newSViv(retcode)));
|
||||
}
|
||||
} else
|
||||
- PUSHs(&sv_undef);
|
||||
+ PUSHs(&PL_sv_undef);
|
||||
}
|
||||
|
||||
int
|
||||
@@ -3530,7 +3530,7 @@ class(self, name=0)
|
||||
croak("DBClasses doesn't exist");
|
||||
if (SvOK(name)) {
|
||||
(void)SvPV(name, len);
|
||||
- s = hv_fetch(h, SvPV(name, na), len, 0);
|
||||
+ s = hv_fetch(h, SvPV(name, PL_na), len, 0);
|
||||
}
|
||||
if (!s)
|
||||
s = hv_fetch(h, "", 0, 0);
|
@ -1,19 +0,0 @@
|
||||
$OpenBSD: patch-bindings_Perl_typemap,v 1.1 2013/03/18 22:13:42 sthen Exp $
|
||||
|
||||
Allow pilot-link's perl bindings to build with newer Perl.
|
||||
From Debian ticket 628510
|
||||
|
||||
--- bindings/Perl/typemap.orig Sat Oct 28 01:23:48 2000
|
||||
+++ bindings/Perl/typemap Mon Mar 18 22:07:45 2013
|
||||
@@ -50,9 +50,9 @@ T_CHAR4
|
||||
|
||||
T_RESULT
|
||||
if ($var < 0) {
|
||||
- sv_setsv($arg, &sv_no);
|
||||
+ sv_setsv($arg, &PL_sv_no);
|
||||
self->errnop = $var;
|
||||
} else
|
||||
- sv_setsv($arg, &sv_yes);
|
||||
+ sv_setsv($arg, &PL_sv_yes);
|
||||
T_PTROBJ
|
||||
sv_setref_pv($arg, \"${ntype}\", (void*)$var);
|
@ -1,27 +0,0 @@
|
||||
$OpenBSD: patch-configure,v 1.7 2010/03/25 10:32:53 giovanni Exp $
|
||||
--- configure.orig Sun Feb 7 04:42:29 2010
|
||||
+++ configure Wed Mar 24 08:58:53 2010
|
||||
@@ -4797,7 +4797,7 @@ fi
|
||||
if test "${lt_cv_path_LD+set}" = set; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- if test -z "$LD"; then
|
||||
+ if true; then
|
||||
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
||||
for ac_dir in $PATH; do
|
||||
IFS="$lt_save_ifs"
|
||||
@@ -15081,12 +15081,12 @@ $as_echo "#define HAVE_USB 1" >>confdefs.h
|
||||
usb_type=linux
|
||||
msg_usb="yes, Linux"
|
||||
;;
|
||||
- *freebsd*)
|
||||
+ *bsd*)
|
||||
|
||||
$as_echo "#define HAVE_USB 1" >>confdefs.h
|
||||
|
||||
usb_type=freebsd
|
||||
- msg_usb="yes, FreeBSD"
|
||||
+ msg_usb="yes, FreeBSD (OpenBSD)"
|
||||
;;
|
||||
*darwin*)
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-libpisock_freebsdusb_c,v 1.3 2008/01/20 15:19:31 ajacoutot Exp $
|
||||
--- libpisock/freebsdusb.c.orig Thu Oct 12 16:21:22 2006
|
||||
+++ libpisock/freebsdusb.c Thu Jan 17 09:00:40 2008
|
||||
@@ -46,7 +46,7 @@
|
||||
# define O_NONBLOCK 0
|
||||
#endif
|
||||
|
||||
-#if defined(__FreeBSD__)
|
||||
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
/* freebsd usb header */
|
||||
#include <dev/usb/usb.h>
|
||||
#define MAX_BUF 256
|
@ -1,28 +0,0 @@
|
||||
$OpenBSD: patch-libpisock_unixserial_c,v 1.3 2008/01/20 15:19:31 ajacoutot Exp $
|
||||
--- libpisock/unixserial.c.orig Thu Oct 12 16:21:23 2006
|
||||
+++ libpisock/unixserial.c Thu Jan 17 09:00:40 2008
|
||||
@@ -161,13 +161,23 @@ s_open(pi_socket_t *ps, struct pi_sockaddr *addr, size
|
||||
|
||||
struct pi_serial_data *data =
|
||||
(struct pi_serial_data *)ps->device->data;
|
||||
+#define maxretries 100
|
||||
+ int retries;
|
||||
|
||||
#ifndef SGTTY
|
||||
struct termios tcn;
|
||||
#else
|
||||
struct sgttyb tcn;
|
||||
#endif
|
||||
- if ((fd = open(tty, O_RDWR | O_NONBLOCK)) < 0) {
|
||||
+
|
||||
+ for (retries = 0 ; retries <= maxretries ; retries++ ) {
|
||||
+ if ((fd = open(tty, O_RDWR | O_NONBLOCK)) != -1) {
|
||||
+ break;
|
||||
+ }
|
||||
+ usleep(50000);
|
||||
+ }
|
||||
+
|
||||
+ if (fd == -1) {
|
||||
ps->last_error = PI_ERR_GENERIC_SYSTEM;
|
||||
return PI_ERR_GENERIC_SYSTEM; /* errno already set */
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.4 2010/03/25 10:32:53 giovanni Exp $
|
||||
--- src/Makefile.in.orig Sun Feb 7 04:42:28 2010
|
||||
+++ src/Makefile.in Wed Mar 24 08:56:19 2010
|
||||
@@ -557,7 +557,7 @@ PISYNC_CURRENT = @PISYNC_CURRENT@
|
||||
PISYNC_REVISION = @PISYNC_REVISION@
|
||||
PKG_CONFIG = @PKG_CONFIG@
|
||||
PNG_CFLAGS = @PNG_CFLAGS@
|
||||
-PNG_LIBS = @PNG_LIBS@
|
||||
+PNG_LIBS = @PNG_LIBS@ -lz -lm
|
||||
POPT_INCLUDES = @POPT_INCLUDES@
|
||||
POPT_LIBS = @POPT_LIBS@
|
||||
PTHREAD_CC = @PTHREAD_CC@
|
@ -1,29 +0,0 @@
|
||||
$OpenBSD: patch-src_pilot-read-notepad_c,v 1.1 2011/07/08 20:36:09 naddy Exp $
|
||||
|
||||
Fix build with png-1.5.
|
||||
|
||||
--- src/pilot-read-notepad.c.orig Thu Jun 4 07:26:19 2009
|
||||
+++ src/pilot-read-notepad.c Mon Jul 4 15:46:34 2011
|
||||
@@ -39,11 +39,7 @@
|
||||
|
||||
#ifdef HAVE_PNG
|
||||
#include "png.h"
|
||||
-#if (PNG_LIBPNG_VER < 10201)
|
||||
- #define png_voidp_NULL (png_voidp)NULL
|
||||
- #define png_error_ptr_NULL (png_error_ptr)NULL
|
||||
#endif
|
||||
-#endif
|
||||
|
||||
const char *progname;
|
||||
|
||||
@@ -166,8 +162,8 @@ void write_png( FILE *f, struct NotePad *n )
|
||||
width = n->body.width + 8;
|
||||
|
||||
png_ptr = png_create_write_struct
|
||||
- ( PNG_LIBPNG_VER_STRING, png_voidp_NULL,
|
||||
- png_error_ptr_NULL, png_error_ptr_NULL);
|
||||
+ ( PNG_LIBPNG_VER_STRING, NULL,
|
||||
+ NULL, NULL);
|
||||
|
||||
if(!png_ptr)
|
||||
return;
|
@ -1,29 +0,0 @@
|
||||
$OpenBSD: patch-src_pilot-read-palmpix_c,v 1.1 2011/07/08 20:36:09 naddy Exp $
|
||||
|
||||
Fix build with png-1.5.
|
||||
|
||||
--- src/pilot-read-palmpix.c.orig Thu Jun 4 07:26:19 2009
|
||||
+++ src/pilot-read-palmpix.c Mon Jul 4 15:50:37 2011
|
||||
@@ -42,11 +42,7 @@
|
||||
|
||||
#ifdef HAVE_PNG
|
||||
#include "png.h"
|
||||
-#if (PNG_LIBPNG_VER < 10201)
|
||||
- #define png_voidp_NULL (png_voidp)NULL
|
||||
- #define png_error_ptr_NULL (png_error_ptr)NULL
|
||||
#endif
|
||||
-#endif
|
||||
|
||||
const char *progname;
|
||||
|
||||
@@ -223,8 +219,8 @@ void write_png( FILE *f, const struct PalmPixState *st
|
||||
png_infop info_ptr;
|
||||
|
||||
png_ptr = png_create_write_struct
|
||||
- ( PNG_LIBPNG_VER_STRING, png_voidp_NULL,
|
||||
- png_error_ptr_NULL, png_error_ptr_NULL);
|
||||
+ ( PNG_LIBPNG_VER_STRING, NULL,
|
||||
+ NULL, NULL);
|
||||
|
||||
if(!png_ptr)
|
||||
return;
|
@ -1,28 +0,0 @@
|
||||
$OpenBSD: patch-src_pilot-read-screenshot_c,v 1.1 2011/07/08 20:36:09 naddy Exp $
|
||||
|
||||
Fix build with png-1.5.
|
||||
|
||||
--- src/pilot-read-screenshot.c.orig Thu Jun 4 07:26:19 2009
|
||||
+++ src/pilot-read-screenshot.c Mon Jul 4 15:50:37 2011
|
||||
@@ -40,10 +40,6 @@
|
||||
|
||||
#ifdef HAVE_PNG
|
||||
# include "png.h"
|
||||
-# if (PNG_LIBPNG_VER < 10201)
|
||||
-# define png_voidp_NULL (png_voidp)NULL
|
||||
-# define png_error_ptr_NULL (png_error_ptr)NULL
|
||||
-# endif
|
||||
#endif
|
||||
|
||||
#define pi_mktag(c1,c2,c3,c4) (((c1)<<24)|((c2)<<16)|((c3)<<8)|(c4))
|
||||
@@ -87,8 +83,8 @@ void write_png ( char *fname, struct ss_state *state )
|
||||
gray_buf = malloc( state->w );
|
||||
|
||||
png_ptr = png_create_write_struct
|
||||
- (PNG_LIBPNG_VER_STRING, png_voidp_NULL,
|
||||
- png_error_ptr_NULL, png_error_ptr_NULL);
|
||||
+ (PNG_LIBPNG_VER_STRING, NULL,
|
||||
+ NULL, NULL);
|
||||
|
||||
if (!png_ptr)
|
||||
return;
|
@ -1,28 +0,0 @@
|
||||
$OpenBSD: patch-src_pilot-read-veo_c,v 1.1 2011/07/08 20:36:09 naddy Exp $
|
||||
|
||||
Fix build with png-1.5.
|
||||
|
||||
--- src/pilot-read-veo.c.orig Thu Jun 4 07:26:19 2009
|
||||
+++ src/pilot-read-veo.c Mon Jul 4 15:50:37 2011
|
||||
@@ -41,10 +41,6 @@
|
||||
|
||||
#ifdef HAVE_PNG
|
||||
# include "png.h"
|
||||
-# if (PNG_LIBPNG_VER < 10201)
|
||||
-# define png_voidp_NULL (png_voidp)NULL
|
||||
-# define png_error_ptr_NULL (png_error_ptr)NULL
|
||||
-# endif
|
||||
#endif
|
||||
|
||||
#define pi_mktag(c1,c2,c3,c4) (((c1)<<24)|((c2)<<16)|((c3)<<8)|(c4))
|
||||
@@ -856,8 +852,8 @@ void write_png (FILE * f, struct Veo *v, long flags)
|
||||
png_infop info_ptr;
|
||||
|
||||
png_ptr = png_create_write_struct
|
||||
- (PNG_LIBPNG_VER_STRING, png_voidp_NULL,
|
||||
- png_error_ptr_NULL, png_error_ptr_NULL);
|
||||
+ (PNG_LIBPNG_VER_STRING, NULL,
|
||||
+ NULL, NULL);
|
||||
|
||||
if (!png_ptr)
|
||||
return;
|
@ -1,13 +0,0 @@
|
||||
pilot-link is a suite of tools used to connect your Palm or PalmOS(R)
|
||||
compatible handheld with Unix, Linux, and any other POSIX-compatible
|
||||
machine. pilot-link works with all PalmOS(R) handhelds, including those
|
||||
made by Handspring, Sony, and Palm, as well as others.
|
||||
|
||||
pilot-link includes userspace "conduits" that allow you to synchronize
|
||||
information to and from your Palm device, as well as libraries of Palm-
|
||||
compatible functions that allow other applications to take advantage
|
||||
of the code included in pilot-link.
|
||||
|
||||
There are also several language "bindings" that allow you to use your
|
||||
favorite development language with pilot-link, such as Java, Tcl, Perl,
|
||||
and Python.
|
@ -1,160 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.20 2015/05/22 11:31:11 ajacoutot Exp $
|
||||
@bin bin/pilot-addresses
|
||||
@bin bin/pilot-clip
|
||||
@bin bin/pilot-csd
|
||||
@bin bin/pilot-debugsh
|
||||
@bin bin/pilot-dedupe
|
||||
@bin bin/pilot-dlpsh
|
||||
@bin bin/pilot-file
|
||||
@bin bin/pilot-foto
|
||||
@bin bin/pilot-foto-treo600
|
||||
@bin bin/pilot-foto-treo650
|
||||
@bin bin/pilot-getram
|
||||
@bin bin/pilot-getrom
|
||||
@bin bin/pilot-getromtoken
|
||||
@bin bin/pilot-hinotes
|
||||
bin/pilot-ietf2datebook
|
||||
@bin bin/pilot-install-datebook
|
||||
@bin bin/pilot-install-expenses
|
||||
@bin bin/pilot-install-hinote
|
||||
@bin bin/pilot-install-memo
|
||||
@bin bin/pilot-install-netsync
|
||||
@bin bin/pilot-install-todo
|
||||
@bin bin/pilot-install-todos
|
||||
@bin bin/pilot-install-user
|
||||
@bin bin/pilot-memos
|
||||
@bin bin/pilot-nredir
|
||||
@bin bin/pilot-read-expenses
|
||||
@bin bin/pilot-read-ical
|
||||
@bin bin/pilot-read-notepad
|
||||
@bin bin/pilot-read-palmpix
|
||||
@bin bin/pilot-read-screenshot
|
||||
@bin bin/pilot-read-todos
|
||||
@bin bin/pilot-read-veo
|
||||
@bin bin/pilot-reminders
|
||||
@bin bin/pilot-schlep
|
||||
bin/pilot-sync-plan
|
||||
bin/pilot-undelete
|
||||
@bin bin/pilot-wav
|
||||
@bin bin/pilot-xfer
|
||||
include/pi-address.h
|
||||
include/pi-appinfo.h
|
||||
include/pi-args.h
|
||||
include/pi-blob.h
|
||||
include/pi-bluetooth.h
|
||||
include/pi-buffer.h
|
||||
include/pi-calendar.h
|
||||
include/pi-cmp.h
|
||||
include/pi-contact.h
|
||||
include/pi-datebook.h
|
||||
include/pi-debug.h
|
||||
include/pi-dlp.h
|
||||
include/pi-error.h
|
||||
include/pi-expense.h
|
||||
include/pi-file.h
|
||||
include/pi-foto.h
|
||||
include/pi-header.h
|
||||
include/pi-hinote.h
|
||||
include/pi-inet.h
|
||||
include/pi-location.h
|
||||
include/pi-macros.h
|
||||
include/pi-mail.h
|
||||
include/pi-md5.h
|
||||
include/pi-memo.h
|
||||
include/pi-money.h
|
||||
include/pi-net.h
|
||||
include/pi-notepad.h
|
||||
include/pi-padp.h
|
||||
include/pi-palmpix.h
|
||||
include/pi-serial.h
|
||||
include/pi-slp.h
|
||||
include/pi-sockaddr.h
|
||||
include/pi-socket.h
|
||||
include/pi-source.h
|
||||
include/pi-sync.h
|
||||
include/pi-sys.h
|
||||
include/pi-syspkt.h
|
||||
include/pi-threadsafe.h
|
||||
include/pi-todo.h
|
||||
include/pi-usb.h
|
||||
include/pi-util.h
|
||||
include/pi-veo.h
|
||||
include/pi-versamail.h
|
||||
include/pi-version.h
|
||||
lib/libpisock.a
|
||||
lib/libpisock.la
|
||||
@lib lib/libpisock.so.${LIBpisock_VERSION}
|
||||
lib/libpisync.a
|
||||
lib/libpisync.la
|
||||
@lib lib/libpisync.so.${LIBpisync_VERSION}
|
||||
lib/pkgconfig/pilot-link.pc
|
||||
@comment libdata/perl5/${MACHINE_ARCH}-openbsd/
|
||||
@comment libdata/perl5/${MACHINE_ARCH}-openbsd/5.12.2/
|
||||
@comment libdata/perl5/${MACHINE_ARCH}-openbsd/5.12.2/perllocal.pod
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/PDA/
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/PDA/Pilot.pm
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/PDA/dump.pl
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/PDA/
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/PDA/Pilot/
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/PDA/Pilot/Pilot.so
|
||||
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/PDA/Pilot/autosplit.ix
|
||||
@man man/man1/ietf2datebook.1
|
||||
@man man/man1/pilot-addresses.1
|
||||
@man man/man1/pilot-clip.1
|
||||
@man man/man1/pilot-csd.1
|
||||
@man man/man1/pilot-debugsh.1
|
||||
@man man/man1/pilot-dedupe.1
|
||||
@man man/man1/pilot-dlpsh.1
|
||||
@man man/man1/pilot-file.1
|
||||
@man man/man1/pilot-foto-treo600.1
|
||||
@man man/man1/pilot-foto-treo650.1
|
||||
@man man/man1/pilot-foto.1
|
||||
@man man/man1/pilot-getram.1
|
||||
@man man/man1/pilot-getrom.1
|
||||
@man man/man1/pilot-getromtoken.1
|
||||
@man man/man1/pilot-hinotes.1
|
||||
@man man/man1/pilot-install-datebook.1
|
||||
@man man/man1/pilot-install-expenses.1
|
||||
@man man/man1/pilot-install-hinote.1
|
||||
@man man/man1/pilot-install-memo.1
|
||||
@man man/man1/pilot-install-netsync.1
|
||||
@man man/man1/pilot-install-todo.1
|
||||
@man man/man1/pilot-install-todos.1
|
||||
@man man/man1/pilot-install-user.1
|
||||
@man man/man1/pilot-memos.1
|
||||
@man man/man1/pilot-nredir.1
|
||||
@man man/man1/pilot-read-expenses.1
|
||||
@man man/man1/pilot-read-ical.1
|
||||
@man man/man1/pilot-read-notepad.1
|
||||
@man man/man1/pilot-read-palmpix.1
|
||||
@man man/man1/pilot-read-screenshot.1
|
||||
@man man/man1/pilot-read-todos.1
|
||||
@man man/man1/pilot-read-veo.1
|
||||
@man man/man1/pilot-reminders.1
|
||||
@man man/man1/pilot-schlep.1
|
||||
@man man/man1/pilot-wav.1
|
||||
@man man/man1/pilot-xfer.1
|
||||
@man man/man3p/PDA::Pilot.3p
|
||||
@man man/man3p/PDA::Pilot.3pm
|
||||
@man man/man7/pilot-link.7
|
||||
share/aclocal/pilot-link.m4
|
||||
share/doc/pilot-link/
|
||||
share/doc/pilot-link/README.debugging
|
||||
share/doc/pilot-link/README.usb
|
||||
share/pilot-link/
|
||||
share/pilot-link/pix/
|
||||
share/pilot-link/pix/b1.gif
|
||||
share/pilot-link/pix/b2.gif
|
||||
share/pilot-link/pix/b3.gif
|
||||
share/pilot-link/pix/b4.gif
|
||||
share/pilot-link/pix/b5.gif
|
||||
share/pilot-link/pix/b6.gif
|
||||
share/pilot-link/pix/b7.gif
|
||||
share/pilot-link/pix/case.gif
|
||||
share/pilot-link/pix/case.xbm
|
||||
share/pilot-link/pix/casemask.xbm
|
||||
share/pilot-link/prc/
|
||||
share/pilot-link/prc/getrom.prc
|
||||
share/pilot-link/prc/getrom2.prc
|
Loading…
Reference in New Issue
Block a user