pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

httrack: fix build on NetBSD



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Tue Oct 10 13:16:45 2023 +0200
Changeset:	5c92bd813a965a28e4882c959111fe322ccd7f11

Modified Files:
	httrack/Makefile
	httrack/distinfo
Added Files:
	httrack/patches/patch-src_minizip_ioapi.h

Log Message:
httrack: fix build on NetBSD

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5c92bd813a965a28e4882c959111fe322ccd7f11

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 httrack/Makefile                          |  3 +--
 httrack/distinfo                          |  3 ++-
 httrack/patches/patch-src_minizip_ioapi.h | 15 +++++++++++++++
 3 files changed, 18 insertions(+), 3 deletions(-)

diffs:
diff --git a/httrack/Makefile b/httrack/Makefile
index 2ea3974617..910444a16f 100644
--- a/httrack/Makefile
+++ b/httrack/Makefile
@@ -1,5 +1,4 @@
 # $NetBSD: Makefile,v 1.28 2013/07/09 14:10:18 noud4 Exp $
-#
 
 DISTNAME=	httrack-3.49.2
 CATEGORIES=	www
@@ -13,7 +12,6 @@ LICENSE=	gnu-gpl-v2
 
 GNU_CONFIGURE=		yes
 LDFLAGS+=		-L${WRKSRC}/src/.libs/
-LIBTOOL_OVERRIDE=	${WRKSRC}/libtool
 USE_LIBTOOL=		yes
 USE_LANGUAGES+=		c c++
 USE_TOOLS+=		bash:run gmake
@@ -32,4 +30,5 @@ SUBST_SED.path=		-e "s|/usr/share/httrack/|${PREFIX}/share/httrack/|"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/httrack/distinfo b/httrack/distinfo
index a1cd7a3db2..50e3f6dddf 100644
--- a/httrack/distinfo
+++ b/httrack/distinfo
@@ -1,6 +1,7 @@
 $NetBSD: distinfo,v 1.11 2013/07/09 14:18:12 noud4 Exp $
 
-RMD160 (httrack-3.49.2.tar.gz) = e1ce07330443a0f4db366d1355681319026eae05
+BLAKE2s (httrack-3.49.2.tar.gz) = 20c847bb46006e2a47975fee5c9a0e5126b5a90e411b4101db0542410786b67f
 SHA512 (httrack-3.49.2.tar.gz) = 84a13a776b278533f7f0635ebd764387c3399b01c0644d8af9b46fc8112dc3c6e568c17969d4f6c2db32b5474344c39f86cf51957c09eb807ebe305a554ba5c8
 Size (httrack-3.49.2.tar.gz) = 1835116 bytes
 SHA1 (patch-html_Makefile.in) = 6c332ff784b40e50f3de432f5df6e43fcaa37650
+SHA1 (patch-src_minizip_ioapi.h) = 14f1ca49c350dd9fe13145e3bf8f2a96e410f874
diff --git a/httrack/patches/patch-src_minizip_ioapi.h b/httrack/patches/patch-src_minizip_ioapi.h
new file mode 100644
index 0000000000..b9c4d5958b
--- /dev/null
+++ b/httrack/patches/patch-src_minizip_ioapi.h
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix build on NetBSD.
+
+--- src/minizip/ioapi.h.orig	2016-04-26 17:10:23.000000000 +0000
++++ src/minizip/ioapi.h
+@@ -50,7 +50,7 @@
+ #define ftello64 ftell
+ #define fseeko64 fseek
+ #else
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #define fopen64 fopen
+ #define ftello64 ftello
+ #define fseeko64 fseeko


Home | Main Index | Thread Index | Old Index