View | Details | Raw Unified | Return to bug 226841 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 lines)
Lines 11-17 Link Here
11
LICENSE=	GPLv3
11
LICENSE=	GPLv3
12
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
13
13
14
BROKEN=	undefined reference to `_binary_man_dupd_start'
15
NOT_FOR_ARCHS=	arm armv6 armv7 i386 mips powerpc
14
NOT_FOR_ARCHS=	arm armv6 armv7 i386 mips powerpc
16
NOT_FOR_ARCHS_REASON=	test fails on large files on 32-bit
15
NOT_FOR_ARCHS_REASON=	test fails on large files on 32-bit
17
16
(-)files/patch-src_main.c (+23 lines)
Line 0 Link Here
1
--- src/main.c.orig	2018-04-08 20:02:52 UTC
2
+++ src/main.c
3
@@ -141,19 +141,8 @@ static void show_help()
4
  */
5
 static void show_usage()
6
 {
7
+  system("/usr/bin/man dupd");
8
   show_banner();
9
-
10
-#ifndef __APPLE__
11
-  char * p = &_binary_man_dupd_start;
12
-  while (p != &_binary_man_dupd_end) {
13
-    putchar(*p++);
14
-  }
15
-#else
16
-  printf("Usage documentation not available on Darwin!\n");
17
-  printf("\n");
18
-  printf("Alternatively, refer to the document here:\n");
19
-  printf("https://github.com/jvirkki/dupd\n");
20
-#endif
21
 }
22
 
23
 

Return to bug 226841