pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

frida-capstone: fix bug in patch that overrode CFLAGS/LDFLAGS



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Mon Mar 19 17:30:04 2018 +0100
Changeset:	57c95858633061d23b89ef526170ff449a27bf2b

Modified Files:
	frida-capstone/distinfo
	frida-capstone/patches/patch-cstool_Makefile

Log Message:
frida-capstone: fix bug in patch that overrode CFLAGS/LDFLAGS

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=57c95858633061d23b89ef526170ff449a27bf2b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 frida-capstone/distinfo                      | 2 +-
 frida-capstone/patches/patch-cstool_Makefile | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs:
diff --git a/frida-capstone/distinfo b/frida-capstone/distinfo
index 44f63ccea3..2563e8dcf3 100644
--- a/frida-capstone/distinfo
+++ b/frida-capstone/distinfo
@@ -4,4 +4,4 @@ SHA1 (capstone-2.1.2-a1a383436ba147767af1887c2015e5a863359669.tar.gz) = 9726c566
 RMD160 (capstone-2.1.2-a1a383436ba147767af1887c2015e5a863359669.tar.gz) = 4437947293611f565c2d10f8e8e020bb0749e6f3
 SHA512 (capstone-2.1.2-a1a383436ba147767af1887c2015e5a863359669.tar.gz) = 870ee89eabcd2235e4cc47af52311fc9776f56ca56e88c04fb508969c0a5c4b389931668f61f8024307539edec212fdd96dffd8242d96aa4c12d05fe4d333dfe
 Size (capstone-2.1.2-a1a383436ba147767af1887c2015e5a863359669.tar.gz) = 2886456 bytes
-SHA1 (patch-cstool_Makefile) = 94c029a1f667ceffad787f056c332c11001344df
+SHA1 (patch-cstool_Makefile) = fc8820107823fa55d97b4d3696c0429117cca32c
diff --git a/frida-capstone/patches/patch-cstool_Makefile b/frida-capstone/patches/patch-cstool_Makefile
index 79e2f8684d..d13fcc72e7 100644
--- a/frida-capstone/patches/patch-cstool_Makefile
+++ b/frida-capstone/patches/patch-cstool_Makefile
@@ -2,7 +2,7 @@ $NetBSD: patch-cstool_Makefile,v 1.1 2018/02/23 02:42:06 khorben Exp $
 
 Fix path to the libraries installed.
 
---- cstool/Makefile.orig	2017-03-02 14:21:24.000000000 +0000
+--- cstool/Makefile.orig	2017-08-21 23:42:08.000000000 +0000
 +++ cstool/Makefile
 @@ -6,8 +6,10 @@ include ../functions.mk
  
@@ -12,8 +12,8 @@ Fix path to the libraries installed.
 -LDFLAGS = -O3 -Wall -L.. -l$(LIBNAME)
 +PREFIX ?= /usr
 +LIBDIRARCH ?= lib
-+CFLAGS = -I../include -O3 -Wall
-+LDFLAGS = -Wl,-rpath,$(PREFIX)/$(LIBDIRARCH) -L.. -l$(LIBNAME)
++CFLAGS += -I../include -O3 -Wall
++LDFLAGS += -Wl,-rpath,$(PREFIX)/$(LIBDIRARCH) -L.. -l$(LIBNAME)
  
  TARGET = cstool
  SOURCES := $(wildcard *.c)


Home | Main Index | Thread Index | Old Index