--- gedit-2.18.1.orig/plugins/externaltools/data/Makefile.in 2007-04-10 05:00:01.000000000 -0400 +++ gedit-2.18.1/plugins/externaltools/data/Makefile.in 2007-07-05 20:39:29.000000000 -0400 @@ -468,7 +468,7 @@ # (.desktop), which happens to be translated using intltool. $(tools_SCRIPTS): %: %.tool.in %.desktop $(TOOL_MERGE) perl $(TOOL_MERGE) -o $@ $< $(word 2,$^) - chmod --reference=$< $@ + chmod 0755 $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: --- gedit-2.18.1.orig/plugins/externaltools/data/Makefile.am.orig 2007-09-15 15:26:32 +0100 +++ gedit-2.18.1.orig/plugins/externaltools/data/Makefile.am 2007-09-15 15:40:09 +0100 @@ -17,7 +17,7 @@ # (.desktop), which happens to be translated using intltool. $(tools_SCRIPTS): %: %.tool.in %.desktop $(TOOL_MERGE) perl $(TOOL_MERGE) -o $@ $< $(word 2,$^) - chmod --reference=$< $@ + chmod 0755 $@ EXTRA_DIST = \ $(desktop_in_files) \