summaryrefslogtreecommitdiff
path: root/scite/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'scite/debian/patches')
-rw-r--r--scite/debian/patches/0003-reproducible_build.patch8
-rw-r--r--scite/debian/patches/0007-Build-with-Debian-packaged-Lua.patch6
2 files changed, 7 insertions, 7 deletions
diff --git a/scite/debian/patches/0003-reproducible_build.patch b/scite/debian/patches/0003-reproducible_build.patch
index 0a8ce2a..ae3715f 100644
--- a/scite/debian/patches/0003-reproducible_build.patch
+++ b/scite/debian/patches/0003-reproducible_build.patch
@@ -9,12 +9,12 @@ Subject: Allow reproducible build
--- a/scite/src/Credits.cxx
+++ b/scite/src/Credits.cxx
-@@ -601,7 +601,7 @@
+@@ -615,7 +615,7 @@
}
- AddStyledText(wsci, GetTranslationToAbout("Version").c_str(), trsSty);
- AddStyledText(wsci, sVersion.c_str(), 1);
+ AddStyledText(wsci, GetTranslationToAbout("Version"), trsSty);
+ AddStyledText(wsci, sVersion, 1);
- AddStyledText(wsci, " " __DATE__ " " __TIME__ "\n", 1);
+ AddStyledText(wsci, " " BUILD_DATE "\n", 1);
SetAboutStyle(wsci, 2, ColourRGB(0, 0, 0));
wsci.StyleSetItalic(2, true);
- AddStyledText(wsci, GetTranslationToAbout("by").c_str(), trsSty);
+ AddStyledText(wsci, GetTranslationToAbout("by"), trsSty);
diff --git a/scite/debian/patches/0007-Build-with-Debian-packaged-Lua.patch b/scite/debian/patches/0007-Build-with-Debian-packaged-Lua.patch
index 0e5e8df..29e40a0 100644
--- a/scite/debian/patches/0007-Build-with-Debian-packaged-Lua.patch
+++ b/scite/debian/patches/0007-Build-with-Debian-packaged-Lua.patch
@@ -10,7 +10,7 @@ Forwarded: not-needed
--- a/scite/gtk/deps.mak
+++ b/scite/gtk/deps.mak
-@@ -265,11 +265,7 @@
+@@ -267,11 +267,7 @@
../src/Extender.h \
../src/IFaceTable.h \
../src/SciTEKeys.h \
@@ -40,7 +40,7 @@ Forwarded: not-needed
ifdef gnomeprefix
@@ -72,28 +72,6 @@
DEFINES += -D$(if $(DEBUG),DEBUG,NDEBUG)
- BASE_FLAGS += $(if $(DEBUG),-g,-Os)
+ BASE_FLAGS += $(if $(DEBUG),-g,-O3)
-ifndef NO_LUA
-LUA_CORE_OBJS = lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
@@ -67,7 +67,7 @@ Forwarded: not-needed
LIBS += -lm -lstdc++
UNAME:=$(shell uname -s)
-@@ -154,7 +132,7 @@
+@@ -155,7 +133,7 @@
StyleWriter.o \
Utf8_16.o
bgstack15