mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
9fec22bd72
- Support stage [3] - Switch to options helpers - Update patches, and rename them to follow makepatch naming maintainer timeout [1] [2] [3] -> take over maintainership PR: ports/184150 [1], ports/187117 [2], ports/189615 [3] Submitted by: Ryan Frederick [1], Jean-Sébastien Pédron [2], Ryan Frederick [3] Sponsored by: Absolight
21 lines
799 B
C
21 lines
799 B
C
--- ./src/url.c.orig 2013-11-24 20:24:26.000000000 +0100
|
|
+++ ./src/url.c 2014-05-23 00:34:33.000000000 +0200
|
|
@@ -174,7 +174,7 @@
|
|
CURLcode res;
|
|
char *file = url_getfilename(url);
|
|
char *filename = unreal_getfilename(file);
|
|
- char *tmp = unreal_mktemp("tmp", filename ? filename : "download.conf");
|
|
+ char *tmp = unreal_mktemp("%%RUNDIR%%/tmp", filename ? filename : "download.conf");
|
|
FILE *fd;
|
|
|
|
|
|
@@ -359,7 +359,7 @@
|
|
{
|
|
char *file = url_getfilename(url);
|
|
char *filename = unreal_getfilename(file);
|
|
- char *tmp = unreal_mktemp("tmp", filename ? filename : "download.conf");
|
|
+ char *tmp = unreal_mktemp("%%RUNDIR%%/tmp", filename ? filename : "download.conf");
|
|
FileHandle *handle = MyMallocEx(sizeof(FileHandle));
|
|
handle->fd = fopen(tmp, "wb");
|
|
if (!handle->fd)
|