FreeBSD Bugzilla – Attachment 222304 Details for
Bug 236362
new port: sysutils/rmlint: Remove duplicates and other lint from your filesystem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add rmlint 2.10.1 - also for i386
rmlint-2.10.1-alsoi386.patch (text/plain), 6.29 KB, created by
Joachim Werner
on 2021-02-09 18:21:50 UTC
(
hide
)
Description:
add rmlint 2.10.1 - also for i386
Filename:
MIME Type:
Creator:
Joachim Werner
Created:
2021-02-09 18:21:50 UTC
Size:
6.29 KB
patch
obsolete
>Index: sysutils/Makefile >=================================================================== >--- sysutils/Makefile (Revision 564777) >+++ sysutils/Makefile (Arbeitskopie) >@@ -1091,6 +1091,7 @@ > SUBDIR += rhc > SUBDIR += riak-cs > SUBDIR += rinse >+ SUBDIR += rmlint > SUBDIR += rocr > SUBDIR += roct > SUBDIR += rovclock >Index: sysutils/rmlint/Makefile >=================================================================== >--- sysutils/rmlint/Makefile (nicht existent) >+++ sysutils/rmlint/Makefile (Arbeitskopie) >@@ -0,0 +1,39 @@ >+# $FreeBSD$ >+ >+PORTNAME= rmlint >+DISTVERSIONPREFIX= v >+DISTVERSION= 2.10.1 >+CATEGORIES= sysutils >+ >+MAINTAINER= jockl@pianojockl.org >+COMMENT= Remove duplicates and other lint from your filesystem >+ >+LICENSE= GPLv3 >+ >+BUILD_DEPENDS= ${LOCALBASE}/lib/libglib-2.0.so:devel/glib20 \ >+ gettext:devel/gettext \ >+ pkgconf:devel/pkgconf \ >+ sphinx-build:textproc/py-sphinx@${PY_FLAVOR} >+LIB_DEPENDS= libelf.so:devel/libelf \ >+ libjson-glib-1.0.so:devel/json-glib >+ >+USES= gnome python scons >+USE_GITHUB= yes >+GH_ACCOUNT= sahib >+GH_PROJECT= rmlint >+GH_TAGNAME= a726d0cbf839d7a0f35962d67e0f60054d0364f6 >+USE_GNOME= glib20 >+ >+MAKE_ARGS= --actual-prefix=${PREFIX} \ >+ --prefix=${STAGEDIR}${PREFIX} \ >+ --without-gui >+ >+PLIST_FILES= bin/rmlint \ >+ share/man/man1/rmlint.1.gz >+ >+OPTIONS_DEFINE= NLS >+ >+NLS_USES= gettext-runtime >+NLS_CONFIGURE_WITH= gettext >+ >+.include <bsd.port.mk> > >Property changes on: sysutils/rmlint/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: sysutils/rmlint/distinfo >=================================================================== >--- sysutils/rmlint/distinfo (nicht existent) >+++ sysutils/rmlint/distinfo (Arbeitskopie) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1612880853 >+SHA256 (sahib-rmlint-v2.10.1-a726d0cbf839d7a0f35962d67e0f60054d0364f6_GH0.tar.gz) = ac564a89b5e6cc389c41bf1bf88b82c317373ad4b8c420cbe7416a8dd1fe6799 >+SIZE (sahib-rmlint-v2.10.1-a726d0cbf839d7a0f35962d67e0f60054d0364f6_GH0.tar.gz) = 2495749 > >Property changes on: sysutils/rmlint/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: sysutils/rmlint/files/patch-lib_utilities.h >=================================================================== >--- sysutils/rmlint/files/patch-lib_utilities.h (nicht existent) >+++ sysutils/rmlint/files/patch-lib_utilities.h (Arbeitskopie) >@@ -0,0 +1,13 @@ >+--- lib/utilities.h.orig 2020-12-06 15:39:50 UTC >++++ lib/utilities.h >+@@ -127,6 +127,10 @@ static inline void rm_sys_close(int fd) { >+ } >+ } >+ >++#ifndef HAVE_LSEEK64 >++#define lseek64 lseek >++#endif >++ >+ static inline gint64 rm_sys_preadv(int fd, const struct iovec *iov, int iovcnt, >+ RmOff offset) { >+ #if RM_IS_APPLE || RM_IS_CYGWIN > >Property changes on: sysutils/rmlint/files/patch-lib_utilities.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: sysutils/rmlint/files/patch-lib_xattr.c >=================================================================== >--- sysutils/rmlint/files/patch-lib_xattr.c (nicht existent) >+++ sysutils/rmlint/files/patch-lib_xattr.c (Arbeitskopie) >@@ -0,0 +1,46 @@ >+--- lib/xattr.c.orig 2020-12-06 15:39:50 UTC >++++ lib/xattr.c >+@@ -209,7 +209,7 @@ static int rm_xattr_del(RmFile *file, const char *key, >+ // ACTUAL API FUNCTIONS // >+ //////////////////////////// >+ >+-int rm_xattr_write_hash(RmFile *file, RmSession *session) { >++int rm_xattr_write_hash(__attribute__((unused)) RmFile *file, __attribute__((unused)) RmSession *session) { >+ g_assert(file); >+ g_assert(file->digest); >+ g_assert(session); >+@@ -236,7 +236,7 @@ int rm_xattr_write_hash(RmFile *file, RmSession *sessi >+ return 0; >+ } >+ >+-gboolean rm_xattr_read_hash(RmFile *file, RmSession *session) { >++gboolean rm_xattr_read_hash(__attribute__((unused)) RmFile *file, __attribute__((unused)) RmSession *session) { >+ g_assert(file); >+ g_assert(session); >+ >+@@ -287,7 +287,7 @@ gboolean rm_xattr_read_hash(RmFile *file, RmSession *s >+ #endif >+ } >+ >+-int rm_xattr_clear_hash(RmFile *file, RmSession *session) { >++int rm_xattr_clear_hash(__attribute__((unused)) RmFile *file, __attribute__((unused)) RmSession *session) { >+ g_assert(file); >+ g_assert(session); >+ >+@@ -316,6 +316,8 @@ int rm_xattr_clear_hash(RmFile *file, RmSession *sessi >+ >+ #if HAVE_XATTR >+ >++#if HAVE_XATTR >++ >+ GHashTable *rm_xattr_list(const char *path, bool follow_symlinks) { >+ const size_t buf_size = 4096; >+ const size_t val_size = 1024; >+@@ -484,5 +486,7 @@ int rm_xattr_mark_deduplicated(const char *path, bool >+ g_hash_table_destroy(map); >+ return result; >+ } >++ >++#endif >+ >+ #endif > >Property changes on: sysutils/rmlint/files/patch-lib_xattr.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: sysutils/rmlint/pkg-descr >=================================================================== >--- sysutils/rmlint/pkg-descr (nicht existent) >+++ sysutils/rmlint/pkg-descr (Arbeitskopie) >@@ -0,0 +1,5 @@ >+rmlint is an "extremely fast tool to remove duplicates and other lint >+from your filesystem." >+ >+WWW: https://rmlint.rtfd.org/ >+WWW: https://github.com/sahib/rmlint > >Property changes on: sysutils/rmlint/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jockl
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 236362
:
202683
|
202687
|
202811
|
209633
|
220227
|
222295
| 222304