public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-im/licq/files/
@ 2017-01-09 21:12 Lars Wendler
  0 siblings, 0 replies; only message in thread
From: Lars Wendler @ 2017-01-09 21:12 UTC (permalink / raw
  To: gentoo-commits

commit:     353814b27d63c1144ee50610e4bb3e8336a66a02
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Jan  7 17:22:17 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jan  9 21:12:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=353814b2

net-im/licq: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/3368

 net-im/licq/files/licq-1.3.8-hebrew.patch      | 95 --------------------------
 net-im/licq/files/licq-1.3.8-memory_leak.patch |  9 ---
 2 files changed, 104 deletions(-)

diff --git a/net-im/licq/files/licq-1.3.8-hebrew.patch b/net-im/licq/files/licq-1.3.8-hebrew.patch
deleted file mode 100644
index a0fdb93..00000000
--- a/net-im/licq/files/licq-1.3.8-hebrew.patch
+++ /dev/null
@@ -1,95 +0,0 @@
---- configure
-+++ configure
-@@ -3283,7 +3283,7 @@
- 
- # Check whether --enable-hebrew was given.
- if test "${enable_hebrew+set}" = set; then :
--  enableval=$enable_hebrew; USE_HEBREW=yes
-+  enableval=$enable_hebrew; USE_HEBREW=$enableval
- else
-   USE_HEBREW=no
- fi
---- src/hebrev.c
-+++ src/hebrev.c
-@@ -48,6 +48,7 @@
- 	short int mode = 0, imode;
- 	const char *hmark = NULL, *lmark, *nmark, *nlmark;
- 	char ch;
-+  const char* srcstart = src;
- 
- 	if (src == NULL)
- 		return NULL;
-@@ -69,7 +70,7 @@
- 			if (*src == 0  ||  iseng(*src))
- 			{
- 				lmark = src-1;
--				while ((!isheb(*lmark)) && (!ispunct(*lmark))) lmark--;
-+				while (lmark > srcstart && !isheb(*lmark) && !ispunct(*lmark)) lmark--;
- 				src = lmark;
- 				imode = 0;
- 				nmark = NULL;
-@@ -114,6 +115,7 @@
- 				hmark = NULL;
- 				mode = 0;
- 			}
-+		if (*src == '\0') *dest = '\0';
- 		}
- 		if (!*src++)
- 			break;
-@@ -141,15 +143,16 @@
- 	char *temp=NULL, *tmp=NULL;
- 	char *arg=NULL, *arg2=NULL;
- 	int i=0;
-+	char* saveptr = NULL;
- 
- 	temp = (char*) malloc(strlen(input)+1);
- 	tmp = temp;
- 
- 	strcpy(temp, input);
- 
--	arg = strtok(temp, "\n");
-+	arg = strtok_r(temp, "\n", &saveptr);
- 	for(i = 0; (i < index) && (arg!=NULL); i++)
--		arg = strtok(NULL, "\n");
-+		arg = strtok_r(NULL, "\n", &saveptr);
- 
- 	if(arg != NULL)
- 	{
-@@ -164,6 +167,7 @@
- {
-         char* temp_str = NULL;
- 	char* temp = NULL;
-+	char* arg = NULL;
-         int i=0;
- 	int size = 0;
- 	if(src == NULL)
-@@ -172,21 +176,23 @@
- 	if((temp_str = (char*)malloc(strlen(src)+1))== NULL)
- 		return NULL;
- 
--	temp = GetArg(src, i);
--	while(temp != NULL)
-+	arg = GetArg(src, i);
-+	while(arg != NULL)
- 	{
- 		i++;
--		temp = hebrew(temp);
-+		temp = hebrew(arg);
-+		free(arg);
- 		memcpy(temp_str + size , temp, strlen(temp));
- 		size += strlen(temp) ;
- 		temp_str[size++] = '\n';
- 	
- 		free(temp);
- 		temp = NULL;
--		temp = GetArg(src, i);
-+		arg = GetArg(src, i);
- 	}
--	free(temp);
--	temp_str[size]= '\0';	
-+	// Above loop adds a line break after last line that wasn't there in src
-+	//   replace it with the null terminator
-+	temp_str[--size]= '\0';
- 	return temp_str;
- }
- 

diff --git a/net-im/licq/files/licq-1.3.8-memory_leak.patch b/net-im/licq/files/licq-1.3.8-memory_leak.patch
deleted file mode 100644
index 38ea9e0..00000000
--- a/net-im/licq/files/licq-1.3.8-memory_leak.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- src/user.cpp
-+++ src/user.cpp
-@@ -3631,6 +3631,7 @@
-     {
-       gLog.Error("%sUnable to open picture file (%s):\n%s%s.\n", L_ERRORxSTR,
-                                      szFilename, L_BLANKxSTR, strerror(errno));
-+      close(source);
-       return;
-     }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-09 21:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09 21:12 [gentoo-commits] repo/gentoo:master commit in: net-im/licq/files/ Lars Wendler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox