Commits

Uelsk8s  committed a2e6805

add ntltool dep parcellite

  • Participants
  • Parent commits 96435c7

Comments (0)

Files changed (2)

File var/vabs/parcellite/src/parcellite.SlackBuild

 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS:-""} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"intltool"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1

File var/vabs/parcellite/src/patches/fix-crash.patch

+--- a/src/preferences.c.orig	2013-11-11 14:39:32.000000000 +0400
++++ b/src/preferences.c	2013-11-11 14:40:03.970776522 +0400
+@@ -381,7 +381,7 @@
+ 	}	
+ 	/**now go through and make sure we have no duplicates */
+ 	for (i=0;NULL != keylist[i].name; ++i){
+-		if(0 !=  keylist[i].keyval[0]){
++		if(NULL != keylist[i].keyval && 0 != keylist[i].keyval[0]){
+ 			/**see if it exists elsewhere  */
+ 			for (l=0;NULL != keylist[l].name; ++l){
+ 				if(l!=i && 0 != keylist[l].keyval[0]){