summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2005-12-28 09:56:34 +0000
committerBryan Østergaard <kloeri@gentoo.org>2005-12-28 09:56:34 +0000
commite2d4ebc07e841d702b83535712346c563e871ed7 (patch)
tree6fdb88624efca1f20c589177c29caae0638b046c /net-misc/scponly/files
parentNo more unaligned access on hppa. Marking stable. (diff)
downloadhistorical-e2d4ebc07e841d702b83535712346c563e871ed7.tar.gz
historical-e2d4ebc07e841d702b83535712346c563e871ed7.tar.bz2
historical-e2d4ebc07e841d702b83535712346c563e871ed7.zip
Bump to 4.3, bug 116526.
Package-Manager: portage-2.0.53
Diffstat (limited to 'net-misc/scponly/files')
-rw-r--r--net-misc/scponly/files/digest-scponly-4.31
-rw-r--r--net-misc/scponly/files/scponly-4.3-getopt.patch27
2 files changed, 28 insertions, 0 deletions
diff --git a/net-misc/scponly/files/digest-scponly-4.3 b/net-misc/scponly/files/digest-scponly-4.3
new file mode 100644
index 000000000000..86b72bbb8528
--- /dev/null
+++ b/net-misc/scponly/files/digest-scponly-4.3
@@ -0,0 +1 @@
+MD5 2cef26fe5ed740031a067f189c293e77 scponly-4.3.tgz 94889
diff --git a/net-misc/scponly/files/scponly-4.3-getopt.patch b/net-misc/scponly/files/scponly-4.3-getopt.patch
new file mode 100644
index 000000000000..bed8ea86dd5d
--- /dev/null
+++ b/net-misc/scponly/files/scponly-4.3-getopt.patch
@@ -0,0 +1,27 @@
+--- scponly-4.3/helper.c.orig 2005-12-28 10:23:28.000000000 +0100
++++ scponly-4.3/helper.c 2005-12-28 10:25:21.000000000 +0100
+@@ -39,7 +39,9 @@
+
+ extern char *optarg;
+ extern int optind;
++#ifdef HAVE_OPTRESET
+ extern int optreset;
++#endif
+
+ #ifdef UNIX_COMPAT
+ char* solaris_needs_strsep(char** str, char* delims)
+@@ -160,8 +162,14 @@
+ * now use getopt to look for our problem option
+ */
+ #ifdef HAVE_GETOPT
++#ifdef HAVE_OPTRESET
+ optreset=1;
++#endif
++#ifdef __GLIBC__
++ optind=0;
++#else
+ optind=1;
++#endif
+ /*
+ * tell getopt to only be strict if the 'opts' is well defined
+ */