Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2017 12:01:28 +0000 (UTC)
From:      Michael Reifenberger <mr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436075 - in head/cad/kicad-devel: . files
Message-ID:  <201703131201.v2DC1StH025673@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mr
Date: Mon Mar 13 12:01:28 2017
New Revision: 436075
URL: https://svnweb.freebsd.org/changeset/ports/436075

Log:
  Update to 20170312170442 and try to fix PR 217729 too.
  
  PR:		217729

Modified:
  head/cad/kicad-devel/Makefile
  head/cad/kicad-devel/Makefile.git_rev
  head/cad/kicad-devel/distinfo
  head/cad/kicad-devel/files/newVersion.sh
  head/cad/kicad-devel/files/patch-include-system-libcontext.h

Modified: head/cad/kicad-devel/Makefile
==============================================================================
--- head/cad/kicad-devel/Makefile	Mon Mar 13 11:07:50 2017	(r436074)
+++ head/cad/kicad-devel/Makefile	Mon Mar 13 12:01:28 2017	(r436075)
@@ -29,6 +29,7 @@ USE_GL=		glew glu gl
 USE_WX=		3.0
 WX_COMPS=	wx
 USE_GNOME=	atk cairo	# Required by libwx_gtk2_aui-2.8.so
+USE_XORG+=	pixman
 
 BROKEN_aarch64=		Fails to compile: use of undeclared identifier builtin_ia32_emms
 

Modified: head/cad/kicad-devel/Makefile.git_rev
==============================================================================
--- head/cad/kicad-devel/Makefile.git_rev	Mon Mar 13 11:07:50 2017	(r436074)
+++ head/cad/kicad-devel/Makefile.git_rev	Mon Mar 13 12:01:28 2017	(r436075)
@@ -1,2 +1,2 @@
-GIT_SRC_HASH=  a73abbfc314f0462d304c3b7e18941158116fb7f
-GIT_SRC_DATE=  20170308230210
+GIT_SRC_HASH=  28a6ca1e23904b080ef34cf9bc1fed91d2191cc9
+GIT_SRC_DATE=  20170312170442

Modified: head/cad/kicad-devel/distinfo
==============================================================================
--- head/cad/kicad-devel/distinfo	Mon Mar 13 11:07:50 2017	(r436074)
+++ head/cad/kicad-devel/distinfo	Mon Mar 13 12:01:28 2017	(r436075)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1489012995
-SHA256 (kicad/kicad-r20170308230210.tar.bz2) = 6abd7dbb60aa14e734e62195a974b73c4fcb7e626b5cfc7be7a6d8123bbacac9
-SIZE (kicad/kicad-r20170308230210.tar.bz2) = 221688625
+TIMESTAMP = 1489401968
+SHA256 (kicad/kicad-r20170312170442.tar.bz2) = 50de7ddf1c4390afaa62c29ed7682bff32e55fbf48391900b55212e7067b6bd5
+SIZE (kicad/kicad-r20170312170442.tar.bz2) = 221885144

Modified: head/cad/kicad-devel/files/newVersion.sh
==============================================================================
--- head/cad/kicad-devel/files/newVersion.sh	Mon Mar 13 11:07:50 2017	(r436074)
+++ head/cad/kicad-devel/files/newVersion.sh	Mon Mar 13 12:01:28 2017	(r436075)
@@ -8,10 +8,11 @@ CURDIR=`pwd`
 WRKDIR=`pwd`/work
 mkdir -p "${WRKDIR}"
 
-if [ \! -f "${WRKDIR}/master.zip" ]; then \
-  fetch --no-verify-peer -o ${WRKDIR}/master.zip https://github.com/KiCad/kicad-library/archive/master.zip
+if [ \! -d "${CURDIR}/kicad-library" ]; then
+ git clone https://github.com/KiCad/kicad-library.git "${CURDIR}/kicad-library";
 else
-  echo "master.zip already exists";
+  cd "${CURDIR}/kicad-library"
+  git pull;
 fi
 
 if [ \! -d "${CURDIR}/kicad-repo" ]; then
@@ -30,10 +31,12 @@ echo "$GIT_SRC_HASH, $GIT_SRC_DATE"
 echo "GIT_SRC_HASH=  ${GIT_SRC_HASH}"    > ${CURDIR}/Makefile.git_rev
 echo "GIT_SRC_DATE=  ${GIT_SRC_DATE}"   >> ${CURDIR}/Makefile.git_rev
 
+mkdir -p "${WRKDIR}/kicad-library-master"
 mkdir -p "${WRKDIR}/kicad-r${GIT_SRC_DATE}"
 cd "${CURDIR}/kicad-repo"
 find . -type d -name .git -prune -o -print | cpio -pdamuv "${WRKDIR}/kicad-r${GIT_SRC_DATE}";
+cd "${CURDIR}/kicad-library"
+find . -type d -name .git -prune -o -print | cpio -pdamuv "${WRKDIR}/kicad-library-master"
 cd "${WRKDIR}"
-tar xvf master.zip;
 tar cvfy /usr/ports/distfiles/kicad/kicad-r${GIT_SRC_DATE}.tar.bz2 \
   kicad-r${GIT_SRC_DATE} kicad-library-master

Modified: head/cad/kicad-devel/files/patch-include-system-libcontext.h
==============================================================================
--- head/cad/kicad-devel/files/patch-include-system-libcontext.h	Mon Mar 13 11:07:50 2017	(r436074)
+++ head/cad/kicad-devel/files/patch-include-system-libcontext.h	Mon Mar 13 12:01:28 2017	(r436075)
@@ -1,24 +1,21 @@
---- include/system/libcontext.h.orig	2017-03-08 13:29:09.028153000 +0100
-+++ include/system/libcontext.h	2017-03-08 13:31:22.843111000 +0100
-@@ -23,5 +23,5 @@
+--- include/system/libcontext.h.orig	2017-03-13 11:47:23.495919000 +0100
++++ include/system/libcontext.h	2017-03-13 11:51:12.678651000 +0100
+@@ -23,13 +23,15 @@
  
  
 -#if defined(__GNUC__) || defined(__APPLE__)
 +#if defined(__GNUC__) || defined(__APPLE__) || defined(__FreeBSD__)
  
      #define LIBCONTEXT_COMPILER_gcc
-@@ -55,5 +55,5 @@
- 	    #define LIBCONTEXT_CALL_CONVENTION __cdecl
- 	#endif
--    #elif defined(__APPLE__) && defined(__MACH__)
-+    #elif defined(__APPLE__) && defined(__MACH__) || defined(__FreeBSD__)
- 	#if defined (__i386__)
- 	    #define LIBCONTEXT_PLATFORM_apple_i386
-@@ -62,4 +62,7 @@
- 	    #define LIBCONTEXT_PLATFORM_apple_x86_64
+ 
+-    #if defined(__linux__)
++    #if defined(__linux__) || defined(__FreeBSD__)
+ 	#ifdef __x86_64__
+ 	    #define LIBCONTEXT_PLATFORM_linux_x86_64
  	    #define LIBCONTEXT_CALL_CONVENTION
-+	#elif defined (__amd64__)
-+	    #define LIBCONTEXT_PLATFORM_apple_x86_64
+-
++	#elif __amd64
++	    #define LIBCONTEXT_PLATFORM_linux_x86_64
 +	    #define LIBCONTEXT_CALL_CONVENTION
- 	#endif
-     #endif
+ 	#elif __i386__
+ 	    #define LIBCONTEXT_PLATFORM_linux_i386



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703131201.v2DC1StH025673>