Modify

Opened 11 years ago

Closed 11 years ago

#1857 closed defect (fixed)

pypcap won't build

Reported by: andreas@… Owned by: developers
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

the pypcap package won't build as patch cannot find the file to patch when running package/pypcap/patches/000-no_cpickle.patch

The easyfix is adding the version component to the build_dir

diff -uNr package/pypcap/Makefile.orig package/pypcap/Makefile
--- package/pypcap/Makefile.orig        2007-06-09 13:38:44.000000000 +0200
+++ package/pypcap/Makefile     2007-06-09 13:38:38.000000000 +0200
@@ -8,7 +8,7 @@
 PKG_SOURCE_URL:=http://pypcap.googlecode.com/files
 PKG_CAT:=zcat

-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME}-${PKG_VERSION}
 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install

 include $(INCLUDE_DIR)/package.mk

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by anonymous

it's easier if you create diffs or patches with 'svn diff packages/net/pypcap' > filename.patch and attache the file to the ticket.

comment:2 Changed 11 years ago by andreas@…

Well, next time.

However, please note that the patch above contains three typos. The changed line has curly braces but should have normal braces.

comment:3 Changed 11 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Applied in [7554], thanks !

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.