summaryrefslogtreecommitdiff
path: root/archivers/hpack.non-usa.only/files/patch-cli.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-27 15:27:04 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-27 15:27:04 +0000
commite2aedd8abd3ca3fb06e9a7ca9ccb01278ff31386 (patch)
tree6f70fd9588858cfa314056ee54c090493d3fcc75 /archivers/hpack.non-usa.only/files/patch-cli.c
parentdevel/py-nose: Update to 1.3.3, Fix tests (diff)
Start cleaning up some of the uselessly ambigious patches named
patch-xy, and giving them proper names.
Diffstat (limited to 'archivers/hpack.non-usa.only/files/patch-cli.c')
-rw-r--r--archivers/hpack.non-usa.only/files/patch-cli.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/archivers/hpack.non-usa.only/files/patch-cli.c b/archivers/hpack.non-usa.only/files/patch-cli.c
new file mode 100644
index 000000000000..92f804937070
--- /dev/null
+++ b/archivers/hpack.non-usa.only/files/patch-cli.c
@@ -0,0 +1,23 @@
+--- cli.c.orig Sat Sep 4 22:23:48 1993
++++ cli.c Tue Dec 28 20:01:38 1999
+@@ -724,12 +724,18 @@
+
+ void doConfigFile( void )
+ {
+- char *configFileName;
++ char *configFileName, *s;
+ FD configFileFD;
+ WORD oldFlags = flags;
+
++ if (( s = getenv( HPACKPATH )) == NULL)
++#ifdef __UNIX__
++ s = "%%PREFIX%%/etc:%%PREFIX%%/lib/hpack";
++#else
++ ;
++#endif
+ /* Build path to config file and try and process it */
+- configFileName = getFirstKeyPath( getenv( HPACKPATH ), CONFIGFILENAME );
++ configFileName = getFirstKeyPath( s, CONFIGFILENAME );
+ while( configFileName != NULL )
+ {
+ /* Try and read the seed from the seedfile */