Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2012 17:46:24 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307719 - in head/x11/kdebase3: . files
Message-ID:  <201211241746.qAOHkOi4096184@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sat Nov 24 17:46:24 2012
New Revision: 307719
URL: http://svnweb.freebsd.org/changeset/ports/307719

Log:
  - Fix build with clang [1]
  - Fix plist problems when building with clang
  
  PR:		ports/172103 [1]
  Submitted by:	Oliver Pinter <oliver.pntr@gmail.com>
  Feature safe:	yes

Added:
  head/x11/kdebase3/files/patch-kicker-applet-launcher-easyvector.h   (contents, props changed)
Modified:
  head/x11/kdebase3/Makefile
  head/x11/kdebase3/files/patch-configure

Modified: head/x11/kdebase3/Makefile
==============================================================================
--- head/x11/kdebase3/Makefile	Sat Nov 24 17:42:16 2012	(r307718)
+++ head/x11/kdebase3/Makefile	Sat Nov 24 17:46:24 2012	(r307719)
@@ -114,6 +114,8 @@ post-configure:
 		${WRKSRC}/kappfinder/apps/Graphics/ElectricEyes.desktop
 	${REINPLACE_CMD} -e 's/444/644/g' \
 		${WRKSRC}/kdesktop/init/Templates/Makefile
+	${REINPLACE_CMD} -e 's|-fno-exceptions||' \
+		${WRKSRC}/kioslave/thumbnail/Makefile
 
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/freebsd.keytab ${PREFIX}/share/apps/konsole/

Modified: head/x11/kdebase3/files/patch-configure
==============================================================================
--- head/x11/kdebase3/files/patch-configure	Sat Nov 24 17:42:16 2012	(r307718)
+++ head/x11/kdebase3/files/patch-configure	Sat Nov 24 17:46:24 2012	(r307719)
@@ -1,6 +1,6 @@
---- configure.orig	2008-01-18 16:57:45.000000000 +0100
-+++ configure	2008-01-18 16:58:02.000000000 +0100
-@@ -51622,7 +51622,7 @@
+--- configure.orig	2008-08-20 18:01:56.000000000 +0200
++++ configure	2012-11-24 17:08:09.000000000 +0100
+@@ -51800,7 +51800,7 @@
  
              { echo "$as_me:$LINENO: checking HAL_LIBS" >&5
  echo $ECHO_N "checking HAL_LIBS... $ECHO_C" >&6; }
@@ -9,3 +9,18 @@
              { echo "$as_me:$LINENO: result: $HAL_LIBS" >&5
  echo "${ECHO_T}$HAL_LIBS" >&6; }
          else
+@@ -53193,11 +53193,11 @@
+ 
+             ac_ext=cpp
+ ac_cpp='$CXXCPP $CPPFLAGS'
+-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++ac_compile='$CXX -c $CXXFLAGS $USE_EXCEPTIONS $CPPFLAGS conftest.$ac_ext >&5'
++ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $USE_EXCEPTIONS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+ 
+-ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
++ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $USE_EXCEPTIONS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+ 
+ 
+            kde_save_CXXFLAGS="$CXXFLAGS"

Added: head/x11/kdebase3/files/patch-kicker-applet-launcher-easyvector.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/kdebase3/files/patch-kicker-applet-launcher-easyvector.h	Sat Nov 24 17:46:24 2012	(r307719)
@@ -0,0 +1,29 @@
+--- kicker/applets/launcher/easyvector.h.orig	2012-11-24 11:38:20.000000000 +0100
++++ kicker/applets/launcher/easyvector.h	2012-11-24 11:39:40.000000000 +0100
+@@ -87,7 +87,7 @@
+ template < class VALUE, bool CHECKINDEX >
+ void EasyVector< VALUE, CHECKINDEX >::eraseAt(Index index)
+ {   _checkIndex(index);
+-    erase(this->begin()+index);
++    this->erase(this->begin()+index);
+ }
+ 
+ 
+@@ -108,7 +108,7 @@
+         this->push_back(value);
+         return;
+     }
+-    insert(this->begin()+index,value);
++    this->insert(this->begin()+index,value);
+ }
+ 
+ 
+@@ -116,7 +116,7 @@
+ void EasyVector< VALUE, CHECKINDEX >::insertAt(EasyVector< VALUE, CHECKINDEX >::Index index,const EasyVector< VALUE, CHECKINDEX > &v)
+ {   index=_convertInsertIndex(index);
+     _checkInsertIndex(index);
+-    insert(this->begin()+index,v.begin(),v.end());
++    this->insert(this->begin()+index,v.begin(),v.end());
+ }
+ 
+ 



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