* [gentoo-commits] gentoo-x86 commit in net-misc/smbc/files: smbc-1.2.2-cflags.patch smbc-1.2.2-size_t.patch
@ 2009-04-28 17:13 Jeroen Roovers (jer)
0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers (jer) @ 2009-04-28 17:13 UTC (permalink / raw
To: gentoo-commits
jer 09/04/28 17:13:09
Added: smbc-1.2.2-cflags.patch smbc-1.2.2-size_t.patch
Log:
Convert to EAPI=2. Run autoreconf. Do not DEPEND on system packages. Set RDEPEND. Use CFLAGS. Remove separator comments. Apply Debian patch to build on amd64. Marked ~hppa too.
(Portage version: 2.2_rc31/cvs/Linux i686)
Revision Changes Path
1.1 net-misc/smbc/files/smbc-1.2.2-cflags.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-cflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-cflags.patch?rev=1.1&content-type=text/plain
Index: smbc-1.2.2-cflags.patch
===================================================================
Do not define CFLAGS
--- smbc-1.2.2/src/Makefile.am.orig 2005-06-29 14:14:02.000000000 +0200
+++ smbc-1.2.2/src/Makefile.am 2009-04-28 18:18:26.000000000 +0200
@@ -18,7 +18,7 @@
smb-ext.c smb-ext.h
smbc_CFLAGS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wall
-CFLAGS = -O3
+#CFLAGS = -O3
if GDB
smbc_CFLAGS += -ggdb -g
1.1 net-misc/smbc/files/smbc-1.2.2-size_t.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-size_t.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-size_t.patch?rev=1.1&content-type=text/plain
Index: smbc-1.2.2-size_t.patch
===================================================================
Patch to enable running on amd64 (borrowed from http://bugs.debian.org/366580)
--- smbc-1.2.2.orig/src/convert.c
+++ smbc-1.2.2/src/convert.c
@@ -98,8 +98,9 @@
char *inbuf = (char*) src;
char *outbuf = param->dst;
- int inbytesleft = src_len - 1;
- int outbytesleft = param->dst_len - 1;
+ /* iconv requires size_t and not int ! */
+ size_t inbytesleft = src_len - 1;
+ size_t outbytesleft = param->dst_len - 1;
bzero(param->dst, param->dst_len);
// Need some error handling here
iconv(param->cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-misc/smbc/files: smbc-1.2.2-cflags.patch smbc-1.2.2-size_t.patch
@ 2011-01-22 17:40 Jeroen Roovers (jer)
0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers (jer) @ 2011-01-22 17:40 UTC (permalink / raw
To: gentoo-commits
jer 11/01/22 17:40:30
Modified: smbc-1.2.2-cflags.patch smbc-1.2.2-size_t.patch
Log:
Clean up patches.
(Portage version: 2.2.0_alpha19/cvs/Linux i686)
Revision Changes Path
1.2 net-misc/smbc/files/smbc-1.2.2-cflags.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-cflags.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-cflags.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-cflags.patch?r1=1.1&r2=1.2
Index: smbc-1.2.2-cflags.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-cflags.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- smbc-1.2.2-cflags.patch 28 Apr 2009 17:13:09 -0000 1.1
+++ smbc-1.2.2-cflags.patch 22 Jan 2011 17:40:30 -0000 1.2
@@ -1,7 +1,7 @@
Do not define CFLAGS
---- smbc-1.2.2/src/Makefile.am.orig 2005-06-29 14:14:02.000000000 +0200
-+++ smbc-1.2.2/src/Makefile.am 2009-04-28 18:18:26.000000000 +0200
+--- a/src/Makefile.am 2005-06-29 14:14:02.000000000 +0200
++++ b/src/Makefile.am 2009-04-28 18:18:26.000000000 +0200
@@ -18,7 +18,7 @@
smb-ext.c smb-ext.h
1.2 net-misc/smbc/files/smbc-1.2.2-size_t.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-size_t.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-size_t.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-size_t.patch?r1=1.1&r2=1.2
Index: smbc-1.2.2-size_t.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/smbc/files/smbc-1.2.2-size_t.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- smbc-1.2.2-size_t.patch 28 Apr 2009 17:13:09 -0000 1.1
+++ smbc-1.2.2-size_t.patch 22 Jan 2011 17:40:30 -0000 1.2
@@ -1,7 +1,7 @@
Patch to enable running on amd64 (borrowed from http://bugs.debian.org/366580)
---- smbc-1.2.2.orig/src/convert.c
-+++ smbc-1.2.2/src/convert.c
+--- a/src/convert.c
++++ b/src/convert.c
@@ -98,8 +98,9 @@
char *inbuf = (char*) src;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-22 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-22 17:40 [gentoo-commits] gentoo-x86 commit in net-misc/smbc/files: smbc-1.2.2-cflags.patch smbc-1.2.2-size_t.patch Jeroen Roovers (jer)
-- strict thread matches above, loose matches on Subject: below --
2009-04-28 17:13 Jeroen Roovers (jer)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox