FreeBSD Bugzilla – Attachment 209633 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]
patch adding port files for rmlint-2.9.0
rmlint-2.9.0.diff (text/plain), 4.99 KB, created by
Joachim Werner
on 2019-12-02 21:56:40 UTC
(
hide
)
Description:
patch adding port files for rmlint-2.9.0
Filename:
MIME Type:
Creator:
Joachim Werner
Created:
2019-12-02 21:56:40 UTC
Size:
4.99 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (nonexistent) >+++ Makefile (working copy) >@@ -0,0 +1,31 @@ >+# $FreeBSD$ >+ >+PORTNAME= rmlint >+PORTVERSION= 2.9.0 >+DISTVERSIONPREFIX= v >+CATEGORIES= sysutils >+ >+MAINTAINER= jockl@pianojockl.org >+COMMENT= Remove duplicates and other lint from your filesystem >+ >+LICENSE= GPLv3 >+ >+LIB_DEPENDS= libelf.so:devel/libelf >+BUILD_DEPENDS= ${LOCALBASE}/lib/libglib-2.0.so:devel/glib20 git:devel/git pkgconf:devel/pkgconf gettext:devel/gettext sphinx-build:textproc/py-sphinx >+ >+USES= scons python:3.2-3.7 >+#gettext-runtime >+#USES_GNOME= glib20 >+USE_GITHUB= yes >+GH_ACCOUNT= sahib >+GH_PROJECT= rmlint >+CC= clang >+ >+MAKE_ARGS= --without-gui --prefix=${STAGEDIR}${PREFIX} >+ >+.include <bsd.port.pre.mk> >+ >+post-patch: >+ ${REINPLACE_CMD} -e 's|lseek64|lseek|g' ${WRKSRC}/lib/utilities.h >+ >+.include <bsd.port.post.mk> > >Property changes on: 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: distinfo >=================================================================== >--- distinfo (nonexistent) >+++ distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1575144044 >+SHA256 (sahib-rmlint-v2.9.0_GH0.tar.gz) = a2d26863e0018efad60f0b1123e7cffd8ef764c8fb574a7987a49260e4e51c8f >+SIZE (sahib-rmlint-v2.9.0_GH0.tar.gz) = 2483457 > >Property changes on: 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: files/patch-lib_xattr.c >=================================================================== >--- files/patch-lib_xattr.c (nonexistent) >+++ files/patch-lib_xattr.c (working copy) >@@ -0,0 +1,44 @@ >+--- lib/xattr.c.orig 2019-08-20 20:40:07 UTC >++++ lib/xattr.c >+@@ -207,7 +207,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); >+ >+@@ -283,7 +283,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); >+ >+@@ -310,6 +310,8 @@ int rm_xattr_clear_hash(RmFile *file, RmSession *sessi >+ #endif >+ } >+ >++#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; >+@@ -478,3 +480,5 @@ int rm_xattr_mark_deduplicated(const char *path, bool >+ g_hash_table_destroy(map); >+ return result; >+ } >++ >++#endif > >Property changes on: 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: pkg-descr >=================================================================== >--- pkg-descr (nonexistent) >+++ pkg-descr (working copy) >@@ -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: 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 >Index: pkg-plist >=================================================================== >--- pkg-plist (nonexistent) >+++ pkg-plist (working copy) >@@ -0,0 +1,2 @@ >+bin/rmlint >+share/man/man1/rmlint.1.gz > >Property changes on: pkg-plist >___________________________________________________________________ >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
Actions:
View
|
Diff
Attachments on
bug 236362
:
202683
|
202687
|
202811
|
209633
|
220227
|
222295
|
222304