diff options
author | antoine <antoine@FreeBSD.org> | 2014-10-06 05:36:02 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-10-06 05:36:02 +0800 |
commit | 9f978bc1dd4a0718c7277014620d89014324c0d6 (patch) | |
tree | 87c286b3b3358431c22551b330e067884366b381 /palm/pilot-link | |
parent | 80aa3e15dea7e30dddda2e16c61ed06bcc41c117 (diff) | |
download | freebsd-ports-gnome-9f978bc1dd4a0718c7277014620d89014324c0d6.tar.gz freebsd-ports-gnome-9f978bc1dd4a0718c7277014620d89014324c0d6.tar.zst freebsd-ports-gnome-9f978bc1dd4a0718c7277014620d89014324c0d6.zip |
Allow building on head
Diffstat (limited to 'palm/pilot-link')
-rw-r--r-- | palm/pilot-link/Makefile | 3 | ||||
-rw-r--r-- | palm/pilot-link/files/patch-popt__popthelp.c | 11 | ||||
-rw-r--r-- | palm/pilot-link/pkg-plist | 4 |
3 files changed, 13 insertions, 5 deletions
diff --git a/palm/pilot-link/Makefile b/palm/pilot-link/Makefile index 0dea1209694c..ffb1df512e66 100644 --- a/palm/pilot-link/Makefile +++ b/palm/pilot-link/Makefile @@ -20,7 +20,7 @@ GNU_CONFIGURE= yes CFLAGS+= -I${WRKSRC}/popt -I${LOCALBASE}/include CONFIGURE_ARGS+=${ICONV_CONFIGURE_BASE} --with-included-popt --enable-conduits --enable-xsltproc INSTALL_TARGET= install-strip -USES= iconv libtool pathfix pkgconfig tar:bzip2 +USES= iconv libtool pathfix pkgconfig readline tar:bzip2 USE_LDCONFIG= yes OPTIONS_DEFINE= PNG THREADS USB @@ -49,6 +49,7 @@ CONFIGURE_ARGS+= --disable-png .endif post-patch: + @${REINPLACE_CMD} '/enable_werror="yes"/d' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|png_voidp_NULL|NULL|g' \ -e 's|png_error_ptr_NULL|NULL|g' \ ${WRKSRC}/src/pilot-read-notepad.c \ diff --git a/palm/pilot-link/files/patch-popt__popthelp.c b/palm/pilot-link/files/patch-popt__popthelp.c new file mode 100644 index 000000000000..ae0fb32d1736 --- /dev/null +++ b/palm/pilot-link/files/patch-popt__popthelp.c @@ -0,0 +1,11 @@ +--- popt/popthelp.c.orig 2004-08-25 15:06:39 UTC ++++ popt/popthelp.c +@@ -683,7 +683,7 @@ + s[0] = '\0'; + /*@-branchstate@*/ /* FIX: W2DO? */ + if (str == NULL) { +- memset(s, 0, sizeof(s)); ++ memset(s, 0, 300); + str = s; + } + /*@=branchstate@*/ diff --git a/palm/pilot-link/pkg-plist b/palm/pilot-link/pkg-plist index 4d48838a6b13..e7698c73c954 100644 --- a/palm/pilot-link/pkg-plist +++ b/palm/pilot-link/pkg-plist @@ -137,7 +137,3 @@ man/man1/pilot-read-screenshot.1.gz man/man1/pilot-read-todos.1.gz man/man1/pilot-read-veo.1.gz man/man7/pilot-link.7.gz -@dirrm %%DATADIR%%/udev -@dirrm %%DATADIR%%/prc -@dirrm %%DATADIR%%/pix -@dirrm %%DATADIR%% |