[Bug 191643] New: [ patch ] security/sks doesn't build on 9.1-R

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 5 22:02:42 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191643

            Bug ID: 191643
           Summary: [ patch ] security/sks doesn't build on 9.1-R
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: Normal
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dan at obluda.cz

Port doesn't compile on FreeBSD 9.1
    It call 'patch -p 0' during the build phase. Unfortunately, it's not
equivalent of 'patch -p0' and cause fail

How-To-Repeat:
Try it

Fix:
${WRKDIR}/Makefile needs to be patched to call 'patch -p0' instead of 'patch -p
0'

There are already two patches related to such file. The first one is
files/patch-Makefile
the second one is post-patch: ... @${REINPLACE_CMD}

Either add the attached patch to files/patch-Makefile or modify {REINPLACE_CMD}
acordingly


--- Makefile.orig    2014-07-05 22:35:09.000000000 +0200
+++ Makefile    2014-07-05 22:59:21.000000000 +0200
@@ -283,8 +280,8 @@

 $(CKVER)/README.txt:
     tar xmvfz $(CKVER).tar.gz
-    patch -p 0 < $(CKVER)-sks.patch
-    patch -p 0 < $(CKVER)-sks-custom_compare.patch
+    patch -p0 < $(CKVER)-sks.patch
+    patch -p0 < $(CKVER)-sks-custom_compare.patch

 $(CKDIR)/cryptokit.cma: $(CKVER)/README.txt
     cd $(CKDIR) && $(MAKE) all

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list