| 1 |
Descriptionscip-debian debian e2ps 4.34-7 e2ps/patches/fix-makefile#Description.: - Fix upstream Makefile and add hardening. |
| 2 |
Authorscip-debian debian e2ps 4.34-7 e2ps/patches/fix-makefile#Author.: Giovani Agusuto Ferreira <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
Last-Updatescip-debian debian e2ps 4.34-7 e2ps/patches/fix-makefile#Last-Update.: 2015-10-15 |
| 4 |
Index: e2ps-4.34/Makefilescip-debian debian e2ps 4.34-7 e2ps/upstream/`e2ps-4.34/Makefile`: |
| 5 |
=================================================================== |
| 6 |
--- e2ps-4.34.orig/Makefilescip-debian debian e2ps 4.34-7 e2ps/upstream/`e2ps-4.34.orig/Makefile`: |
| 7 |
+++ e2ps-4.34/Makefile |
| 8 |
@@ -60,7 +60,7 @@ CC_LIB = |
| 9 |
# strip command |
| 10 |
STRIP = strip |
| 11 |
|
| 12 |
|
| 13 |
+CFLAGS += $(CC_ARGS) $(DEFINES) $(CC_LIB) |
| 14 |
|
| 15 |
SRC = e2ps.c ps-font.c wtkf.c |
| 16 |
OBJ = e2ps.o ps-font.o wtkf.o |
| 17 |
@@ -76,9 +76,9 @@ readme: |
| 18 |
|
| 19 |
install: e2ps |
| 20 |
cp e2ps $(E2PS_INST_DIR) |
| 21 |
|
| 22 |
|
| 23 |
+# @if [ -f $(E2PS_INST_DIR)/e2lpr ]; then rm $(E2PS_INST_DIR)/e2lpr; fi |
| 24 |
+# ln -s $(E2PS_INST_DIR)/e2ps $(E2PS_INST_DIR)/e2lpr |
| 25 |
|
| 26 |
e2ps: $(OBJ) |
| 27 |
|
| 28 |
|
| 29 |
+ $(CC) -o $@ $(OBJ) $(CFLAGS) $(LDFLAGS) -lpaper |
| 30 |
+# $(STRIP) $@ |