[Libreoffice-commits] core.git: external/glew

Norbert Thiebaud nthiebaud at gmail.com
Mon May 2 07:59:51 UTC 2016


 external/glew/UnpackedTarball_glew.mk |    4 ++++
 external/glew/glew-tmpdir.patch.1     |   13 +++++++++++++
 2 files changed, 17 insertions(+)

New commits:
commit 7aa67d528b9f543fb61527cae7f0f487426cb414
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun May 1 23:51:47 2016 -0500

    glew: honor TMPDIR
    
    Change-Id: Id5c20ec78dcde0144bd7718b7e9825b92ed70f3f
    Reviewed-on: https://gerrit.libreoffice.org/24582
    Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
    Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>

diff --git a/external/glew/UnpackedTarball_glew.mk b/external/glew/UnpackedTarball_glew.mk
index 3b1a5a1..c47b7a0 100644
--- a/external/glew/UnpackedTarball_glew.mk
+++ b/external/glew/UnpackedTarball_glew.mk
@@ -41,4 +41,8 @@ $(eval $(call gb_UnpackedTarball_add_patches,glew,\
 ))
 endif
 
+$(eval $(call gb_UnpackedTarball_add_patches,glew,\
+	external/glew/glew-tmpdir.patch.1 \
+))
+
 # vim: set noet sw=4 ts=4:
diff --git a/external/glew/glew-tmpdir.patch.1 b/external/glew/glew-tmpdir.patch.1
new file mode 100644
index 0000000..9a2847b
--- /dev/null
+++ b/external/glew/glew-tmpdir.patch.1
@@ -0,0 +1,13 @@
+diff -ur glew.org/Makefile glew/Makefile
+--- glew.org/Makefile	2016-05-02 06:25:53.521291677 +0200
++++ glew/Makefile	2016-05-02 06:31:10.325035494 +0200
+@@ -55,7 +55,8 @@
+ DIST_SRC_TGZ ?= $(shell pwd)/$(DIST_NAME).tgz
+ DIST_WIN32   ?= $(shell pwd)/$(DIST_NAME)-win32.zip
+ 
+-DIST_DIR := $(shell mktemp -d /tmp/glew.XXXXXX)/$(DIST_NAME)
++TMPDIR ?= /tmp
++DIST_DIR := $(shell mktemp -d $(TMPDIR)/glew.XXXXXX)/$(DIST_NAME)
+ 
+ # To disable stripping of binaries either:
+ #   - use STRIP= on gmake command-line


More information about the Libreoffice-commits mailing list