summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/notecase/files/notecase-1.6.5-CFLAGS.patch')
-rw-r--r--app-text/notecase/files/notecase-1.6.5-CFLAGS.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/app-text/notecase/files/notecase-1.6.5-CFLAGS.patch b/app-text/notecase/files/notecase-1.6.5-CFLAGS.patch
new file mode 100644
index 000000000000..3611d49ef377
--- /dev/null
+++ b/app-text/notecase/files/notecase-1.6.5-CFLAGS.patch
@@ -0,0 +1,25 @@
+--- Makefile.orig 2007-08-31 13:29:17.000000000 +0200
++++ Makefile 2007-08-31 13:29:35.000000000 +0200
+@@ -97,13 +97,6 @@
+ QC=@echo '===> Compiling $<';
+ QL=@echo '===> Linking $@';
+
+-# using "--as-needed" to cut down link requirements (check by "readelf -d /usr/bin/notecase | grep NEEDED")
+-ifdef OSX_BUILD
+- LDFLAGS=-Os -Wl -bind_at_load
+-else
+- LDFLAGS=-Os -Wl,--as-needed
+-endif
+-
+ ifneq ($(NOKIA_MAEMO_BUILD),)
+ LDFLAGS += -ansi
+ endif
+@@ -139,7 +132,7 @@
+ $(OBJ)/IOProcess.o $(OBJ)/IOLayerZlib.o $(OBJ)/IOLayerFile64.o $(OBJ)/IOLayerBase.o \
+ $(OBJ)/IOLayerRedirect.o $(OBJ)/FileExportDlg.o $(OBJ)/FormatIOTxt.o $(OBJ)/FindReplaceDlg.o \
+ $(OBJ)/FindReplaceInfo.o $(OBJ)/LinkInfo.o $(OBJ)/LinkPropertiesDlg.o $(OBJ)/ExecuteFile.o \
+- $(OBJ)/FileSaveAsDlg.o $(OBJ)/CircularBuffer.o $(OBJ)/FormatIOMMLX.o $(OBJ)/libz.a $(OBJ)/ProgressDlg.o \
++ $(OBJ)/FileSaveAsDlg.o $(OBJ)/CircularBuffer.o $(OBJ)/FormatIOMMLX.o $(OBJ)/ProgressDlg.o \
+ $(OBJ)/DocActionPix.o $(OBJ)/DocActionFinish.o $(OBJ)/DocActionFmt.o $(OBJ)/FmtInfo.o $(OBJ)/FileAttachmentDlg.o \
+ $(OBJ)/DocActionAtt.o $(OBJ)/PixPropertiesDlg.o $(OBJ)/DocActionFinishDel.o $(OBJ)/ShortcutsList.o $(OBJ)/ShortcutsListDlg.o \
+ $(OBJ)/DateTimeDlg.o $(OBJ)/AboutDlg.o