svn commit: r394846 - head/devel/k8048/files

Muhammad Moinur Rahman bofh at FreeBSD.org
Thu Aug 20 10:40:50 UTC 2015


Author: bofh
Date: Thu Aug 20 10:40:49 2015
New Revision: 394846
URL: https://svnweb.freebsd.org/changeset/ports/394846

Log:
  devel/k8048: Fix pedantic-errors with clang 3.7.0 [1]
  
  - Fix patchfiles to be 'make makepatch' compatible
  
  PR:		202493 [1]
  Submitted by:	dim [1]

Added:
  head/devel/k8048/files/patch-Makefile   (contents, props changed)
  head/devel/k8048/files/patch-io.c   (contents, props changed)
Deleted:
  head/devel/k8048/files/patch-Src-Makefile

Added: head/devel/k8048/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/k8048/files/patch-Makefile	Thu Aug 20 10:40:49 2015	(r394846)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2014-10-31 11:52:38 UTC
++++ Makefile
+@@ -43,6 +43,8 @@ PLATFORM:=$(shell uname -m)
+ ifeq "$(SYSTEM)" "FreeBSD"
+  ifneq (,$(findstring 10.,$(RELEASE)))
+   CC=cc
++ else ifneq (,$(findstring 11.,$(RELEASE)))
++  CC=cc
+  else
+   CC=gcc
+  endif

Added: head/devel/k8048/files/patch-io.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/k8048/files/patch-io.c	Thu Aug 20 10:40:49 2015	(r394846)
@@ -0,0 +1,11 @@
+--- io.c.orig	2015-08-20 10:26:38 UTC
++++ io.c
+@@ -1123,7 +1123,7 @@ io_test_in(struct k8048 *k, int t1, int 
+ 
+ 	if (k->debug >= 10) {
+ 		fprintf(stderr, "%s(k, t1=%d, t2=%d, %p)\n",
+-			__func__, t1, t2, byte);
++			__func__, t1, t2, (void*)byte);
+ 	}
+ 
+ 	/* Get start bit */


More information about the svn-ports-all mailing list