summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Brewer (Gentoo Key) <tomboy64@sina.cn>2016-04-30 09:56:35 +0200
committerGöktürk Yüksek <gokturk@gentoo.org>2016-08-07 21:34:01 -0400
commit926306e30a97823ca59c5a12d63e67f241ae3f36 (patch)
treec42f08210f3a4c834ec94812edbf17c19c78e497 /media-gfx/curaengine/files
parentmedia-gfx/cura: new version 0.15.04.5_rc5 (legacy) (diff)
downloadgentoo-926306e30a97823ca59c5a12d63e67f241ae3f36.tar.gz
gentoo-926306e30a97823ca59c5a12d63e67f241ae3f36.tar.bz2
gentoo-926306e30a97823ca59c5a12d63e67f241ae3f36.zip
media-gfx/curaengine: new version 0.15.04.6 (legacy)
based on the original ebuild by _AxS_ Package-Manager: portage-2.2.28
Diffstat (limited to 'media-gfx/curaengine/files')
-rw-r--r--media-gfx/curaengine/files/curaengine-0.15.04.6-cflags.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-gfx/curaengine/files/curaengine-0.15.04.6-cflags.patch b/media-gfx/curaengine/files/curaengine-0.15.04.6-cflags.patch
new file mode 100644
index 000000000000..9807301e462c
--- /dev/null
+++ b/media-gfx/curaengine/files/curaengine-0.15.04.6-cflags.patch
@@ -0,0 +1,27 @@
+diff --git a/Makefile b/Makefile
+index 32fa704..c426ef8 100644
+--- a/Makefile
++++ b/Makefile
+@@ -18,9 +18,9 @@ endif
+ ifeq ($(BUILD_TYPE),PROFILE)
+ CFLAGS+= -pg
+ endif
+-ifeq ($(BUILD_TYPE),RELEASE)
+- CFLAGS+= -O3 -fomit-frame-pointer
+-endif
++#ifeq ($(BUILD_TYPE),RELEASE)
++# CFLAGS+= -O3 -fomit-frame-pointer
++#endif
+
+ LDFLAGS += -Lbuild/ -lclipper
+
+# By courtesy of Whissi: this enforces use of our CXXFLAGS
+@@ -70,7 +70,7 @@ $(BUILD_DIR)/libclipper.a: $(LIBS_DIR)/clipper/clipper.cpp
+ $(CXX) $(CFLAGS) -o $(BUILD_DIR)/libclipper.a $(LIBS_DIR)/clipper/clipper.cpp
+
+ $(EXECUTABLE): $(OBJECTS) $(BUILD_DIR)/libclipper.a
+- $(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) -o $@
+
+ $(DIRS):
+ -@$(MKDIR_PREFIX) $(DIRS)